Alexey Obitotskiy <aleksey.obitotskiy@xxxxxxxxx> writes: > OROM defines maximum number of arrays supported. On array creation mdadm > checks if number of arrays doesn't exceed that limit, however it is not > calculated correctly for VMD now. > > The current code performs a lookup of HBA using the id. VMD HBAs have > the same id so each lookup returns the same structure (first > encountered). Take a different approach for VMD HBAs. As id is not > unique and cannot be used for lookups, iterate over all VMD HBAs and > compare both id and HBA path. > > Signed-off-by: Alexey Obitotskiy <aleksey.obitotskiy@xxxxxxxxx> > --- > platform-intel.c | 10 ++++++++++ > platform-intel.h | 1 + > super-intel.c | 48 ++++++++++++++++++++++++++++++++++++------------ > 3 files changed, 47 insertions(+), 12 deletions(-) Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html