diff options
| author | NeilBrown <[email protected]> | 2007-05-09 02:35:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:57 -0700 |
| commit | 5b479c91da90eef605f851508744bfe8269591a0 (patch) | |
| tree | d7c2844926d96d794d66b974b300eba2d047465e /include/linux/debugobjects.h | |
| parent | 08a02ecd28bad35a47357e611044dcbeab06e3d7 (diff) | |
md: improve partition detection in md array
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions