diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2013-04-10 11:26:55 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-04-10 11:26:55 +0200 |
commit | 81ffbf654f0cfeeb44e69832b3d301958a4108d8 (patch) | |
tree | 7c9c2d1c91dc2f696ea7cd0db25a28987195fcf6 /drivers/memory | |
parent | GFS2: replace gfs2_ail structure with gfs2_trans (diff) | |
download | linux-81ffbf654f0cfeeb44e69832b3d301958a4108d8.tar.xz linux-81ffbf654f0cfeeb44e69832b3d301958a4108d8.zip |
GFS2: Add origin indicator to glock callbacks
This patch adds a bool indicating whether the demote
request was originated locally or remotely. This is then
used by the iopen ->go_callback() to make 100% sure that
it will only respond to remote callbacks.
Since ->evict_inode() uses GL_NOCACHE when it attempts to
get an exclusive lock on the iopen lock, this may result
in extra scheduling of the workqueue in case that the
exclusive promotion request failed. This patch prevents
that from happening.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions