]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx: wait for resize to propagate in krbd_resize() 54256/head
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Fri, 20 Oct 2023 10:11:05 +0000 (15:41 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Mon, 30 Oct 2023 17:33:07 +0000 (23:03 +0530)
commit5df95879eec1649176579f68eda857a70a973ede
tree2ac4cf9594bad34982d12a8d29119f2e92919f53
parent68637d3e5e537d07a84ed112c01549f352f9e6fa
test/librbd/fsx: wait for resize to propagate in krbd_resize()

With this changes resize request will not be blocked until the resize is
completed. Because of this the fsx test fails as it assumes that the
request to resize immediately implies changes on the device size.

Hence we have to add a wait in resize handler of fsx for the device to
actually get resized.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 6f3d0f570f1a262b06d4c661582091d8ddb11bfa)
src/test/librbd/fsx.cc