Re: [PATCH 3/3] ovl: redirect on rename-dir

From: Miklos Szeredi
Date: Thu Nov 10 2016 - 17:39:31 EST


New version is at:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git #redirect

News:
- it actually should work in all cases
- when rename is not cross directory, just store the new name instead
of a full path, as suggested by Amir
- when redirect path is too long fall back to EXDEV (the max length
should probably be a module param)

About turning the feature on or off. Yes, maybe the empty checking is
too complicated. Going one simpler:

- default to old behavior, turn on with mount option
- add module option and kernel compile option to turn on the feature by default

I guess distros wil simply enable this by default, since back
compatibility is basically a non-issue.

Thanks,
Miklos