]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx: wait for resize to propagate in krbd_resize() 50593/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>
Fri, 27 Oct 2023 06:32:01 +0000 (12:02 +0530)
commit6f3d0f570f1a262b06d4c661582091d8ddb11bfa
treea030c877676344faef2e17df562d42a048c9d3c6
parentdbb4daff404c5d2da32c33f4e852e84a257c0b8d
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>
src/test/librbd/fsx.cc