]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: Fix IO completion 39800/head
authorMahati Chamarthy <mahati.chamarthy@intel.com>
Thu, 11 Feb 2021 10:24:30 +0000 (15:54 +0530)
committerMahati Chamarthy <mahati.chamarthy@intel.com>
Mon, 8 Mar 2021 03:52:49 +0000 (09:22 +0530)
commiteeb0b405044bfaade49da0cc635bc05fb0286c0f
treef43e50dc674c11e31371c3fa3a3bc78b6add5f7d
parent126f02008d8a187d817a5024872d4664f0ac40f3
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>
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