]> 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 44992/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 15 Oct 2021 16:13:55 +0000 (18:13 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 11 Feb 2022 17:53:04 +0000 (18:53 +0100)
commitc2f672cf0eab2bb81003a93cce96e1a6dadc12d4
treea2e1a31c236c0678800cf59acedb69270c9b0945
parent7905cc4b57d9938ac9336fea78cd77b015480211
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>
(cherry picked from commit 0dcea098cf4d51bed31d8646dc3b533514c08a72)
src/librbd/cache/WriteAroundObjectDispatch.cc
src/test/librbd/cache/test_mock_WriteAroundObjectDispatch.cc