summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-03-31 12:25:58 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-01 00:12:25 +0530
commitc8ddd2588ae7d9890b2d30fd1dadc6f9b054d7f4 (patch)
treeaaf9a5e4df89c47f65bea6592223e432607e4084
parent9922b37658d7d996321382c5157bf33bbbb1330d (diff)
log message changes in mount/fuse for SETLK, GETLK, GETXATTR, SETXATTR fops
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 17762da17..01068c4c4 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -908,8 +908,11 @@ fuse_err_cbk (call_frame_t *frame,
if (op_errno == ENOTSUP) {
gf_fuse_xattr_enotsup_log++;
if (!(gf_fuse_xattr_enotsup_log % GF_UNIVERSAL_ANSWER))
- gf_log ("glusterfs-fuse", GF_LOG_CRITICAL,
- "[ ERROR ] Extended attribute not supported by the backend storage");
+ gf_log ("glusterfs-fuse",
+ GF_LOG_CRITICAL,
+ "extended attribute not "
+ "supported by the backend "
+ "storage");
}
} else {
if ((frame->root->op == GF_FOP_REMOVEXATTR)
@@ -2151,7 +2154,9 @@ fuse_xattr_cbk (call_frame_t *frame,
gf_fuse_xattr_enotsup_log++;
if (!(gf_fuse_xattr_enotsup_log % GF_UNIVERSAL_ANSWER))
gf_log ("glusterfs-fuse", GF_LOG_ERROR,
- "[ ERROR ] Extended attribute not supported by the backend storage");
+ "extended attribute not "
+ "supported by the backend "
+ "storage");
}
else
{
@@ -2312,7 +2317,9 @@ fuse_getlk_cbk (call_frame_t *frame,
gf_fuse_lk_enosys_log++;
if (!(gf_fuse_lk_enosys_log % GF_UNIVERSAL_ANSWER)) {
gf_log ("glusterfs-fuse", GF_LOG_ERROR,
- "[ ERROR ] loading 'features/posix-locks' on server side may help your application");
+ "GETLK not supported. loading "
+ "'features/posix-locks' on server side "
+ "will add GETLK support.");
}
} else {
gf_log ("glusterfs-fuse", GF_LOG_ERROR,
@@ -2372,7 +2379,9 @@ fuse_setlk_cbk (call_frame_t *frame,
gf_fuse_lk_enosys_log++;
if (!(gf_fuse_lk_enosys_log % GF_UNIVERSAL_ANSWER)) {
gf_log ("glusterfs-fuse", GF_LOG_ERROR,
- "[ ERROR ] loading 'features/posix-locks' on server side may help your application");
+ "SETLK not supported. loading "
+ "'features/posix-locks' on server side "
+ "will add SETLK support.");
}
} else {
gf_log ("glusterfs-fuse",