android_kernel_samsung_msm8976/include/linux/raid
Paul Clements 9b1d1dac18 [PATCH] md: new sysfs interface for setting bits in the write-intent-bitmap
Add a new sysfs interface that allows the bitmap of an array to be dirtied.
The interface is write-only, and is used as follows:

echo "1000" > /sys/block/md2/md/bitmap

(dirty the bit for chunk 1000 [offset 0] in the in-memory and on-disk
bitmaps of array md2)

echo "1000-2000" > /sys/block/md1/md/bitmap

(dirty the bits for chunks 1000-2000 in md1's bitmap)

This is useful, for example, in cluster environments where you may need to
combine two disjoint bitmaps into one (following a server failure, after a
secondary server has taken over the array).  By combining the bitmaps on
the two servers, a full resync can be avoided (This was discussed on the
list back on March 18, 2005, "[PATCH 1/2] md bitmap bug fixes" thread).

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:17 -07:00
..
bitmap.h [PATCH] md: new sysfs interface for setting bits in the write-intent-bitmap 2006-10-03 08:04:17 -07:00
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
linear.h [PATCH] md: allow a linear array to have drives added while active 2006-06-26 09:58:37 -07:00
md.h [PATCH] md: replace magic numbers in sb_dirty with well defined bit flags 2006-10-03 08:04:17 -07:00
md_k.h [PATCH] md: replace magic numbers in sb_dirty with well defined bit flags 2006-10-03 08:04:17 -07:00
md_p.h [PATCH] md: allow checkpoint of recovery with version-1 superblock 2006-06-26 09:58:37 -07:00
md_u.h [PATCH] md: the scheduled removal of the START_ARRAY ioctl for md 2006-10-03 08:04:16 -07:00
multipath.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid0.h
raid1.h [PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. 2006-03-23 07:38:03 -08:00
raid5.h [PATCH] md: remove the working_disks and failed_disks from raid5 state data. 2006-10-03 08:04:17 -07:00
raid10.h [PATCH] md: remove 'working_disks' from raid10 state 2006-10-03 08:04:17 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00