commit | 97a4f1d7653684fff0d50e9328917506f06e9d79 | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Thu Jun 26 10:47:48 2014 -0400 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Jul 18 11:14:12 2014 +0100 |
tree | 48978e91d468e3e2ad446e272213f23c4fc3a572 | |
parent | 5bef3e7cf18c56cc733777c61b6b61a0b8a62b35 [diff] |
GFS2: Allow caching of glocks for flock This patch removes the GLF_NOCACHE flag from the glocks associated with flocks. There should be no good reason not to cache glocks for flocks: they only force the glock to be demoted before they can be reacquired, which can slow down performance and even cause glock hangs, especially in cases where the flocks are held in Shared (SH) mode. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>