Skip to contentSkip to conversation

md fixes for late 4.0-rc

GIT PULL NeilBrown 2 participants 2 messages Apr 12, 2015 – Apr 13, 2015 MD RAID

lore
Share & tools
lore

NeilBrown

author
#0 lore raw

Hi Linus,
two regression fixes for md, one fairly recent and minor (diskstats has confusing data) and one older and more serious - RAID0 with non-power-of-2 chunksize corrupts data. I guess (almost) no-one uses non-power-of-2 chunks.

Thanks,
NeilBrown

The following changes since commit f22e6e847115abc3a0e2ad7bb18d243d42275af1:

Linux 4.0-rc7 (2015-04-06 15:39:45 -0700)

are available in the git repository at:

git://neil.brown.name/md/ tags/md/4.0-rc7-fix

for you to fetch changes up to 47d68979cc968535cb87f3e5f2e6a3533ea48fbd:

md/raid0: fix bug with chunksize not a power of 2. (2015-04-10 15:36:31 +1000)

----------------------------------------------------------------
md fixes for 4.0-rc7

Revert recent change which broke IO accounting. Fix bug with RAID0 arrays with non-power-of-2 chunk size.

----------------------------------------------------------------
Gu Zheng (1):
md: fix md io stats accounting broken

NeilBrown (1):
md/raid0: fix bug with chunksize not a power of 2.

 drivers/md/md.c    | 6 +++++-
 drivers/md/raid0.c | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
#1 lore raw
Quoted 4 lines · NeilBrown

two regression fixes for md, one fairly recent and minor (diskstats has confusing data) and one older and more serious - RAID0 with non-power-of-2 chunksize corrupts data. I guess (almost) no-one uses non-power-of-2 chunks.

So the pull request obviously came in after I had already tagged and pushed out 4.0. I've pulled it now.

Both of them were marked for stable, so they'll make 4.0.x eventually without any further action.

Linus