]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: explicitly disable readahead for writearound cache 38602/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 15 Dec 2020 19:56:02 +0000 (14:56 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 15 Dec 2020 20:26:45 +0000 (15:26 -0500)
commitb65f6b865044bffc4db07551caff9e81d6fa8f28
tree5dfe7b9359701f4f9e9dd259c4f4736ccaf14cf3
parent067dc85af4eb6a10e228008c00a7fe3858a6fa42
librbd: explicitly disable readahead for writearound cache

The readahead IOs would be wasted effort since the writearound
cache does not service reads.

Fixes: https://tracker.ceph.com/issues/48486
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/image/OpenRequest.cc