IO hint for no caching object for cache-tiering
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Rados: cache-tierng support CEPH_OP_FLAG_TIER_NOCACHEsrc/ src/ src/ +3 more | +11 | 0 replies | |
| 2/2 | Rados: add test case for CEPH_OP_FLAG_TIER_NOCACHEsrc/ | +176 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Li Wang |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] IO hint for no caching object for cache-tiering
The conventional io hints by fadvise() is to give chance for applications to manipulate page cache. This patch extends io hint ability to control cache pool behavior to avoid cache pollution. For example, under WRITEBACK mode, consider the following operation series, WRITE A; WRITE B; READ A,
if B is never accessed later, then the write of B pollutes the cache by forcing A evicted, the reuse of A causes a cache miss. With the io hint, we could explicitly tell rados to not to cache B, thereby avoid cache pollution.
The patches:
https://github.com/ceph/ceph/pull/4754
Min Chen (2):
Rados: cache-tierng support CEPH_OP_FLAG_TIER_NOCACHE
Rados: add test case for CEPH_OP_FLAG_TIER_NOCACHE
src/include/rados.h | 1 + src/include/rados/librados.h | 1 + src/include/rados/librados.hpp | 1 + src/librados/librados.cc | 2 + src/osd/ReplicatedPG.cc | 5 ++ src/osd/osd_types.cc | 1 + src/test/librados/tier.cc | 176 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 187 insertions(+)
Signature · 1 line
1.9.1