summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-09-03 11:56:17 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-09-10 12:35:37 +0200
commit47f70d5a6ca78c40a1c799d43506efbfed914f7b (patch)
treefff5197359b989197eda76dd019746fbba054e88 /include/keys
parent337238be1bf52e1242f940fc6fe83fb395e55057 (diff)
downloadop-kernel-dev-47f70d5a6ca78c40a1c799d43506efbfed914f7b.zip
op-kernel-dev-47f70d5a6ca78c40a1c799d43506efbfed914f7b.tar.gz
block: kick queue after sequencing REQ_FLUSH/FUA
While completing a request from a REQ_FLUSH/FUA sequence, another request can be pushed to the request queue. If a driver tests elv_queue_empty() before completing a request and runs the queue again only if the queue wasn't empty, this may lead to hang. Please note that most drivers either kick the queue unconditionally or test queue emptiness after completing the current request and don't have this problem. This patch removes this possibility by making REQ_FLUSH/FUA sequence code kick the queue if the queue was empty before completing a request from REQ_FLUSH/FUA sequence. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud