All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Overlayfs restoring of origin fh
@ 2017-11-07 21:38 Amir Goldstein
  2017-11-07 21:38 ` [PATCH 1/3] ovl: remove unneeded arg from ovl_verify_origin() Amir Goldstein
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Amir Goldstein @ 2017-11-07 21:38 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: zhangyi, linux-unionfs

Miklos,

This series is complementary to the whiteouts expose patches.
Patch 2 restores origin xattr on lookup of merge dir (that was copied up
before v4.12).
Patch 3 sets a 'null' origin fh on dir if we happen to iterate an 'impure'
dir and find a whiteout while looking for copy ups. This is expected to
happen if merge dir was copied up before v4.12, but files inside it were
copied up after v4.12.

This series is currently based on top of non-samefs series and all patches
for v4.15 are piled on my overlayfs-devel branch [1]. Let me know if you
want me to rebase them differently.

I enhanced Zhangyi's xfstest overlay/031, which tests for exposed whiteouts
to cover the 2 cases addressed by this series. The enhanced test is
available on my xfstests branch [2].

Zhangyi,

I would appreciate a review of those patches and the test changes.

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commits/overlayfs-devel
[2] https://github.com/amir73il/xfstests/commits/overlayfs-devel

Amir Goldstein (3):
  ovl: remove unneeded arg from ovl_verify_origin()
  ovl: set origin xattr for merge dir on lookup
  ovl: recover from whiteouts in impure dir iteration

 fs/overlayfs/namei.c     | 63 +++++++++++++++++++++++++++++++++++++++---------
 fs/overlayfs/overlayfs.h |  5 ++--
 fs/overlayfs/readdir.c   | 41 ++++++++++++++++++++++++++++---
 fs/overlayfs/super.c     |  7 +++---
 fs/overlayfs/util.c      | 21 ++++++++++++++++
 5 files changed, 117 insertions(+), 20 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-11-09 11:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 21:38 [PATCH 0/3] Overlayfs restoring of origin fh Amir Goldstein
2017-11-07 21:38 ` [PATCH 1/3] ovl: remove unneeded arg from ovl_verify_origin() Amir Goldstein
2017-11-07 21:38 ` [PATCH 2/3] ovl: set origin xattr for merge dir on lookup Amir Goldstein
2017-11-08  6:59   ` zhangyi (F)
2017-11-08  8:27     ` Amir Goldstein
2017-11-08 13:30       ` Amir Goldstein
2017-11-09  4:20         ` zhangyi (F)
2017-11-07 21:39 ` [PATCH 3/3] ovl: recover from whiteouts in impure dir iteration Amir Goldstein
2017-11-09 10:07 ` [PATCH 0/3] Overlayfs restoring of origin fh Miklos Szeredi
2017-11-09 11:33   ` Amir Goldstein
2017-11-09 11:46   ` zhangyi (F)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.