summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorTejun Heo2006-01-12 15:39:26 +0100
committerLinus Torvalds2006-01-12 18:05:39 +0100
commit1bc691d357c646700b9523d2aeca02847d3fb3f4 (patch)
tree430e13982f894c44e4a33dee188b3c718ec989ed /mm/mempolicy.c
parentMerge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb (diff)
downloadkernel-qcow2-linux-1bc691d357c646700b9523d2aeca02847d3fb3f4.tar.gz
kernel-qcow2-linux-1bc691d357c646700b9523d2aeca02847d3fb3f4.tar.xz
kernel-qcow2-linux-1bc691d357c646700b9523d2aeca02847d3fb3f4.zip
[PATCH] fix queue stalling while barrier sequencing
If ordered tag isn't supported, request ordering for barrier sequencing is performed by queue draining, which basically hangs the request queue until elv_completed_request() reports completion of all previous fs requests. The condition check in elv_completed_request() was only performed for fs requests. If a special request is queued between the last to-be-drained request and the barrier sequence, draining is never completed and the queue is stalled forever. This patch moves the end-of-draining condition check such that it's performed for all requests. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions