commit | 5eb6126e1c5c5b69d90003444acc99743881b7b7 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Mar 22 15:01:51 2017 -0400 |
committer | Jens Axboe <axboe@fb.com> | Wed Mar 22 20:16:59 2017 -0600 |
tree | 9cab7739f84564d9bbe060e1b2334ddc8ec3a7b9 | |
parent | 254d259da0c3cb77f03a2adb8959c293f638a3d2 [diff] |
blk-mq: improve blk_mq_try_issue_directly Rename blk_mq_try_issue_directly to __blk_mq_try_issue_directly and add a new wrapper that takes care of RCU / SRCU locking to avoid having boileplate code in the caller which would get duplicated with new callers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>