linux/fs/lockd
Marc Eshel f812048020 lockd: always preallocate block in nlmsvc_lock()
Normally we could skip ever having to allocate a block in the case where
the client asks for a non-blocking lock, or asks for a blocking lock that
succeeds immediately.

However we're going to want to always look up a block first in order to
check whether we're revisiting a deferred lock call, and to be prepared to
handle the case where the filesystem returns -EINPROGRESS--in that case we
want to make sure the lock we've given the filesystem is the one embedded
in the block that we'll use to track the deferred request.

Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2007-05-06 20:38:50 -04:00
..
clntlock.c
clntproc.c
host.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile
mon.c
svc4proc.c lockd: handle test_lock deferrals 2007-05-06 20:38:50 -04:00
svc.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
svclock.c lockd: always preallocate block in nlmsvc_lock() 2007-05-06 20:38:50 -04:00
svcproc.c lockd: handle test_lock deferrals 2007-05-06 20:38:50 -04:00
svcshare.c
svcsubs.c locks: allow {vfs,posix}_lock_file to return conflicting lock 2007-05-06 19:23:24 -04:00
xdr4.c
xdr.c