summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-07-02 17:35:58 +0800
committerJens Axboe <axboe@kernel.dk>2018-07-09 09:07:53 -0600
commit3f0cedc7e9a0b32e79c79d2aac0c96d2b870ae55 (patch)
treed89b81817e3e11e00965ca756a404cb7f2c57baf /block/blk-mq-sched.c
parentc018c84fdb453ae057f3bcc87a1f1f730d41628b (diff)
downloadlwn-3f0cedc7e9a0b32e79c79d2aac0c96d2b870ae55.tar.gz
lwn-3f0cedc7e9a0b32e79c79d2aac0c96d2b870ae55.zip
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 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions