public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] overlayfs assorted fixes for v4.13
@ 2017-07-11 12:58 Amir Goldstein
  2017-07-11 12:58 ` [PATCH 01/10] ovl: mark parent impure on ovl_link() Amir Goldstein
                   ` (10 more replies)
  0 siblings, 11 replies; 37+ messages in thread
From: Amir Goldstein @ 2017-07-11 12:58 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-unionfs

Miklos,

This is a collection of fixes on top of current overlayfs-next.
None of the fixes are urgent for -rc1, so up to you.
Also wanted to remind you that the top commit of overlayfs-next
is missing your s-o-b.

Patch 1 is a fix for an oversight from v4.12.
Patch 2 is a fix for error handing from v4.7.
Patches 3-7 are various fixes to index=on,ro mount.
Patches 8-10 are forward compat fixes for when index dir
will be used for NFS export.

Specifically, patches 9-10 introduce a behavior change in the
case of changes to lower layer (rename or delete of lower dir).
The new behavior is to verify origin fh and try to decode it
if verification fails (overlayfs.txt updated).

This change in needed for snapshots and I argue in the commit
message of patch 10 why it is needed for indexing of directories.
I admit that the argument is not rigorous, but since the behavior of
changes to lower layer is documented as "undefined", I recon you
don't really mind if we change it for index=on.

The rational of making this change in v4.13 as opposed to when
directory indexing is implemented, is that index=on already introduces
a behavior change related to copying layers, so IMO it is better to
introduce all those behavior changes together on index=on.

Thanks,
Amir.

Amir Goldstein (10):
  ovl: mark parent impure on ovl_link()
  ovl: fix random return value on mount
  ovl: fix origin verification of index dir
  ovl: remove unneeded check for IS_ERR()
  ovl: suppress file handle support warnings on read-only mount
  ovl: force read-only mount with no index dir
  ovl: mount overlay read-only on failure to verify index dir
  ovl: do not cleanup directory and whiteout index entries
  ovl: verify origin of merge dir lower
  ovl: follow decoded origin file handle of merge dir

 Documentation/filesystems/overlayfs.txt | 20 +++++++++++
 fs/dcache.c                             |  1 +
 fs/overlayfs/copy_up.c                  |  4 +--
 fs/overlayfs/dir.c                      | 20 ++++++++---
 fs/overlayfs/namei.c                    | 63 +++++++++++++++++++++++++++++----
 fs/overlayfs/overlayfs.h                |  5 +--
 fs/overlayfs/super.c                    | 35 +++++++++---------
 fs/overlayfs/util.c                     |  6 ++--
 8 files changed, 118 insertions(+), 36 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-08-07 16:12 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-11 12:58 [PATCH 00/10] overlayfs assorted fixes for v4.13 Amir Goldstein
2017-07-11 12:58 ` [PATCH 01/10] ovl: mark parent impure on ovl_link() Amir Goldstein
2017-07-11 12:58 ` [PATCH 02/10] ovl: fix random return value on mount Amir Goldstein
2017-07-11 12:58 ` [PATCH 03/10] ovl: fix origin verification of index dir Amir Goldstein
2017-07-11 12:58 ` [PATCH 04/10] ovl: remove unneeded check for IS_ERR() Amir Goldstein
2017-07-11 12:58 ` [PATCH 05/10] ovl: suppress file handle support warnings on read-only mount Amir Goldstein
2017-07-11 12:58 ` [PATCH 06/10] ovl: force read-only mount with no index dir Amir Goldstein
2017-07-13 20:11   ` Miklos Szeredi
2017-07-14  6:11     ` Amir Goldstein
2017-07-14  9:47       ` Miklos Szeredi
2017-07-11 12:58 ` [PATCH 07/10] ovl: mount overlay read-only on failure to verify " Amir Goldstein
2017-07-13 20:13   ` Miklos Szeredi
2017-07-14  6:51     ` Amir Goldstein
2017-07-14 10:05       ` Miklos Szeredi
2017-07-14 10:35         ` Amir Goldstein
2017-07-14 10:53           ` Miklos Szeredi
2017-07-14 11:17             ` Amir Goldstein
2017-07-24  8:33               ` Miklos Szeredi
2017-08-07 16:12                 ` Amir Goldstein
2017-07-11 12:58 ` [PATCH 08/10] ovl: do not cleanup directory and whiteout index entries Amir Goldstein
2017-07-11 12:58 ` [PATCH 09/10] ovl: verify origin of merge dir lower Amir Goldstein
2017-07-11 12:58 ` [PATCH 10/10] ovl: follow decoded origin file handle of merge dir Amir Goldstein
2017-07-13 20:19   ` Miklos Szeredi
2017-07-14  7:42     ` Amir Goldstein
2017-07-14 10:21       ` Miklos Szeredi
2017-07-14 10:58         ` Amir Goldstein
2017-07-24  8:48           ` Miklos Szeredi
2017-07-24 12:14             ` Amir Goldstein
2017-07-25 11:33               ` Miklos Szeredi
2017-07-25 14:30                 ` Amir Goldstein
2017-07-25 15:16                   ` Miklos Szeredi
2017-07-25 22:19                     ` Amir Goldstein
2017-07-26  8:47                       ` Miklos Szeredi
2017-07-26  8:51                         ` Miklos Szeredi
2017-07-26  8:54                           ` Miklos Szeredi
2017-07-26 19:06                             ` Amir Goldstein
2017-07-11 19:32 ` [PATCH 00/10] overlayfs assorted fixes for v4.13 Amir Goldstein

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