Re: [PATCH] UBIFS: kill BKL

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

 



Bityutskiy Artem (Nokia-D/Helsinki) wrote:
On 07/20/2009 09:16 AM, Hunter Adrian (Nokia-D/Helsinki) wrote:
Artem Bityutskiy wrote:
From: Artem Bityutskiy<Artem.Bityutskiy@xxxxxxxxx>

The BKL was pushed down from VFS to the file-systems. It used
to serialize mount/unmount/remount. UBIFS must be safe if several
file-systems are mounted/unmounted/re-mounted at the same time,
so kill kick the BKL out of UBIFS.

Signed-off-by: Artem Bityutskiy<Artem.Bityutskiy@xxxxxxxxx>
---
Looks like protection is always provided by sb->s_umount

Err, then what would be a possible reason we would need BKL?

Say if we had used BKL instead of c->umount_mutex.
i.e. if we had relied on BKL in some other code
to provide synchronisation with unmounting/remounting etc
--
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