Skip to contentSkip to conversation

md update for current merge window

GIT PULL Neil Brown 1 participant 1 message Oct 29, 2010 MD RAID

lore
Share & tools
lore

Neil Brown

author
#0 lore raw

Hi Linus,
as detailed below, a few updates for md for 2.6.37. Nothing really major. The most significant is a few improvements to allocation of bios so we don't exhaust a global pool and so run the risk of dead-lock when multiple md devices are stacked, or used with something else (like swap) that allocates bios from the global pool.

Apart from that, minor bug fixes and clean-up.

Thanks,
NeilBrown

The following changes since commit 12ba8d1e9262ce81a695795410bd9ee5c9407ba1:

fix braino in fs: do not assign default i_ino in new_inode (2010-10-26 20:25:45 -0700)

are available in the git repository at:
git://neil.brown.name/md for-linus

NeilBrown (12):
md: Fix regression with raid1 arrays without persistent metadata.
md: remove md_mutex locking.
md: use sector_t in bitmap_get_counter
md: Fix possible deadlock with multiple mempool allocations.
md: use bio_kmalloc rather than bio_alloc when failure is acceptable. md/raid1: perform mem allocation before disabling writes during resync.
md: change type of first arg to sync_page_io.
md: use separate bio pool for each md device.
md: unplug writes to external bitmaps.
md/raid1: discard unused variable.
md/raid1: fix some typos in comments.
md: tidy up device searches in read_balance.

Tejun Heo (1):
md: fix and update workqueue usage

 drivers/md/bitmap.c |   30 ++++----
 drivers/md/bitmap.h |    4 +-
 drivers/md/faulty.c |    2 +-
 drivers/md/md.c     |  159 ++++++++++++++++++++++++++++--------
 drivers/md/md.h     |    8 ++-
 drivers/md/raid1.c  |  224 ++++++++++++++++++++++----------------------------
 drivers/md/raid1.h  |    2 -
 drivers/md/raid10.c |   42 +++++-----
 drivers/md/raid5.c  |    6 +-
 9 files changed, 272 insertions(+), 205 deletions(-)