diff options
| author | 2018-11-29 10:03:42 -0700 | |
|---|---|---|
| committer | 2018-11-29 10:12:37 -0700 | |
| commit | b2c5d16b72df1116f05c9be16a630ac939d34101 (patch) | |
| tree | 933ddf90cf418d93f6c0e0cb63c89cc7d925094e /lib/sbitmap.c | |
| parent | blk-mq: use bd->last == true for list inserts (diff) | |
| download | wireguard-linux-b2c5d16b72df1116f05c9be16a630ac939d34101.tar.xz wireguard-linux-b2c5d16b72df1116f05c9be16a630ac939d34101.zip | |
blk-mq: use plug for devices that implement ->commits_rqs()
If we have that hook, we know the driver handles bd->last == true in
a smart fashion. If it does, even for multiple hardware queues, it's
a good idea to flush batches of requests to the device, if we have
batches of requests from the submitter.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions
