]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r236317:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Aug 2012 15:13:13 +0000 (15:13 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Aug 2012 15:13:13 +0000 (15:13 +0000)
commit319f445217016bd40e9a858bf8236dc2052289ed
tree78dbd38b4caf69d54b0df3097a58bd4b7240badc
parentc26871f8a6e5d4c45ce6af357c4d5c696e25f42b
MFC r236317:
Add a rangelock implementation, intended to be used to range-locking
the i/o regions of the vnode data space. The implementation is quite
simple-minded, it uses the list of the lock requests, ordered by
arrival time. Each request may be for read or for write. The
implementation is fair FIFO.

git-svn-id: svn://svn.freebsd.org/base/stable/9@239835 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files
sys/kern/kern_rangelock.c [new file with mode: 0644]
sys/kern/kern_thread.c
sys/kern/vfs_subr.c
sys/sys/proc.h
sys/sys/rangelock.h [new file with mode: 0644]
sys/sys/vnode.h