]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: explicitly disable readahead for writearound cache 39962/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 15 Dec 2020 19:56:02 +0000 (14:56 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 9 Mar 2021 21:15:48 +0000 (16:15 -0500)
commitf5163eb7af2020659f9cc89a2eaf2097883b3478
treed6ad6325723e39aed3949858c0a3e739aae2e6b8
parent1ff7d244fcbc15312e010f47e19e0e96c819755d
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>
(cherry picked from commit b65f6b865044bffc4db07551caff9e81d6fa8f28)
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/image/OpenRequest.cc