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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux