J. Bruce Fields
370f6599e8
nfs: disable leases over NFS
...
As Peter Staubach says elsewhere
(http://marc.info/?l=linux-kernel&m=118113649526444&w=2 ):
> The problem is that some file system such as NFSv2 and NFSv3 do
> not have sufficient support to be able to support leases correctly.
> In particular for these two file systems, there is no over the wire
> protocol support.
>
> Currently, these two file systems fail the fcntl(F_SETLEASE) call
> accidentally, due to a reference counting difference. These file
> systems should fail more consciously, with a proper error to
> indicate that the call is invalid for them.
Define an nfs setlease method that just returns -EINVAL.
If someone can demonstrate a real need, perhaps we could reenable
them in the presence of the "nolock" mount option.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-07-18 19:17:19 -04:00
..
2007-07-16 16:03:25 -05:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-16 09:05:43 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-17 10:23:06 -07:00
2007-07-15 16:40:51 -07:00
2007-07-10 17:18:59 -07:00
2007-05-07 12:12:51 -07:00
2007-07-11 16:09:00 -07:00
2007-05-08 11:14:59 -07:00
2007-07-10 17:10:56 -07:00
2007-07-17 10:23:08 -07:00
2007-07-17 10:23:06 -07:00
2007-07-17 10:23:06 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 10:23:06 -07:00
2007-07-16 09:05:41 -07:00
2007-07-10 08:04:13 +02:00
2007-07-18 19:17:19 -04:00
2007-07-10 08:04:13 +02:00
2007-07-17 12:00:03 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-02-12 09:48:47 -08:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:06 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:48 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 10:23:07 -07:00
2007-07-10 08:04:13 +02:00
2007-02-12 09:48:46 -08:00
2007-07-16 09:05:43 -07:00
2007-07-18 19:17:19 -04:00
2007-07-18 19:14:12 -04:00
2007-07-16 09:05:52 -07:00
2007-07-17 10:23:06 -07:00
2007-07-17 15:19:06 -07:00
2007-05-17 05:23:04 -07:00
2007-07-16 12:01:30 -07:00
2007-07-17 10:23:03 -07:00
2007-07-10 08:04:13 +02:00
2007-07-17 10:22:59 -07:00
2007-07-17 12:00:03 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:09 -07:00
2007-07-10 08:04:13 +02:00
2007-07-17 16:23:19 -04:00
2007-07-16 09:05:50 -07:00
2007-02-12 09:48:46 -08:00
2007-07-17 10:23:06 -07:00
2007-05-11 08:29:37 -07:00
2007-07-17 11:50:26 -07:00
2007-07-17 12:00:03 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:47 -07:00
2007-05-08 11:15:07 -07:00
2007-06-08 17:23:32 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:03:34 +02:00
2007-07-16 09:05:50 -07:00
2007-07-17 10:23:02 -07:00
2007-04-04 21:12:47 -07:00
2007-07-16 09:05:52 -07:00
2007-05-23 20:14:12 -07:00
2007-07-17 10:23:00 -07:00
2007-07-03 18:23:23 -07:00
2007-07-17 10:23:00 -07:00
2007-07-16 09:05:36 -07:00
2007-05-18 13:09:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-23 20:14:13 -07:00
2007-07-17 12:00:03 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 10:23:00 -07:00
2007-02-12 09:48:28 -08:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-02-12 09:48:32 -08:00
2007-07-17 10:23:07 -07:00
2007-05-21 14:34:00 +09:00
2007-05-09 06:44:57 +02:00
2007-07-18 19:17:06 -04:00
2007-05-11 08:29:36 -07:00
2007-07-17 10:23:00 -07:00
2007-05-11 08:29:35 -07:00
2007-07-17 12:00:03 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:45 -07:00
2007-07-10 08:04:16 +02:00
2007-05-08 11:15:11 -07:00
2007-07-16 09:05:48 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:09 -07:00
2007-05-09 07:10:02 +02:00
2007-07-16 09:05:45 -07:00
2007-06-28 11:34:54 -07:00
2007-07-16 15:02:48 +02:00
2007-02-19 14:21:50 -08:00
2007-05-08 11:15:07 -07:00
2007-07-16 09:05:46 -07:00
2007-06-28 11:38:30 -07:00
2007-05-18 13:09:34 -07:00
2007-07-17 12:00:03 -07:00
2007-02-14 08:09:54 -08:00
2007-07-17 12:00:03 -07:00