linux-sg2042/include/linux/raid
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
..
bitmap.h [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
linear.h [PATCH] md: support md/linear array with components greater than 2 terabytes. 2005-09-09 16:39:10 -07:00
md.h [PATCH] md: allow md intent bitmap to be stored near the superblock. 2005-06-21 19:07:47 -07:00
md_k.h [PATCH] md: limit size of sb read/written to appropriate amount 2005-09-09 16:39:12 -07:00
md_p.h [PATCH] md: allow md to load a superblock with feature-bit '1' set 2005-09-09 16:39:11 -07:00
md_u.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
multipath.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid0.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid1.h [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
raid5.h [PATCH] md: add write-intent-bitmap support to raid5 2005-09-09 16:39:12 -07:00
raid10.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00