]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Filter out LBA formats with LBA Data Size of 0.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 14 Jul 2021 18:01:22 +0000 (14:01 -0400)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 21 Jul 2021 01:55:08 +0000 (21:55 -0400)
commite6afa8ef56108f8f88c00cefd68e0363b32b7369
tree7a0c9bea2f7414a976bcc2284db0d74c0aa3d6b7
parentc7fa58420aa2b9e0d172717f7affe3fa2d11d15a
Filter out LBA formats with LBA Data Size of 0.

According to the spec: "If the value reported is 0h, then LBA format
is not supported / used or is not currently available".

MFC after: 1 week

(cherry picked from commit d379886a4170fa3d95a5354612a5e2c15b104841)
sbin/nvmecontrol/identify.c