]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: don't run RemoveFullTry tests with persistent writeback cache
authorIlya Dryomov <idryomov@gmail.com>
Thu, 14 Oct 2021 18:35:16 +0000 (20:35 +0200)
committerDeepika Upadhyay <dupadhya@redhat.com>
Sat, 23 Oct 2021 16:34:58 +0000 (22:04 +0530)
commit641f782ac7fbb98c36dc41085a616c5cabf3cb20
tree3c8da014f9f6811513dcccecc32b57d3c8094fec
parent7f5e1ce326e3bd55c8a16b4345a0bf284b6aef5a
test/librbd: don't run RemoveFullTry tests with persistent writeback cache

Persistent writeback cache messes with pool quota enforcement on the
OSD side and we don't always break out of the write zeroes loop:

  src/test/librbd/test_librbd.cc:2165: Failure
  Value of: off >= quota && off < size
    Actual: false
  Expected: true

Unfortunately persistent writeback cache doesn't honor FUA [1] so the
workaround for volatile caches from the previous patch doesn't apply.

[1] https://tracker.ceph.com/issues/49715

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/librbd/test_librbd.cc