dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/raid
NeilBrown 850b2b420c [PATCH] md: replace magic numbers in sb_dirty with well defined bit flags
Instead of magic numbers (0,1,2,3) in sb_dirty, we have
some flags instead:
MD_CHANGE_DEVS
   Some device state has changed requiring superblock update
   on all devices.
MD_CHANGE_CLEAN
   The array has transitions from 'clean' to 'dirty' or back,
   requiring a superblock update on active devices, but possibly
   not on spares
MD_CHANGE_PENDING
   A superblock update is underway.

We wait for an update to complete by waiting for all flags to be clear.  A
flag can be set at any time, even during an update, without risk that the
change will be lost.

Stop exporting md_update_sb - isn't needed.

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
..
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
bitmap.h [PATCH] md/bitmap: change md/bitmap file handling to use bmap to file blocks 2006-06-26 09:58:38 -07: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
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: fix a comment that is wrong in raid5.h 2006-10-03 08:04:16 -07:00
raid10.h [PATCH] md: support stripe/offset mode in raid10 2006-06-26 09:58:37 -07:00
xor.h