linux/drivers/md
NeilBrown 72626685dc [PATCH] md: add write-intent-bitmap support to raid5
Most awkward part of this is delaying write requests until bitmap updates have
been flushed.

To achieve this, we have a sequence number (seq_flush) which is incremented
each time the raid5 is unplugged.

If the raid thread notices that this has changed, it flushes bitmap changes,
and assigned the value of seq_flush to seq_write.

When a write request arrives, it is given the number from seq_write, and that
write request may not complete until seq_flush is larger than the saved seq
number.

We have a new queue for storing stripes which are waiting for a bitmap flush
and an extra flag for stripes to record if the write was 'degraded' and so
should not clear the a bit in the bitmap.

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:12 -07:00
..
raid6test
Kconfig
Makefile [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
bitmap.c [PATCH] md: fix bitmap/read_sb_page so that it handles errors properly. 2005-09-09 16:39:11 -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
kcopyd.c
kcopyd.h
linear.c [PATCH] md: support md/linear array with components greater than 2 terabytes. 2005-09-09 16:39:10 -07:00
md.c [PATCH] md: add write-intent-bitmap support to raid5 2005-09-09 16:39:12 -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: raid1_quiesce is back to front, fix it. 2005-09-09 16:39:10 -07:00
raid5.c [PATCH] md: add write-intent-bitmap support to raid5 2005-09-09 16:39:12 -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