diff options
| author | Ming Lei <[email protected]> | 2018-04-08 17:48:10 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-04-10 08:38:46 -0600 |
| commit | f82ddf1923b90f89665d08cf219287c8f9deb739 (patch) | |
| tree | 24becd9e5556a348cf23859eea2dbe5acb020e59 /lib/mpi/mpi-bit.c | |
| parent | 476f8c98a9bccccbb97866974ffc80879adf2bbb (diff) | |
blk-mq: introduce blk_mq_hw_queue_first_cpu() to figure out first cpu
This patch introduces helper of blk_mq_hw_queue_first_cpu() for
figuring out the hctx's first cpu, and code duplication can be
avoided.
Cc: Stefan Haberland <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions