]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: fix misc fiemap testing 20143/head
authorNing Yao <yaoning@unitedstack.com>
Thu, 7 Sep 2017 10:52:55 +0000 (10:52 +0000)
committerNathan Cutler <ncutler@suse.com>
Sat, 27 Jan 2018 08:34:16 +0000 (09:34 +0100)
commit16a900edb0a78b01a20b1071ba9811ae912c519f
tree6fbee1da57410ff96de27950ea2e413c999ef2d3
parent2177353f1af13f63da4fddefa5e22d3b6e5fcd6b
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>
(cherry picked from commit 87f33376d977962ab7438c46873ea9b6292390d1)

Conflicts:
    src/test/objectstore/store_test.cc (master does not set
       filestore_op_thread_suicide_timeout; trivial resolution)
src/test/objectstore/store_test.cc