1
linux/drivers/md
NeilBrown 4b6d287f62 [PATCH] md: add write-behind support for md/raid1
If a device is flagged 'WriteMostly' and the array has a bitmap, and the
bitmap superblock indicates that write_behind is allowed, then write_behind is
enabled for WriteMostly devices.

Write requests will be acknowledges as complete to the caller (via b_end_io)
when all non-WriteMostly devices have completed the write, but will not be
cleared from the bitmap until all devices complete.

This requires memory allocation to make a local copy of the data being
written.  If there is insufficient memory, then we fall-back on normal write
semantics.

Signed-Off-By: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-09 16:39:10 -07:00
..
raid6test
bitmap.c [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
dm-bio-list.h
dm-bio-record.h
dm-crypt.c [CRYPTO]: Use CRYPTO_TFM_REQ_MAY_SLEEP where appropriate 2005-09-01 17:43:25 -07:00
dm-emc.c
dm-exception-store.c
dm-hw-handler.c
dm-hw-handler.h
dm-io.c [PATCH] kill bio->bi_set 2005-09-07 16:57:20 -07:00
dm-io.h
dm-ioctl.c [PATCH] create a kstrdup library function 2005-06-23 09:45:18 -07:00
dm-linear.c
dm-log.c
dm-log.h
dm-mpath.c [PATCH] device-mapper multipath: Fix pg initialisation races 2005-07-12 16:19:11 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c [PATCH] dm: fix rh_dec()/rh_inc() race in dm-raid1.c 2005-09-09 16:39:09 -07:00
dm-round-robin.c
dm-snap.c [PATCH] device-mapper snapshots: Handle origin extension 2005-07-12 16:19:11 -07:00
dm-snap.h
dm-stripe.c
dm-table.c [PATCH] device-mapper: fix deadlocks in core (prep) 2005-07-28 21:46:03 -07:00
dm-target.c
dm-zero.c
dm.c [PATCH] kill bio->bi_set 2005-09-07 16:57:20 -07:00
dm.h
faulty.c
Kconfig
kcopyd.c
kcopyd.h
linear.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
Makefile [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
md.c [PATCH] md: support write-mostly device in raid1 2005-09-09 16:39:10 -07:00
mktables.c
multipath.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
raid0.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
raid1.c [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
raid5.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
raid6.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6main.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c [PATCH] md: fail IO request to md that require a barrier. 2005-09-09 16:39:09 -07:00
unroll.pl
xor.c