Need i_mutex on lookup in a really really read-only fs?

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

 



Hey all,

Given a file system that is mounted really really read-only[1], do we
still need the directory i_mutex when doing a lookup through a
writable overlay/union mount?  If not, we can probably union together
several read-only file systems underneath a writable layer without any
lock ordering problems.

Even with only one read-only layer, getting rid of the i_mutex during
lookup would simplify the locking strategy significantly. 

Writable overlay/union mounts doc here:

http://lkml.org/lkml/2009/10/1/291

-VAL

[1] VFS: Add read-only users count to superblock
    http://lwn.net/Articles/341129/
--
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