Re: [PATCH 2/2] ->write_super lock_super pushdown

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

 



On Mon, May 11, 2009 at 11:35:03PM +0200, Christoph Hellwig wrote:
> 
> Push down lock_super into ->write_super instances and remove it from the
> caller.
> 
> Following filesystem don't need ->s_lock in ->write_super and are skipped:
> 
>  * bfs, nilfs2 - no other uses of s_lock and have internal locks in
> 	->write_super
>  * ext2 - uses BKL in ext2_write_super and has internal calls without s_lock
>  * reiserfs - no other uses of s_lock as has reiserfs_write_lock (BKL) in
>  	->write_super

Ehh...  I'm not at all sure that reiserfs one is OK, but we are not exposing
any races that didn't exist before ;-/
--
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