]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: read all attributes from sysfs when available
authorDaniel Wagner <dwagner@suse.de>
Fri, 1 Dec 2023 09:23:29 +0000 (10:23 +0100)
committerDaniel Wagner <wagi@monom.org>
Tue, 19 Dec 2023 09:06:37 +0000 (10:06 +0100)
commit7959f52960fd1964a75823f1f75f02a91a8304ac
tree19fae8bcdd28b188aff8b1c88e2b85ce54acef22
parentab4d0ae0322c2bdf0eb320002da8d57420a604ce
tree: read all attributes from sysfs when available

The kernel already exposes parts or all attributes we are looking up
with the ns id command. By reading these from the sysfs we can remove
the last command we are issuing during the topology scan.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/nvme/tree.c