linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [md PATCH 00/24] Allow bitmaps to be resized.
@ 2012-04-17  8:43 NeilBrown
  2012-04-17  8:43 ` [md PATCH 02/24] md/bitmap: add new 'space' attribute for bitmaps NeilBrown
                   ` (24 more replies)
  0 siblings, 25 replies; 27+ messages in thread
From: NeilBrown @ 2012-04-17  8:43 UTC (permalink / raw)
  To: linux-raid


The following series has just been added to my for-next queue
and so should be in 3.5.
  git://neil.brown.name/md for-next
  git://github.com/neilbrown/linux.git md/for-next

It allows md to resize a bitmap on an active array.  This
means that arrays can now be reshaped without first removing the
bitmap.  The bitmap is resized in-place.

As always: review and testing would be greatly appreciated.

NeilBrown

---

NeilBrown (24):
      md/raid5: Allow reshape while a bitmap is present.
      md/raid10: resize bitmap when required during reshape.
      md: allow array to be resized while bitmap is present.
      md/bitmap: make sure reshape request are reflected in superblock.
      md/bitmap: add bitmap_resize function to allow bitmap resizing.
      md/bitmap: use DIV_ROUND_UP instead of open-code
      md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap'
      md/bitmap: make bitmap bitops atomic.
      md/bitmap: make _page_attr bitops atomic.
      md/bitmap: merge bitmap_file_unmap and bitmap_file_put.
      md/bitmap: remove async freeing of bitmap file.
      md/bitmap: convert some spin_lock_irqsave to spin_lock_irq
      md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags.
      md/bitmap: remove single-bit manipulation on sb->state
      md/bitmap: remove bitmap_mask_state
      md/bitmap: move storage allocation from bitmap_load to bitmap_create.
      md/bitmap: separate bitmap file allocation to its own function.
      md/bitmap: store bytes in file rather than just in last page.
      md/bitmap: move some fields of 'struct bitmap' into a 'storage' substruct.
      md/bitmap: change *_page_attr() to take a page number, not a page.
      md/bitmap: centralise allocation of bitmap file pages.
      md/bitmap: allow a bitmap with no backing storage.
      md/bitmap: add new 'space' attribute for bitmaps.
      md/bitmap: disentangle two different 'pending' flags.


 drivers/md/bitmap.c | 1089 +++++++++++++++++++++++++++++----------------------
 drivers/md/bitmap.h |   58 ++-
 drivers/md/md.c     |   53 ++
 drivers/md/md.h     |    3 
 drivers/md/raid1.c  |   11 -
 drivers/md/raid10.c |   47 +-
 drivers/md/raid5.c  |   20 +
 7 files changed, 754 insertions(+), 527 deletions(-)

-- 
Signature


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2012-04-18  3:35 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17  8:43 [md PATCH 00/24] Allow bitmaps to be resized NeilBrown
2012-04-17  8:43 ` [md PATCH 02/24] md/bitmap: add new 'space' attribute for bitmaps NeilBrown
2012-04-17  8:43 ` [md PATCH 01/24] md/bitmap: disentangle two different 'pending' flags NeilBrown
2012-04-17  8:43 ` [md PATCH 05/24] md/bitmap: change *_page_attr() to take a page number, not a page NeilBrown
2012-04-17  8:43 ` [md PATCH 03/24] md/bitmap: allow a bitmap with no backing storage NeilBrown
2012-04-17  8:43 ` [md PATCH 06/24] md/bitmap: move some fields of 'struct bitmap' into a 'storage' substruct NeilBrown
2012-04-17  8:43 ` [md PATCH 08/24] md/bitmap: separate bitmap file allocation to its own function NeilBrown
2012-04-17  8:43 ` [md PATCH 07/24] md/bitmap: store bytes in file rather than just in last page NeilBrown
2012-04-17  8:43 ` [md PATCH 09/24] md/bitmap: move storage allocation from bitmap_load to bitmap_create NeilBrown
2012-04-17  8:43 ` [md PATCH 04/24] md/bitmap: centralise allocation of bitmap file pages NeilBrown
2012-04-17  8:43 ` [md PATCH 13/24] md/bitmap: convert some spin_lock_irqsave to spin_lock_irq NeilBrown
2012-04-17  8:43 ` [md PATCH 10/24] md/bitmap: remove bitmap_mask_state NeilBrown
2012-04-17  8:43 ` [md PATCH 11/24] md/bitmap: remove single-bit manipulation on sb->state NeilBrown
2012-04-17  8:43 ` [md PATCH 16/24] md/bitmap: make _page_attr bitops atomic NeilBrown
2012-04-17  8:43 ` [md PATCH 15/24] md/bitmap: merge bitmap_file_unmap and bitmap_file_put NeilBrown
2012-04-17  8:43 ` [md PATCH 14/24] md/bitmap: remove async freeing of bitmap file NeilBrown
2012-04-17  8:43 ` [md PATCH 12/24] md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags NeilBrown
2012-04-17  8:43 ` [md PATCH 19/24] md/bitmap: use DIV_ROUND_UP instead of open-code NeilBrown
2012-04-17  8:43 ` [md PATCH 20/24] md/bitmap: add bitmap_resize function to allow bitmap resizing NeilBrown
2012-04-17  8:43 ` [md PATCH 17/24] md/bitmap: make bitmap bitops atomic NeilBrown
2012-04-17  8:43 ` [md PATCH 18/24] md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap' NeilBrown
2012-04-17  8:43 ` [md PATCH 23/24] md/raid10: resize bitmap when required during reshape NeilBrown
2012-04-17  8:43 ` [md PATCH 21/24] md/bitmap: make sure reshape request are reflected in superblock NeilBrown
2012-04-17  8:43 ` [md PATCH 22/24] md: allow array to be resized while bitmap is present NeilBrown
2012-04-17  8:43 ` [md PATCH 24/24] md/raid5: Allow reshape while a " NeilBrown
2012-04-18  2:07 ` [md PATCH 00/24] Allow bitmaps to be resized Jack Wang
2012-04-18  3:35   ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).