]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache: Establish the framework to integrate RWL and SSD
authorMahati Chamarthy <mahati.chamarthy@intel.com>
Fri, 3 Jul 2020 11:08:50 +0000 (16:38 +0530)
committerMahati Chamarthy <mahati.chamarthy@intel.com>
Tue, 15 Sep 2020 08:54:05 +0000 (14:24 +0530)
commitae4bcd906f0a279fc14cc8d90795c2d28323031a
treecc3bcc37d5b6cb6128760e887160d040284e15c8
parentf7bad43f9d3cca646d718ae9c9a8eb7861c82413
librbd/cache: Establish the framework to integrate RWL and SSD

- Create WriteLogCache class
- Rename ReplicatedWriteLog files to AbstractWriteLog and
  modify the I/O method names
- fix the test
- Modify CMakeLists.txt to add newly created classes

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>
src/librbd/CMakeLists.txt
src/librbd/cache/AbstractWriteLog.cc [new file with mode: 0644]
src/librbd/cache/AbstractWriteLog.h [new file with mode: 0644]
src/librbd/cache/ReplicatedWriteLog.cc
src/librbd/cache/ReplicatedWriteLog.h
src/librbd/cache/WriteLogCache.cc [new file with mode: 0644]
src/librbd/cache/WriteLogCache.h [new file with mode: 0644]
src/librbd/cache/rwl/InitRequest.cc
src/librbd/cache/rwl/Request.cc
src/test/librbd/cache/test_mock_ReplicatedWriteLog.cc