]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: fix misc fiemap testing 18240/head
authorNing Yao <yaoning@unitedstack.com>
Thu, 7 Sep 2017 10:52:55 +0000 (10:52 +0000)
committerKefu Chai <kchai@redhat.com>
Wed, 11 Oct 2017 08:11:15 +0000 (16:11 +0800)
commit87f33376d977962ab7438c46873ea9b6292390d1
tree1375f53069b2c66f3b23ce1536f9c91ae7faba12
parent3245fd90ec322724093a9a35b89a1e0817d617d3
test: fix misc fiemap testing

1) Different filesystem will have different behavior to
allocate extents. Therefore, even if write 4000 extents,
the filesystem may not really allocate 4000 extents.

2) kstore always return [0, xxx] even if offset ~= 0. Therefore,
the whole non-zero offset FiemapHoles test should be skipped

3) enable fiemap test for filestore, bluestore, memstore again

Fixes: http://tracker.ceph.com/issues/21716
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/objectstore/store_test.cc