android_kernel_xiaomi_sm7250/include/linux/raid
NeilBrown c5d79adba7 md: allow devices to be shared between md arrays
Currently, a given device is "claimed" by a particular array so that it cannot
be used by other arrays.

This is not ideal for DDF and other metadata schemes which have their own
partitioning concept.

So for externally managed metadata, just claim the device for md in general,
require that "offset" and "size" are set properly for each device, and make
sure that if a device is included in different arrays then the active sections
do not overlap.

This involves adding another flag to the rdev which makes it awkward to set
"->flags = 0" to clear certain flags.  So now clear flags explicitly by name
when we want to clear things.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:18 -08:00
..
bitmap.h md: Update md bitmap during resync. 2008-02-06 10:41:18 -08:00
Kbuild
linear.h
md_k.h md: allow devices to be shared between md arrays 2008-02-06 10:41:18 -08:00
md_p.h
md_u.h
md.h [PATCH] md: fix potential memalloc deadlock in md 2007-01-26 13:51:00 -08:00
multipath.h
raid0.h
raid1.h
raid5.h md: handle_stripe5 - add request/completion logic for async read ops 2007-07-13 08:06:17 -07:00
raid10.h
xor.h async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00