commit | 1b792f2f92784c00db2e6431496e437855d6f12a | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Sep 21 10:12:13 2016 -0600 |
committer | Jens Axboe <axboe@fb.com> | Thu Sep 22 14:28:38 2016 -0600 |
tree | 50c049a9056d96ebaf176d6a339f655282ff9098 | |
parent | 63581af3f31e0dbea112b83f77c4fbb6a10e1406 [diff] |
blk-mq: add flag for drivers wanting blocking ->queue_rq() If a driver sets BLK_MQ_F_BLOCKING, it is allowed to block in its ->queue_rq() handler. For that case, blk-mq ensures that we always calls it from a safe context. Signed-off-by: Jens Axboe <axboe@fb.com> Tested-by: Josef Bacik <jbacik@fb.com>