Re: [patch 0/3] A few patches for dcache

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

 



On Fri, Jul 29, 2011 at 08:24:41AM +0100, Al Viro wrote:
...
> > > 
> > > Thanks for comments, Dave! Still the read only lock without
> > > increasing sequence number might be useful, no? (patch 1)
> > 
> > I'll defer to Al on that one - the intricacies of the rename locking
> > are way over my head.
> 
> I'm not sure that's safe.  Note that one use of rename_lock is that
> we allow hash lookup to race with d_move().  Which can move object
> from one hash chain to another, so hash lookup may end up jumping
> from one chain to another and getting a false negative.  That's
> why __d_lookup() is not safe without read_seqretry loop (or seq_writelock,
> of course).
> 
...

Thanks a lot for explanations, Al!

	Cyrill
--
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