irrelevant locking
Konstantin Belousov
kib at kib.kiev.ua
Sun Jan 17 08:30:13 UTC 2016
On Sun, Jan 17, 2016 at 09:24:40AM +0100, Mateusz Guzik wrote:
> As a side note I think current code is buggy. VOP_CLOSE is being called
> with only shared lock held even for filesystems without
> MNTK_EXTENDED_SHARED, I don't know how harmful this really is.
Generally LK_EXCLUSIVE for VOP_CLOSE() is only needed when closing for
write. Look at the vn_close() selection of the lock mode as an example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20160117/525a9ca2/attachment.sig>
More information about the freebsd-hackers
mailing list