Bug 23423 - HAL doesn't recognize raid0 md-devices
Summary: HAL doesn't recognize raid0 md-devices
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 06:02 UTC by Igor Krivenko
Modified: 2009-08-20 06:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.