ubifs+overlayfs

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

 



Hi,

It seems that overlayfs requires RENAME_WHITEOUT and RENAME_EXCHANGE.
However, these two flags aren't currently supported in ubifs (or
anything other than ext4, f2fs, and xfs). This causes any atomic
renames to fail (e.g. using 'mv' command).

I'm currently trying to implement these flags, but I'm having some
issues as I'm pretty vanilla when it comes to implementation details
on ubifs. I'm taking inspiration from patches [1] and [2], but I'm
kind of coming up short. Is there anyone currently working on this? If
not, I would certainly appreciate any advice for implementing these
features.

What I'm doing: I'm attempting to create a 'whiteout' object from
within the ubifs_rename function. However, I noticed that it calls
ubifs_jnl_rename, which is where I believe I should try to implement
this. I haven't touched RENAME_EXCHANGE yet.

[1] https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-4.4/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
[2] https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch

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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux