Linux Overlay Filesystem development
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] ovl: implement overlay feature set
@ 2018-03-22 11:35 zhangyi (F)
  2018-03-22 11:35 ` [RFC PATCH 1/4] ovl: add feature set support zhangyi (F)
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: zhangyi (F) @ 2018-03-22 11:35 UTC (permalink / raw)
  To: linux-unionfs; +Cc: miklos, amir73il, yi.zhang, miaoxie, yangerkun

Hi All,

This is overlay feature set support patches, introduce incompatable,
read-only compatable and incompatable feature set, store on the upper
root dir via "trusted.overlay.feature_[compat|ro_compat|incompat]"
xattrs.

This patch set base on Linux 4.16-rc6.

Patch 1: Implement feature xattr and mount check, refuse mount if no
         backward incompatible feature is detected.
Patch 2: Copy up feature xattr from the lower root dirs to the upper
         root dir to prevent feature lost.
Patch 3: Add three already support feature: redirect dir, index and
         nfs_export, enable them when user give enable mount option.
patch 4: Fix redircet feature once a redirect xattr is detected for
         the case of overlay was mounted in the old kernel.
(PS: Not sure this patch is necessary, maybe just give a warning message
and handle this by fsck.overlay? If necessary, check indexdir during
mount time is also necessary too).

zhangyi (F) (4):
  ovl: add feature set support
  ovl: update features on upper root dir from lower layers
  ovl: enable features according to mount options
  ovl: fix redirect feature for backward compatibility

 fs/overlayfs/namei.c     |  12 ++
 fs/overlayfs/overlayfs.h |  90 +++++++++++
 fs/overlayfs/ovl_entry.h |  18 +++
 fs/overlayfs/super.c     | 410 ++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 525 insertions(+), 5 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-24 14:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-22 11:35 [RFC PATCH 0/4] ovl: implement overlay feature set zhangyi (F)
2018-03-22 11:35 ` [RFC PATCH 1/4] ovl: add feature set support zhangyi (F)
2018-03-23 12:12   ` Amir Goldstein
2018-03-24 12:55     ` zhangyi (F)
2018-03-24 13:56       ` Amir Goldstein
2018-03-22 11:35 ` [RFC PATCH 2/4] ovl: update features on upper root dir from lower layers zhangyi (F)
2018-03-23 11:54   ` Amir Goldstein
2018-03-22 11:35 ` [RFC PATCH 3/4] ovl: enable features according to mount options zhangyi (F)
2018-03-23 12:50   ` Amir Goldstein
2018-03-22 11:35 ` [RFC PATCH 4/4] ovl: fix redirect feature for backward compatibility zhangyi (F)
2018-03-23 12:32 ` [RFC PATCH 0/4] ovl: implement overlay feature set Amir Goldstein
2018-03-24 12:57   ` zhangyi (F)
2018-03-24 14:09     ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox