android_kernel_xiaomi_sdm845/include/linux/raid
NeilBrown 7bfa19f274 [PATCH] md: allow md to update multiple superblocks in parallel.
currently, md updates all superblocks (one on each device) in series.  It
waits for one write to complete before starting the next.  This isn't a big
problem as superblock updates don't happen that often.

However it is neater to do it in parallel, and if the drives in the array have
gone to "sleep" after a period of idleness, then waking them is parallel is
faster (and someone else should be worrying about power drain).

Futher, we will need parallel superblock updates for a future patch which
keeps the intent-logging bitmap near the superblock.

Also remove the silly code that retired superblock updates 100 times.  This
simply never made sense.

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-06-21 19:07:47 -07:00
..
bitmap.h [PATCH] md: allow md intent bitmap to be stored near the superblock. 2005-06-21 19:07:47 -07:00
linear.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md_k.h [PATCH] md: allow md to update multiple superblocks in parallel. 2005-06-21 19:07:47 -07:00
md_p.h [PATCH] md: allow md intent bitmap to be stored near the superblock. 2005-06-21 19:07:47 -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: raid1 support for bitmap intent logging 2005-06-21 19:07:46 -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