]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gfs2: stop giving out non-cluster-coherent leases
authorMarc Eshel <eshel@almaden.ibm.com>
Mon, 15 Jan 2007 23:33:36 +0000 (18:33 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:17:19 +0000 (19:17 -0400)
commit60446067ba7a8e890a91db3b4a7436fe0ebd2dee
tree17ce000f5f70ef7f53a94ce594d15f10fa964cd0
parent4698afe8e3a725576366f86560a8a8242b21b9f7
gfs2: stop giving out non-cluster-coherent leases

Since gfs2 can't prevent conflicting opens or leases on other nodes, we
probably shouldn't allow it to give out leases at all.

Put the newly defined lease operation into use in gfs2 by turning off
lease, unless we're using the "nolock' locking module (in which case all
locking is local anyway).

Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c