dht: remove 'null' for directory/file path from brick log for many operations
Change-Id: I39cd2089240c0ad62b749f176847cc5337e57f73 BUG: 1231264 Signed-off-by: Sakshi <sabansal@redhat.com> Reviewed-on: http://review.gluster.org/11206 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
This commit is contained in:
parent
830ad21fa8
commit
546f66f546
@ -423,7 +423,8 @@ server_rmdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
|
||||
gf_msg (this->name, GF_LOG_INFO,
|
||||
op_errno, PS_MSG_DIR_INFO,
|
||||
"%"PRId64": RMDIR %s (%s/%s) ==> (%s)",
|
||||
frame->root->unique, state->loc.path,
|
||||
frame->root->unique,
|
||||
(state->loc.path) ? state->loc.path : "",
|
||||
uuid_utoa (state->resolve.pargfid),
|
||||
state->resolve.bname, strerror (op_errno));
|
||||
goto out;
|
||||
@ -477,7 +478,8 @@ server_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
|
||||
gf_msg (this->name, fop_log_level (GF_FOP_MKDIR, op_errno),
|
||||
op_errno, PS_MSG_DIR_INFO,
|
||||
"%"PRId64": MKDIR %s (%s/%s) ==> (%s)",
|
||||
frame->root->unique, state->loc.path,
|
||||
frame->root->unique,
|
||||
(state->loc.path) ? state->loc.path : "",
|
||||
uuid_utoa (state->resolve.pargfid),
|
||||
state->resolve.bname, strerror (op_errno));
|
||||
goto out;
|
||||
@ -655,7 +657,8 @@ server_opendir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
|
||||
gf_msg (this->name, fop_log_level (GF_FOP_OPENDIR, op_errno),
|
||||
op_errno, PS_MSG_DIR_INFO,
|
||||
"%"PRId64": OPENDIR %s (%s) ==> (%s)",
|
||||
frame->root->unique, state->loc.path,
|
||||
frame->root->unique,
|
||||
(state->loc.path) ? state->loc.path : "",
|
||||
uuid_utoa (state->resolve.gfid), strerror (op_errno));
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user