diff options
author | Wendy Cheng <wcheng@redhat.com> | 2007-10-05 00:27:58 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 03:07:09 -0500 |
commit | cc7e79b168a552152299bd8a8254dc099aacc993 (patch) | |
tree | 65871c8ec495401846bc9e7030a89d3c6335f5ee /fs/gfs2/rgrp.c | |
parent | 49914084e797530d9baaf51df9eda77babc98fa8 (diff) |
[GFS2] Handle multiple glock demote requests
Fix a race condition where multiple glock demote requests are sent to
a node back-to-back. This patch does a check inside handle_callback()
to see whether a demote request is in progress. If true, it sets a flag
to make sure run_queue() will loop again to handle the new request,
instead of erronously setting gl_demote_state to a different state.
Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
0 files changed, 0 insertions, 0 deletions