get_all_blocks_for_mdraid


Description:

[ Version ( since = "2.1" ) ]
public List<Block> get_all_blocks_for_mdraid (MDRaid raid)

Gets all RAID devices (e.g. /dev/md0 and /dev/md1) for raid.

This is usually only useful in split-brain situations — see get_block_for_mdraid for an example — and is normally used only to convey the problem in an user interface.

Parameters:

this

A Client.

raid

A MDRaid.

Returns:

A list of Block instances. The returned list should be freed with g_list_free after each element has been freed with unref.




2022 vala-language.org