Re: [PATCH v5] overlayfs: Provide a mount option "volatile" to skip sync

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

 



On Mon, Aug 24, 2020 at 3:39 PM Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:

> /me is wondering why I don't get error with $workdir/work/dir1/volatile
> but I do with $workdir/work/dir1/dir2/volatile. IOW, why in first
> case removal of dir1 was successful despite the fact it is non-empty.

It cares for the case when a directory full of whiteouts is echanged
with RENAME_EXCHANGE to an empty opaque dir created under
$workdir/work.

Strictly speaking it wouldn't need to be able to remove directories
under dir1, but it's just reusing the generic cleanup routine, so
everything is cleaned up upto the second level.

Thanks,
Miklos



[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