Skip to content

RFC ovl: make room to store state flags in dentry

Amir Goldstein linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ovl: store path type in dentryfs/overlayfs/namei.c fs/overlayfs/overlayfs.h fs/overlayfs/ovl_entry.h +2 more+18 -83 replies
2/2ovl: cram opaque boolean into type flagsfs/overlayfs/namei.c fs/overlayfs/overlayfs.h fs/overlayfs/ovl_entry.h +1 more+10 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] ovl: make room to store state flags in dentry

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(-)
Signature · 1 line
2.7.4