Proposal for a new lock type

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

 



It seems that it might be useful to have a locally shared, globally
exclusive file lock.  "Local" is defined as "when the file is mapped
shared, memory accesses follow the architecture memory model across
threads and processes, and shared POSIX mutexes work".  This could be
used to make the new WAL code in SQLite 3.7 more foolproof, but there
are other applications which would benefit as well.

It seems to me that this would not need changes to network file
systems because you can implement it by acquring a traditional
fcntl()-style exclusive lock on the network side, without creating a
corresponding local lock.
--
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