]> granicus.if.org Git - zfs/commit
Add support for nvme disk detection
authortimor <timor.dd@googlemail.com>
Wed, 21 Mar 2018 15:35:20 +0000 (16:35 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Mar 2018 15:35:20 +0000 (08:35 -0700)
commitc66e54e9dce9244e8565425a457c3b0428fcdece
tree5db62de3230c2b18ff572945d81b8e49c0b4649d
parent089fbf313c59b178c11614b2aed78efc46d60499
Add support for nvme disk detection

This treats /dev/nvme.. devices the same way as /dev/sd... devices.  The
motivation behind this is that whole disk detection did not work on nvme
SSDs without that, because it DKC_UNKNOWN was returned for such devices.

Perhaps there should be a separate DKC_ type for this, but I don't know
enough about the code to know the implications of that.

Reviewed-by: Don Brady <don.brady@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: timor <timor.dd@googlemail.com>
Closes #7304
lib/libefi/rdwr_efi.c