]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: honor FUA op flag for write_same() in write-around cache 43568/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 15 Oct 2021 16:13:55 +0000 (18:13 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 15 Oct 2021 16:24:58 +0000 (18:24 +0200)
commit0dcea098cf4d51bed31d8646dc3b533514c08a72
treec5090cb67b23924124388d1db042ac2a81e662b5
parentc19250ce3cb30a5a0409e3ebd4142dad6191642e
librbd: honor FUA op flag for write_same() in write-around cache

WriteAroundObjectDispatch::write_same() should pass op_flags through
to dispatch_io() so that it can bypass the cache if needed.

Fixes: https://tracker.ceph.com/issues/52956
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/cache/WriteAroundObjectDispatch.cc
src/test/librbd/cache/test_mock_WriteAroundObjectDispatch.cc