public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] overlayfs: Handle metacopy mount option better
@ 2018-10-30 20:26 Vivek Goyal
  2018-10-30 20:26 ` [PATCH v2 1/2] overlayfs: Return error if metadata only copy-up can't be enabled Vivek Goyal
  2018-10-30 20:26 ` [PATCH v2 2/2] overlayfs: Enable redirect_dir automatically if metacopy=on needs it Vivek Goyal
  0 siblings, 2 replies; 4+ messages in thread
From: Vivek Goyal @ 2018-10-30 20:26 UTC (permalink / raw)
  To: linux-unionfs; +Cc: miklos, amir73il, vgoyal

This is V2 of the patch I had posted. Right now if user passes
metacopy=on and if redirect_dir=on is not specified, metacopy is
disabled automatically and a messages is sent to console/logs.

This might be little surprising for user. A better behavior probably
is to return an error if metacopy can't be enabled. Two patches
in the series take care of that.

Vivek Goyal (2):
  overlayfs: Return error if metadata only copy-up can't be enabled
  overlayfs: Enable redirect_dir automatically if metacopy=on needs it

 fs/overlayfs/ovl_entry.h |  2 ++
 fs/overlayfs/super.c     | 73 +++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 68 insertions(+), 7 deletions(-)

-- 
2.13.6

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

end of thread, other threads:[~2018-10-31  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-30 20:26 [PATCH v2 0/2] overlayfs: Handle metacopy mount option better Vivek Goyal
2018-10-30 20:26 ` [PATCH v2 1/2] overlayfs: Return error if metadata only copy-up can't be enabled Vivek Goyal
2018-10-30 21:16   ` Amir Goldstein
2018-10-30 20:26 ` [PATCH v2 2/2] overlayfs: Enable redirect_dir automatically if metacopy=on needs it Vivek Goyal

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