Re: [RFC PATCH] fs: make s_count atomic_t

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

 



On Mon, Nov 06, 2023 at 06:08:31PM +0000, Al Viro wrote:
> On Fri, Nov 03, 2023 at 09:19:08AM +0100, Christoph Hellwig wrote:
> > Same feeling as Jan here - this looks fine to me, but I wonder if there's
> > much of a need.  Maybe run it past Al if he has any opinion?
> 
> [resurfaces from dcache stuff]
> 
> TBH, I'd rather see documentation of struct super_block life cycle
> rules written up, just to see what ends up being too ugly to document ;-/
> I have old notes on that stuff, but they are pretty much invalidated by
> the rework that happened this summer...

So I can write up an even more detailed document but
Documentation/filesystems/porting.rst upstream summarizes what has been
done in some detail.

> I don't hate making ->s_count atomic, but short of real evidence that
> sb_lock gets serious contention, I don't see much point either way.

Doesn't really matter enough imho.

> 
> PS: Re dcache - I've a growing branch with a bunch of massage in that area,
> plus the local attempt at documentation that will go there.  How are we
> going to manage the trees?  The coming cycle I'm probably back to normal
> amount of activity; the summer had been a fucking nightmare, but the things
> have settled down by now...  <looks> at least 5 topical branches, just
> going by what I've got at the moment.

One option is that I pull dcache branches from you and merge them into
vfs.all. I can also send them to Linus but I understand if you prefer to
do this yourself.

The other options is that you just do what you do in your tree and we'll
just deal with merge conflicts in next.

Fwiw, I haven't applied a lot of dcache stuff or taken patches of yours
you've Cced me on recently because I wasn't sure whether that was what
you wanted. I'm happy to pick them up ofc.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux