]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx: wait for resize to propagate in krbd_resize() 54254/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:29:21 +0000 (22:59 +0530)
commit0267d021dc5c30a8153cf2cb0588cc50bc73c421
tree08f2026b1627579286bc6402db685c8de536719e
parent3cb26e0b1ca22cfb2d5cd73ee7c5f5c3ae0049f3
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