]> git.baikalelectronics.ru Git - kernel.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)
commit2602f14302b58f80b26b72b54b149d74ba00c9a1
tree17ce000f5f70ef7f53a94ce594d15f10fa964cd0
parent175fbd5cb456b105d156238ca3862dc34c8b5cab
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