|Summary:||HAL doesn't recognize raid0 md-devices|
|Product:||hal||Reporter:||Igor Krivenko <igor.s.krivenko>|
|Component:||hald||Assignee:||David Zeuthen (not reading bugmail) <zeuthen>|
|Status:||NEW ---||QA Contact:|
|i915 platform:||i915 features:|
Description Igor Krivenko 2009-08-20 06:02:33 UTC
For a md-device (say, /dev/md0) HAL tries to read information about rebuild process from sysfs file /sys/devices/virtual/block/md0/md/sync_action (refresh_md_state() function from hald/linux/blockdev.c). This operation is skipped for linear RAID devices because they provide no redundancy and thus don't support rebuilding (there is no /sys/devices/virtual/block/md0/md/sync_action file). According to the same logic and the kernel documentation HAL should skip this step also for RAID0 devices. Now refresh_md_state() just fails for such a device and eventually HAL ignores it.