]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: fixups for the new krbd discard behavior 27192/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 25 Mar 2019 19:58:00 +0000 (20:58 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 25 Mar 2019 21:06:14 +0000 (22:06 +0100)
commitf3f757aaa39c73615749926f6503c2e83ca7f0d1
tree62500aebd4677f6322e2b7fe8926a0c45b12fc84
parent673673f53d0c258e6096a05d9de979b2c20adddf
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>
qa/workunits/rbd/krbd_data_pool.sh
qa/workunits/rbd/krbd_fallocate.sh