]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: Fix IO completion
authorMahati Chamarthy <mahati.chamarthy@intel.com>
Thu, 11 Feb 2021 10:24:30 +0000 (15:54 +0530)
committerJason Dillaman <dillaman@redhat.com>
Wed, 10 Mar 2021 15:36:05 +0000 (10:36 -0500)
commit0aa89e1c146d4dd3dc2e91662b8aa6e74a01bf85
tree196745abed1b9432f33f44bde49bc0c1eddb047c
parentd518cc55fb820b6d4b2f7b18a4e5a3e26a57ef73
librbd/cache/pwl: Fix IO completion

- Fix deep copy tests and discard I/O completion

- Change read extents to a pointer so that data
persists when multiple extents are pushed into the
vector of bufferlists

- Cleanup tests

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
(cherry picked from commit eeb0b405044bfaade49da0cc635bc05fb0286c0f)
19 files changed:
src/librbd/CMakeLists.txt
src/librbd/cache/pwl/AbstractWriteLog.cc
src/librbd/cache/pwl/Builder.h
src/librbd/cache/pwl/LogOperation.cc
src/librbd/cache/pwl/LogOperation.h
src/librbd/cache/pwl/ReadRequest.h
src/librbd/cache/pwl/Request.cc
src/librbd/cache/pwl/Types.h
src/librbd/cache/pwl/rwl/Builder.h
src/librbd/cache/pwl/rwl/LogOperation.cc
src/librbd/cache/pwl/rwl/LogOperation.h
src/librbd/cache/pwl/rwl/ReadRequest.cc
src/librbd/cache/pwl/rwl/WriteLog.cc
src/librbd/cache/pwl/ssd/Builder.h
src/librbd/cache/pwl/ssd/LogOperation.cc [new file with mode: 0644]
src/librbd/cache/pwl/ssd/LogOperation.h [new file with mode: 0644]
src/librbd/cache/pwl/ssd/ReadRequest.cc
src/librbd/cache/pwl/ssd/WriteLog.cc
src/test/librbd/cache/pwl/test_mock_SSDWriteLog.cc