Re: [PATCH 09/17] NFSv4: Introduce new label structure

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

 



On Wed, May 08, 2013 at 06:06:24PM +0000, Myklebust, Trond wrote:
> On Wed, 2013-05-08 at 13:32 -0400, Steve Dickson wrote:
> > Not the label but the inode. The bit is set in ACCESS, LOOKUP, 
> > LINK, OPEN, CREAT, SETATTR which all clearly update the inode.
> > 
> > So I guess my question is if the bit is not set in any of these 
> > ops how do we know if the label has changed? Should label changes
> > be synchronized with inode updates? 
> 
> I know that Bruce doesn't like FATTR4_CHANGE_SEC_LABEL,

Not true at all, sorry to give that impression.

It doesn't look like a lot of work to implement (how much work would it
be to use on the client side?), and I'd be perfectly happy if someone
would do so.

It's just that noone's volunteered, and my todo list is out of control
as it is.

> but that is the
> only option I can see for implementing a cache consistency model for
> labels. Without it, the choices are:
> 
> 1) always fetch the label as part of every COMPOUND.
> 2) assume the label never changes on the server.
> 
> The main use cases that have been presented for Labeled NFS on Linux
> would tend to push me towards door number 2, Monty please...

And that's fine with me too.

--b.
--
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