Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550448

Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable

From Fabian Frederick <fabf@skynet.be>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable
Date 2017-01-04 07:00 +0100
Message-ID <sVMM9-n7-3@gated-at.bofh.it> (permalink)
References <sVEYh-3J6-1@gated-at.bofh.it> <sVFKF-4gI-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> On 03 January 2017 at 23:29 Al Viro <viro@ZenIV.linux.org.uk> wrote:
>
>
> On Tue, Jan 03, 2017 at 10:30:39PM +0100, Fabian Frederick wrote:
> > Add standard functions making AFFS work with NFS.
> >
> > Functions based on ext4 implementation.
> > Tested on loop device.
>
> How the hell is that supposed to work with cold dcache?  You don't have
> ->get_parent() there at all...
>
> There *IS* a reference to parent directory in those suckers - not the same
> kind as in normal unix filesystems (".." is not a directory entry there -
> it's all fake), but it's doable.  be32_to_cpu(AFFS_TAIL(sb, bh)->parent)
> would be the inumber you need, where bh is the inode block of directory.
>
> So it can be done, but not in this form.  NAK for the time being...

I worked on that function declared optional in
Documentation/filesystems/nfs/Exporting
but was unable to test it.

Regards,
Fabian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/6 linux-next] fs/affs: make affs exportable Fabian Frederick <fabf@skynet.be> - 2017-01-03 22:40 +0100
  Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-03 23:30 +0100
    Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable Fabian Frederick <fabf@skynet.be> - 2017-01-04 07:00 +0100
      Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable bfields@fieldses.org (J. Bruce Fields) - 2017-01-13 19:00 +0100
        Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable "J. Bruce Fields" <bfields@fieldses.org> - 2017-01-13 20:10 +0100
          Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-13 21:00 +0100
            Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable "J. Bruce Fields" <bfields@fieldses.org> - 2017-01-13 21:10 +0100
        Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable Christoph Hellwig <hch@infradead.org> - 2017-01-13 20:30 +0100
    Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable Fabian Frederick <fabf@skynet.be> - 2017-01-04 19:00 +0100

csiph-web