linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] Overlayfs fixes for exposed whiteouts
@ 2017-10-31 21:45 Amir Goldstein
  2017-10-31 21:45 ` [PATCH v6 1/3] ovl: no direct iteration for dir with origin xattr Amir Goldstein
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Amir Goldstein @ 2017-10-31 21:45 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: zhangyi, linux-unionfs

Miklos,

Let's call my previous version v5 (Zhangyi's last post was v4).

Changes since v5:
- Split ovl_check_empty_and_clear() changes from bug fix patch
- Cache "origin" xattr of non-merge dir in inode flag OVL_WHITEOUTS
  (OVL_ORIGIN would have been too confusing)
- Replace layer idx with is_upper boolean

I tested these changes with upstream xfstest overlay/031 by Zhangyi.
Pushed to ovl-whiteouts branch [1] and rebased the non-samefs patches
on top of it [2].

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commits/ovl-whiteouts
[1] https://github.com/amir73il/linux/commits/overlayfs-devel

Amir Goldstein (3):
  ovl: no direct iteration for dir with origin xattr
  ovl: simplify ovl_check_empty_and_clear()
  ovl: fix rmdir problem on non-merge dir with origin xattr

 fs/overlayfs/dir.c       | 18 ++++++++++------
 fs/overlayfs/inode.c     |  5 +++++
 fs/overlayfs/overlayfs.h |  4 ++++
 fs/overlayfs/readdir.c   | 56 ++++++++++++++++++++++++++++++++++++++----------
 fs/overlayfs/util.c      | 13 +++++++++++
 5 files changed, 79 insertions(+), 17 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-11-01  6:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-31 21:45 [PATCH v6 0/3] Overlayfs fixes for exposed whiteouts Amir Goldstein
2017-10-31 21:45 ` [PATCH v6 1/3] ovl: no direct iteration for dir with origin xattr Amir Goldstein
2017-10-31 21:45 ` [PATCH v6 2/3] ovl: simplify ovl_check_empty_and_clear() Amir Goldstein
2017-10-31 21:45 ` [PATCH v6 3/3] ovl: fix rmdir problem on non-merge dir with origin xattr Amir Goldstein
2017-11-01  3:12 ` [PATCH v6 0/3] Overlayfs fixes for exposed whiteouts zhangyi (F)
2017-11-01  6:08   ` Amir Goldstein

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).