From: Jens Axboe Date: Tue, 16 Sep 2014 16:37:37 +0000 (-0600) Subject: blk-mq: request deadline must be visible before marking rq as started X-Git-Tag: fixes-for-v3.18-merge-window~80^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=538b75341835e3c2041ff066408de10d24fdc830;p=pandora-kernel.git blk-mq: request deadline must be visible before marking rq as started When we start the request, we set the deadline and flip the bits marking the request as started and non-complete. However, it's important that the deadline store is ordered before flipping the bits, otherwise we could have a small window where the request is marked started but with an invalid deadline. This can confuse the timeout handling. Suggested-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed