Re: [PATCH v2 17/23] ovl: whiteout index when union nlink drops to zero

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

 



On Thu, Jan 4, 2018 at 5:40 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
> With the 'verify' feature enabled, when overlay inode nlink drops to
> zero, instead of removing the index entry, replace it with a whiteout
> index entry.
>
> This is needed for NFS export in order to prevent future open by handle
> from opening the lower file directly.

Just thinking out loud: how could we get rid of index whiteouts in the
"rm -rf" case?  Only way is if encoding parent as well, and we
recursively check for a whiteout in the ancestors.   Probably not
worth bothering with in the first version, but later maybe?

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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