diff options
author | Hans Rosenfeld <hans.rosenfeld@nexenta.com> | 2016-08-30 14:04:52 +0200 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@nexenta.com> | 2016-09-01 17:31:49 +0200 |
commit | 9cfb65faacc43d80fb0e3cc182d2dae107cdf60c (patch) | |
tree | abf7daad61e76ed90acc5f2eb061db432f2a09d5 | |
parent | c667d216889ea8258f2adb49c28cb0ef47990e5a (diff) | |
download | illumos-joyent-9cfb65faacc43d80fb0e3cc182d2dae107cdf60c.tar.gz |
7349 nvme shouldn't ignore namespaces that support extended data LBAs
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r-- | usr/src/uts/common/io/nvme/nvme.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/src/uts/common/io/nvme/nvme.c b/usr/src/uts/common/io/nvme/nvme.c index 41ee79f0ed..16f2d6101b 100644 --- a/usr/src/uts/common/io/nvme/nvme.c +++ b/usr/src/uts/common/io/nvme/nvme.c @@ -75,9 +75,8 @@ * NVMe devices can have multiple namespaces, each being a independent data * store. The driver supports multiple namespaces and creates a blkdev interface * for each namespace found. Namespaces can have various attributes to support - * thin provisioning, extended LBAs, and protection information. This driver - * does not support any of this and ignores namespaces that have these - * attributes. + * thin provisioning and protection information. This driver does not support + * any of this and ignores namespaces that have these attributes. * * * Blkdev Interface: @@ -2067,17 +2066,14 @@ nvme_init(nvme_t *nvme) /* * We currently don't support namespaces that use either: * - thin provisioning - * - extended LBAs * - protection information */ if (idns->id_nsfeat.f_thin || - idns->id_flbas.lba_extlba || idns->id_dps.dp_pinfo) { dev_err(nvme->n_dip, CE_WARN, "!ignoring namespace %d, unsupported features: " - "thin = %d, extlba = %d, pinfo = %d", i + 1, - idns->id_nsfeat.f_thin, idns->id_flbas.lba_extlba, - idns->id_dps.dp_pinfo); + "thin = %d, pinfo = %d", i + 1, + idns->id_nsfeat.f_thin, idns->id_dps.dp_pinfo); nvme->n_ns[i].ns_ignore = B_TRUE; } } |