]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx: wait for resize to propagate in krbd_resize() 54255/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:31:28 +0000 (23:01 +0530)
commit1cfb35168325b50f106c3970e5e61267d65cb3ca
tree786229b0361cd41ede8c6f63c502051980dd0773
parent221305759db2fd792a2cfea9c621125464e53bc5
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