public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ovl: new mount options lowerdir+,datadir+
@ 2023-10-30 12:04 Amir Goldstein
  2023-10-30 12:04 ` [PATCH 1/4] ovl: remove unused code in lowerdir param parsing Amir Goldstein
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Amir Goldstein @ 2023-10-30 12:04 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: Christian Brauner, linux-unionfs

Miklos,

As discussed, here are the patches for the new mount options.

- Only string format is supported
- Legacy lowerdir= cannot be mixed with new lowerdir+,datadir+
- lowerdir+,datadir+ are not escaped
- lowerdir,upperdir,workdir are escaped as always

I did not find a good reason to change escaping of upperdir,workdir.
We can skip escaping when we add support for path format.

Wrote some xfstests [1].

Thanks,
Amir.

[1] https://github.com/amir73il/xfstests/commits/ovl-lowerdir-add

Amir Goldstein (4):
  ovl: remove unused code in lowerdir param parsing
  ovl: store and show the user provided lowerdir mount option
  ovl: refactor layer parsing helpers
  ovl: add support for appending lowerdirs one by one

 fs/overlayfs/params.c | 317 ++++++++++++++++++++++--------------------
 fs/overlayfs/params.h |   1 +
 fs/overlayfs/super.c  |   5 +-
 3 files changed, 173 insertions(+), 150 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-10-30 18:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-30 12:04 [PATCH 0/4] ovl: new mount options lowerdir+,datadir+ Amir Goldstein
2023-10-30 12:04 ` [PATCH 1/4] ovl: remove unused code in lowerdir param parsing Amir Goldstein
2023-10-30 12:04 ` [PATCH 2/4] ovl: store and show the user provided lowerdir mount option Amir Goldstein
2023-10-30 12:04 ` [PATCH 3/4] ovl: refactor layer parsing helpers Amir Goldstein
2023-10-30 15:36   ` Miklos Szeredi
2023-10-30 17:41     ` Amir Goldstein
2023-10-30 12:04 ` [PATCH 4/4] ovl: add support for appending lowerdirs one by one Amir Goldstein
2023-10-30 13:06   ` Amir Goldstein
2023-10-30 15:41 ` [PATCH 0/4] ovl: new mount options lowerdir+,datadir+ Miklos Szeredi
2023-10-30 18:45   ` Amir Goldstein

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