From: Li Wang <liwang@ubuntukylin.com>
To: Sage Weil <sweil@redhat.com>
Cc: ceph-devel@vger.kernel.org, Min Chen <minchen@ubuntukylin.com>,
Li Wang <liwang@ubuntukylin.com>
Subject: [PATCH 0/2] IO hint for no caching object for cache-tiering
Date: Mon, 25 May 2015 11:32:15 +0800 [thread overview]
Message-ID: <cover.1432523122.git.liwang@ubuntukylin.com> (raw)
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(+)
--
1.9.1
next reply other threads:[~2015-05-25 3:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 3:32 Li Wang [this message]
2015-05-25 3:32 ` [PATCH 1/2] Rados: cache-tierng support CEPH_OP_FLAG_TIER_NOCACHE Li Wang
2015-05-25 3:32 ` [PATCH 2/2] Rados: add test case for CEPH_OP_FLAG_TIER_NOCACHE Li Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1432523122.git.liwang@ubuntukylin.com \
--to=liwang@ubuntukylin.com \
--cc=ceph-devel@vger.kernel.org \
--cc=minchen@ubuntukylin.com \
--cc=sweil@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.