[PULL REQUEST] fix for v.large RAID5 with v.small chunks

Previous thread: Component size difference with mdadm by Justin Maggard on Tuesday, April 20, 2010 - 2:06 pm. (1 message)

Next thread: very strange raid10,f2 performance by Jon Nelson on Wednesday, April 21, 2010 - 10:02 am. (5 messages)
From: Neil Brown
Date: Tuesday, April 20, 2010 - 10:17 pm

Hi Linus,
 I wonder if you would pull this fix for 2.6.33.
 If you have a very large RAID5 - say 8TB, quite easy these days -
 with very small chunks - say 4K, not common but quite possible -
 then you can get more than 2^31 chunks so storing the number of
 chunks in an 'int' doesn't really work.

Thanks,
NeilBrown

The following changes since commit 85341c61361cc45a9cc0e11c01e8f4479ef460ac:
  Linus Torvalds (1):
        Merge branch 'core-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip

are available in the git repository at:

  git://neil.brown.name/md/ for-linus

NeilBrown (1):
      md/raid5: allow for more than 2^31 chunks.

 drivers/md/raid5.c |   19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)
--

Previous thread: Component size difference with mdadm by Justin Maggard on Tuesday, April 20, 2010 - 2:06 pm. (1 message)

Next thread: very strange raid10,f2 performance by Jon Nelson on Wednesday, April 21, 2010 - 10:02 am. (5 messages)