Linux Overlay Filesystem development
 help / color / mirror / Atom feed
* Support for filesystems with d_revalidate (NFS)
@ 2015-02-09 15:11 Caldwell, Blake A.
  2015-02-09 21:12 ` Eric Jones
  2015-02-11 13:03 ` David Howells
  0 siblings, 2 replies; 6+ messages in thread
From: Caldwell, Blake A. @ 2015-02-09 15:11 UTC (permalink / raw)
  To: linux-unionfs@vger.kernel.org

Hi there,

Is perhaps a fix for disabling overlayfsroot for filesystems with revalidate on the horizon? My use case for overlayfs is a NFS (v3 or v4) lowerdir, which appears rejected by the code below because NFS defines d_revalidate, d_automount, and d_weak_revalidate (v3 only).

There has been discussion in this launchpad bug about xattr copyup problems:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1039402

fs/overlayfs/super.c@692:
       /*
        * We don't support:
        *  - automount filesystems
        *  - filesystems with revalidate (FIXME for lower layer)
        *  - filesystems with case insensitive names
        */
       if (dop &&
           (dop->d_manage || dop->d_automount ||
            dop->d_revalidate || dop->d_weak_revalidate ||
            dop->d_compare || dop->d_hash)) {
               return false;
       }

Regarding the referenced code in overlayfs-next, is there a condition in which NFSv4 could be supported, such as if mounted read-only?

-Blake

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

end of thread, other threads:[~2015-02-11 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-09 15:11 Support for filesystems with d_revalidate (NFS) Caldwell, Blake A.
2015-02-09 21:12 ` Eric Jones
2015-02-10 18:26   ` Caldwell, Blake A.
2015-02-10 20:28     ` Miklos Szeredi
2015-02-11 13:03 ` David Howells
2015-02-11 20:29   ` Caldwell, Blake A.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox