]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
IMSM: Count arrays per orom
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Wed, 8 Apr 2015 09:42:18 +0000 (11:42 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 23:06:23 +0000 (09:06 +1000)
commit72a45777041901f37d187920d03462ee6d5e655f
tree80e2c5971f6aa6060a02cb3e6cae082eab26a862
parent87af7267bd07599c89e3b0ef2f4ef7220640991c
IMSM: Count arrays per orom

Active arrays with IMSM metadata are counted per hba so far.
This is bad due to new functionality of orom shared between multiple
controllers i.e. more arrays can be created than is supported by orom.
This patch changes the way of counting arrays, so the result will be
sum of arrays under every hba supported by specific orom.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
platform-intel.c
platform-intel.h
super-intel.c