commit | be94f058f2bde6f0b0ee9059a35daa8e15be308f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sat Nov 24 10:15:46 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 29 10:12:32 2018 -0700 |
tree | 260556df3a325221297ae04dea18e07dc8975378 | |
parent | 80ff2040ac3dd6d9d68d59159b0a6dffd8adc5ff [diff] |
blk-mq: use bd->last == true for list inserts If we are issuing a list of requests, we know if we're at the last one. If we fail issuing, ensure that we call ->commits_rqs() to flush any potential previous requests. Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>