commit | 9bb1203b359dff5b36e8e6d0afcfc6fc2c1f8e78 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed May 26 09:32:10 2021 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon May 31 07:34:34 2021 +0200 |
tree | 415df348d582029ac0186d8011b21ebd530b7109 | |
parent | 6eff8085980dba0938cea0193b8a0fd3c6b0c4ca [diff] |
nvme: improve namespace allocation Instead of allocating a big array upfront go probe the namespaces and only allocate an nvme_namespace struct for those namespaces which are actually active. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>