md currently uses ->media_changed to make sure rescan_partitions is call on md array after they are assembled. However that doesn't happen until the array is opened, which is later than some people would like. So use blkdev_ioctl to do the rescan immediately that the array has been assembled. This means we can remove all the ->change infrastructure as it was only used to trigger a partition rescan. 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> |
||
|---|---|---|
| .. | ||
| bitmap.h | ||
| Kbuild | ||
| linear.h | ||
| md_k.h | ||
| md_p.h | ||
| md_u.h | ||
| md.h | ||
| multipath.h | ||
| raid0.h | ||
| raid1.h | ||
| raid5.h | ||
| raid10.h | ||
| xor.h | ||