From c8ddd2588ae7d9890b2d30fd1dadc6f9b054d7f4 Mon Sep 17 00:00:00 2001 From: Basavanagowda Kanur Date: Tue, 31 Mar 2009 12:25:58 +0530 Subject: log message changes in mount/fuse for SETLK, GETLK, GETXATTR, SETXATTR fops Signed-off-by: Anand V. Avati --- xlators/mount/fuse/src/fuse-bridge.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'xlators/mount') 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", -- cgit