summaryrefslogtreecommitdiff
path: root/block/Kconfig.iosched
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2016-01-23 03:05:33 +0300
committerJens Axboe <axboe@fb.com>2016-01-23 06:42:30 +0300
commitd0e5fbb01a67e400e82fefe4896ea40c6447ab98 (patch)
tree3c8d2fd4fe59ab2c278d26a2bc37209ba4765195 /block/Kconfig.iosched
parentb82dde0230439215b55e545880e90337ee16f51a (diff)
downloadlinux-d0e5fbb01a67e400e82fefe4896ea40c6447ab98.tar.xz
block: fix bio splitting on max sectors
After commit e36f62042880(block: split bios to maxpossible length), bio can be splitted in the middle of a vector entry, then it is easy to split out one bio which size isn't aligned with block size, especially when the block size is bigger than 512. This patch fixes the issue by making the max io size aligned to logical block size. Fixes: e36f62042880(block: split bios to maxpossible length) Reported-by: Stefan Haberland <sth@linux.vnet.ibm.com> Cc: Keith Busch <keith.busch@intel.com> Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions