diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-27 19:22:56 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-03 02:22:54 +0300 |
commit | 51d798cdb5c219000fe76a3ffbcaa846b689ba80 (patch) | |
tree | f80c9ae63c33edb1fbb31c1e92d4c46253aea4c4 /drivers/mtd | |
parent | 5a97806f7dc069d9561d9930a2ae108700e222ab (diff) | |
download | linux-51d798cdb5c219000fe76a3ffbcaa846b689ba80.tar.xz |
block: change the blk_queue_bounce calling convention
The double indirect bio leads to somewhat suboptimal code generation.
Instead return the (original or split) bio, and make sure the
request_queue arguments to the lower level helpers is passed after the
bio to avoid constant reshuffling of the argument passing registers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220727162300.3089193-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions