[GIT PULL REQUEST] md fixes for late 4.0-rc

From: NeilBrown
Date: Sun Apr 12 2015 - 19:20:46 EST

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.


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

Attachment: pgpYf4OLFtvuk.pgp
Description: OpenPGP digital signature