[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 06 Jun 2007 09:26:27 -0400
From: Peter Staubach <staubach@...hat.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
CC: Trond Myklebust <trond.myklebust@....uio.no>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] allow file system to configure for no leases
Hi.
Attached is a small patch to allow file systems to inform the file
system independent layers that they don't support file leases.
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.
Thanx...
ps
Sign-off-by: Peter Staubach <staubach@...hat.com>
View attachment "leases.devel" of type "text/plain" (1536 bytes)
Powered by blists - more mailing lists