]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_objectstore: do not pass len=0 to fiemap
authorSage Weil <sage@redhat.com>
Mon, 18 Jan 2016 17:39:59 +0000 (12:39 -0500)
committerSage Weil <sage@redhat.com>
Mon, 18 Jan 2016 17:39:59 +0000 (12:39 -0500)
Not all backends do this.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/store_test.cc

index d57e82c221dd52c61314175a183a05ef56abccbf..10302167f6d44300a8209b701dacf6ba4c5af8b3 100644 (file)
@@ -267,7 +267,7 @@ TEST_P(StoreTest, FiemapHoles) {
   }
   {
     bufferlist bl;
-    store->fiemap(cid, oid, 0, 0, bl);
+    store->fiemap(cid, oid, 0, 4194307, bl);
     map<uint64_t,uint64_t> m, e;
     bufferlist::iterator p = bl.begin();
     ::decode(m, p);