Re: [PATCH] fs/super.c: defer more work after super_block is off of the super_blocks list

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

 



On Fri, Oct 22, 2021 at 04:28:46PM -0700, Luis Chamberlain wrote:
> Once it is off the super_blocks list we don't really need to hold the
> sb_lock anymore, we can defer the rest of the work. This reduces a few
> uneeded operations from contention from the sb_lock.
> 
> This is a minor optimization found through code inspection. If the
> sb_lock is not needed, no need for contention to wait while we free
> items. While at it, add a bit of documentation about the extent to
> which the sb_lock is used.
> 
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>

*poke*

  Luis



[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