android_kernel_xiaomi_sm8350/include/linux/raid
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
..
bitmap.h [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
linear.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md_k.h [PATCH] md: add write-behind support for md/raid1 2005-09-09 16:39:10 -07:00
md_p.h [PATCH] md: support write-mostly device in raid1 2005-09-09 16:39:10 -07:00
md_u.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
md.h [PATCH] md: allow md intent bitmap to be stored near the superblock. 2005-06-21 19:07:47 -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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -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