]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: Split bios on chunk boundaries
authorKeith Busch <keith.busch@intel.com>
Tue, 22 Dec 2015 22:48:44 +0000 (15:48 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 00:19:25 +0000 (17:19 -0700)
commitd3805611130af9b911e908af9f67a3f64f4f0914
treedd55bd6363e04a32ca4e39661cd097cdb4fa7eff
parent24bc3ea5df2e1d89e9d50ecca57c210b87ad61d2
block: Split bios on chunk boundaries

For h/w that advertise their block storage's underlying chunk size, it's
a big performance win to not submit commands that cross them. This patch
uses that criteria if it is provided. If it is not provided, this patch
uses the max sectors as before.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c