summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrutika Dhananjay <[email protected]>2017-04-20 10:17:07 +0530
committerRaghavendra G <[email protected]>2017-04-30 08:35:47 +0000
commitef60a29703f520c5bd06467efc4a0d0a33552a06 (patch)
tree9e96ad65ea7ac52bf60ec4704c25f01235d0960d
parentd51288540241d1f7785bb17bdc0702c0879087a9 (diff)
downloadglusterfs-ef60a29703f520c5bd06467efc4a0d0a33552a06.tar.gz
glusterfs-ef60a29703f520c5bd06467efc4a0d0a33552a06.tar.xz
glusterfs-ef60a29703f520c5bd06467efc4a0d0a33552a06.zip
mount/fuse: Replace GF_LOG_OCCASIONALLY with gf_log() to report fop failure at all times
Change-Id: Ibd8e1c6172812951092ff6097ba4bed943051b7c BUG: 1440051 Signed-off-by: Krutika Dhananjay <[email protected]> Reviewed-on: https://review.gluster.org/17086 Smoke: Gluster Build System <[email protected]> NetBSD-regression: NetBSD Build System <[email protected]> CentOS-regression: Gluster Build System <[email protected]> Reviewed-by: Raghavendra Bhat <[email protected]>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 7056b6fd16..6b3b45999b 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -20,7 +20,6 @@
#undef open /* in perfuse.h, pulled from mount-gluster-compat.h */
#endif
-static int gf_fuse_conn_err_log;
static int gf_fuse_xattr_enotsup_log;
void fini (xlator_t *this_xl);
@@ -794,10 +793,8 @@ fuse_attr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
return 0;
}
- GF_LOG_OCCASIONALLY ( gf_fuse_conn_err_log, "glusterfs-fuse",
- GF_LOG_WARNING,
- "%"PRIu64": %s() %s => -1 (%s)",
- frame->root->unique,
+ gf_log ("glusterfs-fuse", GF_LOG_WARNING, "%"PRIu64": %s() "
+ "%s => -1 (%s)", frame->root->unique,
gf_fop_list[frame->root->op],
state->loc.path ? state->loc.path : "ERR",
strerror (op_errno));
OSZAR »