From: Amir Goldstein <amir73il@gmail.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-unionfs@vger.kernel.org, zhangyi <yi.zhang@huawei.com>
Subject: [PATCH 0/7] Implement overlayfs verify_dir mount option
Date: Tue, 17 Oct 2017 18:23:46 +0300 [thread overview]
Message-ID: <1508253833-9866-1-git-send-email-amir73il@gmail.com> (raw)
Miklos,
This is the first of two prep patch sets [1][2] for NFS export [3].
NFS export is enabled with the 'verify_dir' and 'index=all'
mount options.
The requirement for 'verify_dir' can be relaxed if we attach
generation numbers to index entries as you suggested, but
this was not implemented for first version of NFS export.
The first two patches in this series, one from zhangyi and
one from me are not directly related to 'verify_dir', but
they make sense in this context, because 'verify_dir' may
refuse to follow to lower dir and leave a pure upper dir
with ORIGIN and whiteouts.
These two patches have been around for a while and already
have a merged xfstest to verify them (overlay/031).
The last two patches add the actual verification of lower
dir. They have been on my development branch for a few cycles
already and the feature is being exercised with snapshots test.
[1] https://github.com/amir73il/linux/commits/ovl-verify-dir
[2] https://github.com/amir73il/linux/commits/ovl-index-all
[3] https://github.com/amir73il/linux/commits/ovl-nfs-export
Amir Goldstein (7):
ovl: fix rmdir problem on origin dir
ovl: no direct iteration for dir with copy up origin
ovl: remove unneeded arg from ovl_verify_origin()
ovl: disable redirect_dir and index when no xattr support
ovl: ignore redirect_dir and index when no upper layer
ovl: add support for verify_dir mount option
ovl: follow decoded origin file handle of merge dir
Documentation/filesystems/overlayfs.txt | 20 ++++++++++
fs/dcache.c | 1 +
fs/overlayfs/dir.c | 21 +++++++---
fs/overlayfs/namei.c | 60 +++++++++++++++++++++++++----
fs/overlayfs/overlayfs.h | 8 ++--
fs/overlayfs/ovl_entry.h | 1 +
fs/overlayfs/readdir.c | 59 ++++++++++++++++++++++------
fs/overlayfs/super.c | 68 +++++++++++++++++++++++----------
fs/overlayfs/util.c | 20 ++++++++++
9 files changed, 209 insertions(+), 49 deletions(-)
--
2.7.4
next reply other threads:[~2017-10-17 15:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 15:23 Amir Goldstein [this message]
2017-10-17 15:23 ` [PATCH 1/7] ovl: fix rmdir problem on origin dir Amir Goldstein
2017-10-31 12:54 ` Miklos Szeredi
2017-10-17 15:23 ` [PATCH 2/7] ovl: no direct iteration for dir with copy up origin Amir Goldstein
2017-10-31 13:08 ` Miklos Szeredi
2017-10-17 15:23 ` [PATCH 3/7] ovl: remove unneeded arg from ovl_verify_origin() Amir Goldstein
2017-10-17 15:23 ` [PATCH 4/7] ovl: disable redirect_dir and index when no xattr support Amir Goldstein
2017-10-17 15:23 ` [PATCH 5/7] ovl: ignore redirect_dir and index when no upper layer Amir Goldstein
2017-10-17 15:23 ` [PATCH 6/7] ovl: add support for verify_dir mount option Amir Goldstein
2017-10-17 15:23 ` [PATCH 7/7] ovl: follow decoded origin file handle of merge dir Amir Goldstein
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=1508253833-9866-1-git-send-email-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=yi.zhang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).