git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
193e3f2
)
Further refine the time_audit warning message
author
Volker Lendecke
<vl@samba.org>
Wed, 28 Jul 2010 15:02:43 +0000
(17:02 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 28 Jul 2010 15:03:28 +0000
(17:03 +0200)
source3/modules/vfs_time_audit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_time_audit.c
b/source3/modules/vfs_time_audit.c
index 3a471d6d4de6b288344f94d06c3c16a1d83459ce..31a8cdbf3d38350ae33a6890a0466669cab12a1e 100644
(file)
--- a/
source3/modules/vfs_time_audit.c
+++ b/
source3/modules/vfs_time_audit.c
@@
-32,10
+32,11
@@
static double audit_timeout;
static double audit_timeout;
-static void smb_time_audit_log(const char *syscall, double elapsed)
+static void smb_time_audit_log(const char *syscall
name
, double elapsed)
{
{
- DEBUG(0, ("System call \"%s\" took unexpectedly long (%.2f seconds) "
- "-- check your file system and disks!\n", syscall,
+ DEBUG(0, ("WARNING: System call \"%s\" took unexpectedly long "
+ "(%.2f seconds) -- Validate that file and storage "
+ "subsystems are operating normally\n", syscallname,
elapsed));
}
elapsed));
}