diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-07-02 12:35:58 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 18:07:53 +0300 |
commit | 3f0cedc7e9a0b32e79c79d2aac0c96d2b870ae55 (patch) | |
tree | d89b81817e3e11e00965ca756a404cb7f2c57baf /drivers/perf | |
parent | c018c84fdb453ae057f3bcc87a1f1f730d41628b (diff) | |
download | linux-3f0cedc7e9a0b32e79c79d2aac0c96d2b870ae55.tar.xz |
blk-mq: use list_splice_tail_init() to insert requests
list_splice_tail_init() is much more faster than inserting each
request one by one, given all requets in 'list' belong to
same sw queue and ctx->lock is required to insert requests.
Cc: Laurence Oberman <loberman@redhat.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Tested-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions