diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-06-21 10:55:47 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-21 12:01:15 -0600 |
commit | 852ec80983d682dc08a0573d37eeaa9814c4f6b1 (patch) | |
tree | a28ce236f89bd4c8e05a16e5869f3702ba914ea4 /block/blk-mq-pci.c | |
parent | 34bd9c1c4f62e936d8865e6442f332cd85bdfc95 (diff) | |
download | linux-852ec80983d682dc08a0573d37eeaa9814c4f6b1.tar.bz2 |
blk-mq: Make it safe to quiesce and unquiesce from an interrupt handler
Since blk_mq_quiesce_queue_nowait() can be called from interrupt
context, make this safe. Since this function is not in the hot
path, uninline it.
Fixes: commit f4560ffe8cec ("blk-mq: use QUEUE_FLAG_QUIESCED to quiesce queue")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-pci.c')
0 files changed, 0 insertions, 0 deletions