Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix misc fiemap testing #18240

Merged
merged 1 commit into from
Oct 13, 2017
Merged

test: fix misc fiemap testing #18240

merged 1 commit into from
Oct 13, 2017

Conversation

tchaikov
Copy link
Contributor

  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

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>
@mslovy
Copy link
Contributor

mslovy commented Oct 12, 2017

lgtm

@tchaikov
Copy link
Contributor Author

@jdurgin mind taking a quick review?

@tchaikov
Copy link
Contributor Author

@tchaikov tchaikov merged commit 67cc862 into ceph:master Oct 13, 2017
@tchaikov tchaikov deleted the wip-21716 branch October 13, 2017 17:15
@liewegas
Copy link
Member

this causes a regression.. see #18452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants