]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: fixups for the new krbd discard behavior
authorIlya Dryomov <idryomov@gmail.com>
Mon, 25 Mar 2019 19:58:00 +0000 (20:58 +0100)
committerNathan Cutler <ncutler@suse.com>
Thu, 28 Mar 2019 11:36:04 +0000 (12:36 +0100)
commit4cbc75628addd4cc27346fcdaabce29474e12591
tree77b4adc38d4e7d98022b225584e942354332fa5b
parentbd8865d94826602b73324e7c9be8fb5abcf77793
qa/workunits/rbd: fixups for the new krbd discard behavior

With discard_granularity set to alloc_size, we no longer get object
size alignment from blk_bio_discard_split().

This assumption is pretty deeply ingrained in krbd_data_pool.sh, so
make it explicit.  For krbd_fallocate.sh, just fix the expectation.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f3f757aaa39c73615749926f6503c2e83ca7f0d1)
qa/workunits/rbd/krbd_data_pool.sh
qa/workunits/rbd/krbd_fallocate.sh