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


Groups > linux.kernel > #1647811

Re: [PATCH 4/6] ubifs: Maintain a parent pointer

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: [PATCH 4/6] ubifs: Maintain a parent pointer
Date 2017-05-23 10:50 +0200
Message-ID <tKdFU-Jg-21@gated-at.bofh.it> (permalink)
References <tJFEd-46j-3@gated-at.bofh.it> <tJFEe-46j-11@gated-at.bofh.it> <tKdwe-Fm-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Christoph,

Am 23.05.2017 um 10:37 schrieb Christoph Hellwig:
> On Sun, May 21, 2017 at 10:20:49PM +0200, Richard Weinberger wrote:
>> The new feature UBIFS_FLG_PARENTPOINTER allows looking
>> up the parent. Usually the Linux VFS walks down the filesystem
>> and no parent pointers are needed. But when a filesystem
>> is exportable via NFS such a lookup is needed.
>> We can use a padding field in struct ubifs_ino_node to
>> maintain a pointer to the parent inode.
> 
> Note that nfsd/exportfs will only do this for directories, and beacause
> we hardlinks for other objects that is an important distinction.
> 
> I think the ubifs code should make sure to only maintain the parent
> pointers for directories, otherwise confusion and abuses will happen.

Thanks for the info, I'll massage the code in that direction.

Thanks,
//richard

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


Thread

[PATCH 4/6] ubifs: Maintain a parent pointer Richard Weinberger <richard@nod.at> - 2017-05-21 22:30 +0200
  Re: [PATCH 4/6] ubifs: Maintain a parent pointer Hyunchul Lee <hyc.lee@gmail.com> - 2017-05-22 06:40 +0200
    Re: [PATCH 4/6] ubifs: Maintain a parent pointer Richard Weinberger <richard@nod.at> - 2017-05-22 10:50 +0200
      Re: [PATCH 4/6] ubifs: Maintain a parent pointer Hyunchul Lee <hyc.lee@gmail.com> - 2017-05-23 02:00 +0200
        Re: [PATCH 4/6] ubifs: Maintain a parent pointer Richard Weinberger <richard@nod.at> - 2017-05-23 09:20 +0200
  Re: [PATCH 4/6] ubifs: Maintain a parent pointer Christoph Hellwig <hch@infradead.org> - 2017-05-23 10:40 +0200
    Re: [PATCH 4/6] ubifs: Maintain a parent pointer Richard Weinberger <richard@nod.at> - 2017-05-23 10:50 +0200

csiph-web