android_kernel_xiaomi_sm8350/include/linux/raid
NeilBrown 32a7627cf3 [PATCH] md: optimised resync using Bitmap based intent logging
With this patch, the intent to write to some block in the array can be logged
to a bitmap file.  Each bit represents some number of sectors and is set
before any update happens, and only cleared when all writes relating to all
sectors are complete.

After an unclean shutdown, information in this bitmap can be used to optimise
resync - only sectors which could be out-of-sync need to be updated.

Also if a drive is removed and then added back into an array, the recovery can
make use of the bitmap to optimise reconstruction.  This is not implemented in
this patch.

Currently the bitmap is stored in a file which must (obviously) be stored on a
separate device.

The patch only provided infrastructure.  It does not update any personalities
to bitmap intent logging.

Md arrays can still be used with no bitmap file.  This patch has minimal
impact on such arrays.

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:43 -07:00
..
bitmap.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
linear.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md_k.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
md_p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -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: improve locking on 'safemode' and move superblock writes 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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -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