Trond Myklebust
e6e21970ba
NFSv4: Fix open_to_lock_owner sequenceid allocation...
...
NFSv4 file locking is currently completely broken since it doesn't respect
the OPEN sequencing when it is given an unconfirmed lock_owner and needs to
do an open_to_lock_owner. Worse: it breaks the sunrpc rules by doing a
GFP_KERNEL allocation inside an rpciod callback.
Fix is to preallocate the open seqid structure in nfs4_alloc_lockdata if we
see that the lock_owner is unconfirmed.
Then, in nfs4_lock_prepare() we wait for either the open_seqid, if
the lock_owner is still unconfirmed, or else fall back to waiting on the
standard lock_seqid.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-01-03 09:37:17 -05:00
..
2007-11-06 08:02:53 -06:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:47 -07:00
2007-11-05 15:12:32 -08:00
2007-10-19 11:53:43 -07:00
2007-10-19 11:53:37 -07:00
2007-10-17 08:42:45 -07:00
2007-12-05 09:25:20 -08:00
2007-12-05 09:25:19 -08:00
2007-10-19 11:53:37 -07:00
2007-10-17 08:43:04 -07:00
2007-10-18 14:37:29 -07:00
2007-10-21 02:37:18 -04:00
2007-11-07 04:11:42 -08:00
2007-12-23 12:54:37 -08:00
2007-10-22 08:13:21 -07:00
2007-10-22 08:13:21 -07:00
2007-11-29 09:24:53 -08:00
2007-12-17 19:28:16 -08:00
2007-12-17 19:28:16 -08:00
2007-10-22 08:13:21 -07:00
2007-11-29 09:24:54 -08:00
2007-10-22 08:13:21 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:45 -07:00
2007-11-14 18:45:40 -08:00
2007-10-22 08:13:21 -07:00
2007-12-05 09:21:20 -08:00
2007-10-17 18:49:59 -04:00
2007-12-04 01:35:41 -05:00
2007-11-14 18:45:38 -08:00
2007-10-09 17:17:53 -04:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2008-01-03 09:37:17 -05:00
2007-11-12 14:28:08 -08:00
2007-10-18 14:37:31 -07:00
2007-11-03 12:27:21 -07:00
2007-12-17 10:51:23 -08:00
2007-10-17 08:42:45 -07:00
2007-10-14 12:41:51 -07:00
2008-01-02 13:13:27 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-12-05 09:21:20 -08:00
2007-10-17 08:42:47 -07:00
2007-11-14 18:45:43 -08:00
2007-11-28 13:53:53 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:00 -07:00
2007-12-05 09:21:18 -08:00
2007-12-21 11:40:05 +11:00
2007-12-05 09:21:18 -08:00
2007-10-17 08:43:00 -07:00
2007-10-18 14:37:22 -07:00
2007-12-20 07:49:53 -08:00
2007-10-19 11:53:40 -07:00
2007-10-19 11:53:40 -07:00
2007-10-19 23:21:04 +02:00
2007-10-17 08:42:54 -07:00
2007-10-19 23:21:04 +02:00
2007-10-19 23:21:04 +02:00
2007-10-17 08:42:50 -07:00
2007-10-16 11:03:52 +02:00
2007-10-17 08:42:45 -07:00
2007-10-21 08:54:05 -07:00
2007-10-17 08:42:45 -07:00
2007-11-29 09:24:55 -08:00
2007-10-22 08:13:18 -07:00
2007-10-16 09:42:53 -07:00
2007-12-23 12:54:36 -08:00
2007-10-19 11:53:38 -07:00
2007-11-28 10:58:01 -08:00
2007-10-19 11:53:40 -07:00
2007-10-19 11:53:38 -07:00
2007-10-19 11:53:43 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:00 -07:00
2007-10-21 02:37:38 -04:00
2007-11-07 13:54:07 +01:00
2007-12-17 19:28:16 -08:00
2007-10-22 08:13:19 -07:00
2007-10-30 09:04:18 -07:00
2007-10-17 08:42:56 -07:00
2007-10-25 15:18:29 -07:00
2007-10-16 09:42:54 -07:00
2007-10-21 02:37:18 -04:00
2007-10-21 02:37:25 -04:00
2007-11-14 18:45:42 -08:00
2007-10-15 17:00:19 +02:00
2007-10-21 02:37:25 -04:00
2007-11-14 18:45:42 -08:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:55:33 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:07 -07:00
2007-10-19 23:21:04 +02:00
2007-10-17 08:42:52 -07:00
2007-10-21 02:37:18 -04:00