Re: [git pull] vfs.git - including i_mutex wrappers

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

 



On Sat, Jan 23, 2016 at 02:58:54PM +0000, Al Viro wrote:
> 	->i_mutex wrappers (with small prereq in lustre), fix for too

Please explain, Al?

I haven't heard anything about there being i_mutex changes pending,
and this commit says "over the coming cycle ->i_mutex will become
rwsem".  That's a complete surprise to me, and not something that
should be done with no warning.

What's the locking model? How are filesystems supposed to use it?
Are they even allowed to use read-mode locking, and if so, what
operations is it going to be safe to hold the lock in read mode?

Why is this change considered valid now, when previously there's
always been significant push-back to any suggestion that we should
make the i_mutex a rwsem so we can do shared read-only access
locking on inode operations?


Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
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