Skip to contentSkip to conversation

block/sd: Fix device-imposed transfer length limits

stable 3.18+ Ben Hutchings 2 participants 2 messages Jan 1, 2016 Stable branch

lore
Share & tools
lore
#0 lore raw

Please pick the following commit for 3.18-stable and later stable branches:

commit ca369d51b3e1649be4a72addd6d6a168cfb3f537
Author: Martin K. Petersen <[email protected]> Date:   Fri Nov 13 16:46:48 2015 -0500

    block/sd: Fix device-imposed transfer length limits

It fixes a regression that was introduced in 4.2 and then backported to those stable branches.

Ben.

Signature · 2 lines
Ben Hutchings
All the simple programs have been written, and all the good names taken.
#1 lore raw
Quoted 11 lines · Ben Hutchings

Please pick the following commit for 3.18-stable and later stable branches:

commit ca369d51b3e1649be4a72addd6d6a168cfb3f537
Author: Martin K. Petersen <[email protected]> Date:   Fri Nov 13 16:46:48 2015 -0500

    block/sd: Fix device-imposed transfer length limits

It fixes a regression that was introduced in 4.2 and then backported to those stable branches.

Just a heads-up that this will require some additional backporting love, since it breaks compilation of older md due to (I think) commit 8ae126660fddbe ("block: kill merge_bvec_fn() completely").

I tried to merge this into my 4.1++ (because SMR drama) but offhand didn't know how to fix the conflict in md, so maybe someone more familiar with the block layer/bio merging can help.

-h