]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_file: print DIRS1 read parameters at verbose
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 5 Apr 2016 20:19:53 +0000 (16:19 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 5 Apr 2016 22:30:26 +0000 (18:30 -0400)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/test/librgw_file_nfsns.cc

index c5f483a362b69d42c30bb19301f1c922861af0de..7f52c80a179541ef315a9f0d1276c67932a1645f 100644 (file)
@@ -568,6 +568,10 @@ TEST(LibRGW, READ_DIRS1)
          ASSERT_EQ(sobj.rgw_fh->get_size(), 16UL);
          // do it
          memset(buf, 0, 256);
+         if (verbose) {
+           std::cout << "reading 0,256 " << sobj.rgw_fh->relative_object_name()
+                     << std::endl;
+         }
          rc = rgw_read(fs, sobj.fh, 0, 256, &nread, buf, RGW_READ_FLAG_NONE);
          ASSERT_EQ(rc, 0);
          if (verbose) {