2015-04-12 23:20:40

by NeilBrown

[permalink] [raw]
Subject: [GIT PULL REQUEST] md fixes for late 4.0-rc


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(-)


Attachments:
(No filename) (811.00 B)
OpenPGP digital signature

2015-04-13 17:13:46

by Linus Torvalds

[permalink] [raw]
Subject: Re: [GIT PULL REQUEST] md fixes for late 4.0-rc

On Sun, Apr 12, 2015 at 4:20 PM, NeilBrown <[email protected]> wrote:
>
> 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