Skip to content

overlayfs: Handle metacopy mount option better

Vivek Goyal linux-unionfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2overlayfs: Return error if metadata only copy-up can't be enabledfs/overlayfs/ovl_entry.h fs/overlayfs/super.c+46 -71 reply
2/2overlayfs: Enable redirect_dir automatically if metacopy=on needs itfs/overlayfs/ovl_entry.h fs/overlayfs/super.c+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] overlayfs: Handle metacopy mount option better

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(-)
Signature · 1 line
2.13.6