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)
commit6126eb2483a8398329e662eaff5f103e832ed5cb
treeab2490784ee923ff6b702e80143382489191ddb9
parent02006f7a7a715af10974a30b7ad8e6ee340f954c
Revert "block: Split bios on chunk boundaries"

This reverts commit d3805611130af9b911e908af9f67a3f64f4f0914.

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