aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/proc-macros.S
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2016-01-23 08:05:33 +0800
committerJens Axboe <axboe@fb.com>2016-01-22 20:42:30 -0700
commitd0e5fbb01a67e400e82fefe4896ea40c6447ab98 (patch)
tree3c8d2fd4fe59ab2c278d26a2bc37209ba4765195 /arch/arm64/mm/proc-macros.S
parentMerge tag 'please-pull-copy_file_range' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux (diff)
downloadlinux-dev-d0e5fbb01a67e400e82fefe4896ea40c6447ab98.tar.xz
linux-dev-d0e5fbb01a67e400e82fefe4896ea40c6447ab98.zip
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 'arch/arm64/mm/proc-macros.S')
0 files changed, 0 insertions, 0 deletions