summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/rpc-lib/src/rpcsvc.c4
-rw-r--r--tests/bugs/bug-884452.t4
2 files changed, 6 insertions, 2 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c
index eef1f05044c..1c49c09b1f4 100644
--- a/rpc/rpc-lib/src/rpcsvc.c
+++ b/rpc/rpc-lib/src/rpcsvc.c
@@ -443,6 +443,10 @@ rpcsvc_check_and_reply_error (int ret, call_frame_t *frame, void *opaque)
req = opaque;
+ if (ret)
+ gf_log ("rpcsvc", GF_LOG_ERROR,
+ "rpc actor failed to complete successfully");
+
if (ret == RPCSVC_ACTOR_ERROR) {
ret = rpcsvc_error_reply (req);
if (ret)
diff --git a/tests/bugs/bug-884452.t b/tests/bugs/bug-884452.t
index 420b4bc8847..27d7e6afcce 100644
--- a/tests/bugs/bug-884452.t
+++ b/tests/bugs/bug-884452.t
@@ -36,8 +36,8 @@ function vol-status-loop
TEST vol-status-loop
-kill $LS_LOOP >/dev/null 2>&1
-sleep 2
+kill -KILL $LS_LOOP >/dev/null 2>&1
+sleep 2;
TEST umount $M0