]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "block: Split bios on chunk boundaries"
authorJens Axboe <axboe@fb.com>
Fri, 8 Jan 2016 16:00:29 +0000 (09:00 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 8 Jan 2016 16:00:29 +0000 (09:00 -0700)
commit8ace2a546f5b7efc995e2a783fcb96edbc060e67
treeab2490784ee923ff6b702e80143382489191ddb9
parent4bb43ef200f74f11a6f23aa1eb05c39c7052f713
Revert "block: Split bios on chunk boundaries"

This reverts commit 153d258e7d8701847339a71da81e88e43eae31ab.

If we end up splitting on the first segment, we don't adjust
the sector count. That results in hitting a BUG() with attempting
to split 0 sectors.

As this is just a performance issue and not a regression since
4.3 release, let's just rever this change. That gives us more
time to test a real fix for 4.5, which would be marked for
stable anyway.
block/blk-merge.c