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
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
