From: Du Rui <durui@linux.alibaba.com>
To: hsiangkao@linux.alibaba.com
Cc: agk@redhat.com, alexl@redhat.com, dm-devel@redhat.com,
durui@linux.alibaba.com, gscrivan@redhat.com,
linux-kernel@vger.kernel.org, snitzer@kernel.org
Subject: Re: dm overlaybd: targets mapping OverlayBD image
Date: Sat, 27 May 2023 11:13:19 +0800 [thread overview]
Message-ID: <20230527031319.92200-1-durui@linux.alibaba.com> (raw)
In-Reply-To: <ac8519fd-85f4-e778-0c6c-b2e893a37628@linux.alibaba.com>
> Block drivers has nothing to do on filesystem page cache stuffs, also
> currently your approach has nothing to do with pmem stuffs (If you must
> mention "DAX" to proposal your "page cache sharing", please _here_
> write down your detailed design first and explain how it could work to
> ours if you really want to do.)
We have already done experiments (by virtio pmem), to make virtual PMEM
device in QEMU, make guest vm sharing only one memory mapping on host,
with filesystem that supports DAX. In guest vm, fs keeps no page cache,
maybe "sharing pagecache" is not such accurate description, but sharing
memory pages on host can do prevent making duplicated pagecache pages in
VMs.
Please make sure that you have already understood that dm-overlaybd are
for GENERIC purpose. It is NOT a special design for container, and have
nothing related to filesystem implementations.
next prev parent reply other threads:[~2023-05-27 3:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 10:27 [RFC] " Du Rui
2023-05-23 17:28 ` Mike Snitzer
2023-05-24 0:56 ` [dm-devel] " Gao Xiang
2023-05-24 6:43 ` Alexander Larsson
2023-05-24 7:13 ` Gao Xiang
2023-05-24 8:11 ` Giuseppe Scrivano
2023-05-24 8:26 ` Gao Xiang
2023-05-24 10:48 ` Giuseppe Scrivano
2023-05-24 11:06 ` Gao Xiang
2023-05-26 10:28 ` Du Rui
2023-05-26 10:26 ` Du Rui
2023-05-26 16:43 ` Gao Xiang
2023-05-27 3:13 ` Du Rui [this message]
2023-05-27 4:12 ` Gao Xiang
2023-05-24 6:59 ` Du Rui
2023-05-26 10:25 ` Du Rui
2023-05-24 7:24 ` [RFC PATCH v2] " Du Rui
2023-05-24 7:40 ` [RFC PATCH v3] " Du Rui
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=20230527031319.92200-1-durui@linux.alibaba.com \
--to=durui@linux.alibaba.com \
--cc=agk@redhat.com \
--cc=alexl@redhat.com \
--cc=dm-devel@redhat.com \
--cc=gscrivan@redhat.com \
--cc=hsiangkao@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=snitzer@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®