From: David Zeuthen Date: Wed, 19 Sep 2012 16:21:55 +0000 (-0400) Subject: Express RAID member state as an array of strings, instead of just a string X-Git-Tag: upstream/2.1.2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69f649b74d3d469d6dfe2c9ddd2d2a3a32faff3c;p=platform%2Fupstream%2Fudisks2.git Express RAID member state as an array of strings, instead of just a string The sysfs file /sys/block/md0/md/dev-sda/state is a comma-separated list of states, not just one state. Signed-off-by: David Zeuthen --- diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml index 2e57a82..482c4bb 100644 --- a/data/org.freedesktop.UDisks2.xml +++ b/data/org.freedesktop.UDisks2.xml @@ -1678,8 +1678,8 @@ The object path for the underlying block device (guaranteed to implement the #org.freedesktop.UDisks2.Block interface) slot (type 'i') -1 if the device is not currently part of the array (ie. spare or faulty), otherwise the slot number the device currently fills (between 0 and #org.freedesktop.UDisks2.MDRaid:NumDevices) - state (type 's') - The state of the device - known values include faulty, in_sync, writemostly, blocked and spare + state (type 'as') + The state of the device - known elements include faulty, in_sync, write_mostly, blocked and spare num_read_errors (type 't') An ongoing count of read errors that have been detected on this device but have not caused the device to be evicted from the array expansion (type 'a{sv}') @@ -1691,7 +1691,7 @@ Documentation/md.txt file shipped with the kernel sources. --> - +