On Mon, Nov 21, 2016 at 12:16 PM, Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote: > On Mon, Nov 21, 2016 at 11:13 AM, Amir Goldstein <amir73il@xxxxxxxxx> wrote: >> On Mon, Nov 21, 2016 at 11:54 AM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote: >>> On Fri, Nov 18, 2016 at 4:37 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote: >>> >>>> Found one typo and one bug in error that can cause crash on dput(ERR_PTR(err)): >>> >>> Thanks. >>> >>> Fixes force pushed to overlayfs-next. >> >> All right. I had the (wrong) impression the next was not a rewindable branch. > > That depends on how many devel branches are broken by such an action. > In case of overlayfs-next, there doesn't appear to be too much of > that, so for now I feel free to mess with it. > All right. Just posted another minor fix to display redirect=xx on /proc/mounts when it is due. Feel free to squash or apply or whatever. *Strictly* FYI, here is something I have been working on, on top of redirect_dir, which I need for one of our use cases. Since it is working and passed all the sanity tests, I am letting you all know about it in case it's relevant for anyone else. Not even going to post the patches yet, just a link and an abstract. Amir. https://github.com/amir73il/linux.git #redirect_fh =============================== ovl: redirect merged dir by file handle on copy up When mounted with mount option redirect_dir=fh, every copy up of lower directory stores the lower dir file handle in redirect xattr of upper dir. After the redirect at copy up, renaming upper merged directory requires no further action. This method has some advantages over absolute path redirect: - it is more compact in stored xattr size - it is not limited by lengths of full paths - lookup redirect is more efficient for very nested directories It also has some disadvantages over absolute path redirect: - it requires setting the redirect xattr for all layers of merged dirs - it requires that all lower layers are on the same file system, which support exportfs ops - file handles will become stale if overlay lower directories where to be copied to another location Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html