]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/cache: Implement aio_read operation
authorMahati Chamarthy <mahati.chamarthy@intel.com>
Mon, 4 Jan 2021 10:27:59 +0000 (15:57 +0530)
committerMahati Chamarthy <mahati.chamarthy@intel.com>
Thu, 7 Jan 2021 04:24:25 +0000 (09:54 +0530)
commitccd1047b256e8600d45ea9f6b07a9834b6246efd
tree2049fab2507dd7ef57f2192b13e05e220509aae1
parent9870f7a3d46936496e4aadfdd47d9e8eb304d1dc
librbd/cache: Implement aio_read operation

... and retire entries i.e. flush to OSD.
Support writesame, compare_and_write, discard
and invalidate IO operations with tests.

Signed-off-by: Lisa Li <xiaoyan.li@intel.com>
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
19 files changed:
src/librbd/CMakeLists.txt
src/librbd/cache/pwl/AbstractWriteLog.cc
src/librbd/cache/pwl/AbstractWriteLog.h
src/librbd/cache/pwl/Builder.h
src/librbd/cache/pwl/LogEntry.h
src/librbd/cache/pwl/ReadRequest.cc [deleted file]
src/librbd/cache/pwl/ReadRequest.h
src/librbd/cache/pwl/Types.h
src/librbd/cache/pwl/rwl/Builder.h
src/librbd/cache/pwl/rwl/ReadRequest.cc [new file with mode: 0644]
src/librbd/cache/pwl/rwl/ReadRequest.h [new file with mode: 0644]
src/librbd/cache/pwl/rwl/WriteLog.cc
src/librbd/cache/pwl/rwl/WriteLog.h
src/librbd/cache/pwl/ssd/Builder.h
src/librbd/cache/pwl/ssd/ReadRequest.cc [new file with mode: 0644]
src/librbd/cache/pwl/ssd/ReadRequest.h [new file with mode: 0644]
src/librbd/cache/pwl/ssd/WriteLog.cc
src/librbd/cache/pwl/ssd/WriteLog.h
src/test/librbd/cache/pwl/test_mock_SSDWriteLog.cc