]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add logs if get_data returns error in RGWPutObj::execute. 18642/head
authorZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Tue, 31 Oct 2017 06:42:52 +0000 (14:42 +0800)
committerZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Tue, 31 Oct 2017 06:42:52 +0000 (14:42 +0800)
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
src/rgw/rgw_op.cc

index ca9a6f40f70c506878812997c889bcd8f1149790..8bc0d264cb49c124cfd176ce415615e63541b414 100644 (file)
@@ -3456,6 +3456,7 @@ void RGWPutObj::execute()
     }
     if (len < 0) {
       op_ret = len;
+      ldout(s->cct, 20) << "get_data() returned ret=" << op_ret << dendl;
       goto done;
     }