summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2013-05-11 14:36:38 +0530
committerVijay Bellur <vbellur@redhat.com>2013-05-15 22:21:41 -0700
commit4c0b149d8e7c574186a1ccefd9c74b79f8a06267 (patch)
treec4b764cda3e67a08d48e4ecd2d5ea0e766db889d /xlators
parent845aeb709e0e7e037a5b5afc7bc084d58e7e97ee (diff)
syncop: Remove task from synclock's waitq before 'wake'
Removing task from synclock's waitq after wake could result in a subsequent unlock, wake'ing up the already running task. This fix makes the removal from waitq and wake 'atomic'. Change-Id: Ie51ccf9d38f2cee84471097644aab95496f488b1 BUG: 948686 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/4987 Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions