From: Amir Goldstein <amir73il@gmail.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-unionfs@vger.kernel.org
Subject: [RFC][PATCH 0/2] ovl: make room to store state flags in dentry
Date: Tue, 21 Mar 2017 12:16:43 -0400 [thread overview]
Message-ID: <1490113005-28787-1-git-send-email-amir73il@gmail.com> (raw)
Miklos,
This is a prep work I have done some time ago to make room
for some extra state flags on the dentry.
I converted the boolean opaque field to a flag as an example.
An example for more flags could be:
- this is a copy up file which needs to get st_ino from lower
- this is an O_TEMP copy up from open for read that needs to be
linked to upper dir on open for write
Amir Goldstein (2):
ovl: store path type in dentry
ovl: cram opaque boolean into type flags
fs/overlayfs/namei.c | 10 ++++++----
fs/overlayfs/overlayfs.h | 3 +++
fs/overlayfs/ovl_entry.h | 4 +++-
fs/overlayfs/super.c | 1 +
fs/overlayfs/util.c | 25 +++++++++++++++----------
5 files changed, 28 insertions(+), 15 deletions(-)
--
2.7.4
next reply other threads:[~2017-03-21 16:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-21 16:16 Amir Goldstein [this message]
2017-03-21 16:16 ` [RFC][PATCH 1/2] ovl: store path type in dentry Amir Goldstein
2017-03-28 14:03 ` Miklos Szeredi
2017-03-28 16:59 ` Amir Goldstein
2017-03-28 20:13 ` Amir Goldstein
2017-03-21 16:16 ` [RFC][PATCH 2/2] ovl: cram opaque boolean into type flags 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=1490113005-28787-1-git-send-email-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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