]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: write-around cache should honor FUA op flag 27229/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 12 Apr 2019 15:07:31 +0000 (11:07 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 12 Apr 2019 15:07:31 +0000 (11:07 -0400)
commitc4dc8835de57462c28b94aafa97dd592ba89ef42
tree7853cf6724754bd64715cfab4ac9eddb8c986b3e
parentec2aa0e6455489bc69bf33271ef1112e7cac0ea3
librbd: write-around cache should honor FUA op flag

If force unit access is specified, the cache should be bypassed just
like other non-optimized IO through the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/cache/WriteAroundObjectDispatch.cc
src/librbd/cache/WriteAroundObjectDispatch.h
src/test/librbd/cache/test_mock_WriteAroundObjectDispatch.cc