diff options
author | NeilBrown <[email protected]> | 2005-11-08 21:39:24 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2005-11-09 07:56:37 -0800 |
commit | 86e6ffdd243a06663713e637ee683fb27dce8e0c (patch) | |
tree | d6bc5f26aff6b1a506ad04d8d605d92cfd19162f /fs/xfs/xfs_dir_leaf.h | |
parent | eae1701fbd264cfc7efbaf7cd4cd999760070e27 (diff) |
[PATCH] md: extend md sysfs support to component devices.
Each device in an md array how has a corresponding
/sys/block/mdX/md/devNN/
directory which can contain attributes. Currently there is only 'state' which
summarises the state, nd 'super' which has a copy of the superblock, and
'block' which is a symlink to the block device.
Also, /sys/block/mdX/md/rdNN represents slot 'NN' in the array, and is a
symlink to the relevant 'devNN'. Obviously spare devices do not have a slot
in the array, and so don't have such a symlink.
Signed-off-by: Neil Brown <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_dir_leaf.h')
0 files changed, 0 insertions, 0 deletions