diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-16 23:44:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-22 19:55:19 +0200 |
commit | a57a178a490345c7236b0077b3de005754389ed6 (patch) | |
tree | 7d5fa8c1c9df7a70e367f78297545c253c890926 /Documentation/volatile-considered-harmful.txt | |
parent | blk-mq: Avoid race condition with uninitialized requests (diff) | |
download | linux-a57a178a490345c7236b0077b3de005754389ed6.tar.xz linux-a57a178a490345c7236b0077b3de005754389ed6.zip |
blk-mq: avoid infinite recursion with the FUA flag
We should not insert requests into the flush state machine from
blk_mq_insert_request. All incoming flush requests come through
blk_{m,s}q_make_request and are handled there, while blk_execute_rq_nowait
should only be called for BLOCK_PC requests. All other callers
deal with requests that already went through the flush statemchine
and shouldn't be reinserted into it.
Reported-by: Robert Elliott <Elliott@hp.com>
Debugged-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Documentation/volatile-considered-harmful.txt')
0 files changed, 0 insertions, 0 deletions