android_kernel_xiaomi_sm8350/include/linux/raid
NeilBrown 6f91fe88e4 [PATCH] md: make sure 64bit fields in version-1 metadata are 64-bit aligned
reshape_position is a 64bit field that was not 64bit aligned.  So swap with
new_level.

NOTE: this is a user-visible change.  However:
  - The bad code has not appeared in a released kernel
  - This code is still marked 'experimental'
  - This only affects version-1 superblock, which are not in wide use
  - These field are only used (rather than simply reported) by user-space
    tools in extemely rare circumstances : after a reshape crashes in the
    first second of the reshape process.

So I believe that, at this stage, the change is safe.  Especially if people
heed the 'help' message on use mdadm-2.4.1.

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-04-11 06:18:30 -07:00
..
bitmap.h [PATCH] md: make md on-disk bitmaps not host-endian 2005-11-09 07:56:38 -08:00
linear.h [PATCH] md: support md/linear array with components greater than 2 terabytes. 2005-09-09 16:39:10 -07:00
md_k.h [PATCH] md: Convert reconfig_sem to reconfig_mutex 2006-03-27 08:45:03 -08:00
md_p.h [PATCH] md: make sure 64bit fields in version-1 metadata are 64-bit aligned 2006-04-11 06:18:30 -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: Checkpoint and allow restart of raid5 reshape 2006-03-27 08:45:01 -08: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] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. 2006-03-23 07:38:03 -08:00
raid5.h [PATCH] md: Only checkpoint expansion progress occasionally 2006-03-27 08:45:02 -08:00
raid10.h [PATCH] md: raid10 read-error handling - resync and read-only 2006-01-06 08:34:05 -08:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00