imsm: display maximum volumes per controller and array
Display maximum volumes per array and per controller in --detail-platform command. Signed-off-by: Marcin Labun <marcin.labun@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
342460cb8d
commit
0e7f69a873
|
@ -1783,12 +1783,13 @@ static void print_imsm_capability(const struct imsm_orom *orom)
|
|||
imsm_orom_has_chunk(orom, 1024*16) ? " 16M" : "",
|
||||
imsm_orom_has_chunk(orom, 1024*32) ? " 32M" : "",
|
||||
imsm_orom_has_chunk(orom, 1024*64) ? " 64M" : "");
|
||||
printf(" Max Disks : %d\n", orom->tds);
|
||||
printf(" Max Volumes : %d\n", orom->vpa);
|
||||
printf(" 2TB volumes :%s supported\n",
|
||||
(orom->attr & IMSM_OROM_ATTR_2TB)?"":" not");
|
||||
printf(" 2TB disks :%s supported\n",
|
||||
(orom->attr & IMSM_OROM_ATTR_2TB_DISK)?"":" not");
|
||||
printf(" Max Disks : %d\n", orom->tds);
|
||||
printf(" Max Volumes : %d per array, %d per controller\n",
|
||||
orom->vpa, orom->vphba);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue