Closed petrutlucian94 closed 3 years ago
Retrive disk number and pnp id at driver level
At the moment, libwnbd retrieves the disk number and PNP id using a WMI query per disk, which can be extremely inefficient when having a large amount of disks.
This change will fetch it at the driver level instead.
Signed-off-by: Lucian Petrut lpetrut@cloudbasesolutions.com
Retrive disk number and pnp id at driver level
At the moment, libwnbd retrieves the disk number and PNP id using a WMI query per disk, which can be extremely inefficient when having a large amount of disks.
This change will fetch it at the driver level instead.
Signed-off-by: Lucian Petrut lpetrut@cloudbasesolutions.com