Skip to contentSkip to conversation

Final block fixes for 5.10

GIT PULL Merged Jens Axboe 2 participants 2 messages Dec 12, 2020 – Dec 13, 2020 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

Mike and Song looked into the warning case, and thankfully it appears the fix was pretty trivial - we can just change the md device chunk type to unsigned int to get rid of it. They cannot currently be < 0, and nobody is checking for that either.

That said, this should be it for 5.10. We're reverting the discard changes as the corruption reports came in very late, and there's just no time to attempt to deal with it at this point. Reverting the changes in question is the right call for 5.10.

Please pull!

The following changes since commit 7e7986f9d3ba69a7375a41080a1f8c8012cb0923:

block: use gcd() to fix chunk_sectors limit stacking (2020-12-01 11:02:55 -0700)

are available in the Git repository at:

git://git.kernel.dk/linux-block.git tags/block-5.10-2020-12-12

for you to fetch changes up to 6ffeb1c3f8226244c08105bcdbeecc04bad6b89a:

md: change mddev 'chunk_sectors' from int to unsigned (2020-12-12 10:07:50 -0700)

----------------------------------------------------------------
block-5.10-2020-12-12

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'md-fixes' of https://git.kernel.org/.../song/md into block-5.10

Mike Snitzer (1):
md: change mddev 'chunk_sectors' from int to unsigned

Song Liu (6):
Revert "dm raid: remove unnecessary discard limits for raid10" Revert "md/raid10: improve discard request for far layout" Revert "md/raid10: improve raid10 discard request"
Revert "md/raid10: pull codes that wait for blocked dev into one function" Revert "md/raid10: extend r10bio devs to raid disks"
Revert "md: add md_submit_discard_bio() for submitting discard bio"

 drivers/md/dm-raid.c |  11 ++
 drivers/md/md.c      |  20 ---
 drivers/md/md.h      |   6 +-
 drivers/md/raid0.c   |  14 +-
 drivers/md/raid10.c  | 423 +++++++--------------------------------------------
 drivers/md/raid10.h  |   1 -
 6 files changed, 82 insertions(+), 393 deletions(-)
Signature · 1 line
Jens Axboe