|
virtual MdUser * | clone () const override |
|
bool | is_spare () const |
|
void | set_spare (bool spare) |
|
bool | is_faulty () const |
|
void | set_faulty (bool faulty) |
|
unsigned int | get_sort_key () const |
|
void | set_sort_key (unsigned int sort_key) |
| When creating a MD RAID the device list passed to the mdadm command is sorted according to the sort-key. More...
|
|
Impl & | get_impl () |
|
const Impl & | get_impl () const |
|
Impl & | get_impl () |
|
const Impl & | get_impl () const |
|
Device * | get_source () |
|
const Device * | get_source () const |
|
sid_t | get_source_sid () const |
|
Device * | get_target () |
|
const Device * | get_target () const |
|
sid_t | get_target_sid () const |
|
bool | operator== (const Holder &rhs) const |
|
bool | operator!= (const Holder &rhs) const |
|
Holder * | copy_to_devicegraph (Devicegraph *devicegraph) const |
| Copies the holder to the devicegraph. More...
|
|
Impl & | get_impl () |
|
const Impl & | get_impl () const |
|
void | save (xmlNode *node) const |
|
|
| MdUser (Impl *impl) |
|
| User (Impl *impl) |
|
| Holder (Impl *impl) |
|
void | create (Devicegraph *devicegraph, const Device *source, const Device *target) |
|
void | load (Devicegraph *devicegraph, const xmlNode *node) |
|
◆ set_sort_key()
void storage::MdUser::set_sort_key |
( |
unsigned int |
sort_key | ) |
|
When creating a MD RAID the device list passed to the mdadm command is sorted according to the sort-key.
For use-cases see https://fate.suse.com/313521/.
The raid devices and spare devices are sorted independently. Sorting of devices with the same sort-key is undefined. Any value is allowed but 0 should mean unknown/unspecified.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/libstorage-ng-3.3.318/storage/Holders/MdUser.h