linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ubifs+overlayfs
@ 2016-02-20  0:02 Pushpal Sidhu
  2016-02-21 14:27 ` ubifs+overlayfs Richard Weinberger
  0 siblings, 1 reply; 5+ messages in thread
From: Pushpal Sidhu @ 2016-02-20  0:02 UTC (permalink / raw)
  To: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-22 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20  0:02 ubifs+overlayfs Pushpal Sidhu
2016-02-21 14:27 ` ubifs+overlayfs Richard Weinberger
2016-02-21 21:19   ` ubifs+overlayfs Dave Chinner
2016-02-22 14:05     ` ubifs+overlayfs Vivek Goyal
2016-02-22 20:44   ` ubifs+overlayfs Pushpal Sidhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).