(no subject)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: J. Bruce Fields
Subject: (no subject)
Date: Friday, June 8, 2007 - 3:14 pm

J. Bruce Fields <bfields@fieldses.org> wrote:

OK, I went for the former; if you'd rather get this out of git, you can

	git clone http://www.linux-nfs.org/~bfields/linux.git
	git checkout server-cluster-lease-api

The changes from the last version seem pretty trivial, but I've
compile-tested this only for now.

I'm ignoring the problem of breaking leases on unlink and rename.  I
think we should go ahead and do this part now--it's adequate for the
current lease semantics, and even more so for our current application
(just turning off leases selectively on some filesystems)--but I'd
really like to solve that problem eventually.

That's probably not going to happen until we get a cluster filesystem
with real lease support into the kernel....

Changes:
	- do away with the break_lease method.
	- rename __setlease to setlease, setlease to vfs_setlease, and
	  make sure it's setlease (the one that doesn't call into the
	  filesystem) that's exported.
	- rename ->set_lease to ->setlease.  (I don't really care which
	  we go with, it just seemed confusing when everything else was
	  already named without the underscore.)
	- Add a trivial patch that disables leases on nfs (as suggested
	  by a patch elsewhere from Peter Staubach)

--b.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cluster-coherent leases, J. Bruce Fields, (Thu May 31, 2:40 pm)
[PATCH] locks: share more common lease code, J. Bruce Fields, (Thu May 31, 2:40 pm)
[PATCH] gfs2: stop giving out non-cluster-coherent leases, J. Bruce Fields, (Thu May 31, 2:40 pm)
Re: [PATCH] locks: share more common lease code, Trond Myklebust, (Thu May 31, 2:51 pm)
Re: [NFS] [PATCH] locks: share more common lease code, J. Bruce Fields, (Fri Jun 1, 9:30 am)
Re: [NFS] [PATCH] locks: share more common lease code, Trond Myklebust, (Fri Jun 1, 9:36 am)
(no subject), J. Bruce Fields, (Fri Jun 8, 3:14 pm)
(unknown), J. Bruce Fields, (Fri Jun 8, 3:14 pm)