diff options
author | jimharris <jimharris@FreeBSD.org> | 2015-11-23 17:27:29 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2015-11-23 17:27:29 +0000 |
commit | 2a5cbf223de62db87460aecbca30405dbee59ade (patch) | |
tree | e92e6de3e09efc9b1d02697950faaa6a629f8f93 /sys/dev/nvd/nvd.c | |
parent | e7b87655f99a1ecf09ab62b98b6c0fe5c00ada72 (diff) | |
download | FreeBSD-src-2a5cbf223de62db87460aecbca30405dbee59ade.zip FreeBSD-src-2a5cbf223de62db87460aecbca30405dbee59ade.tar.gz |
MFC r290199:
nvd, nvme: report stripesize through GEOM disk layer
Sponsored by: Intel
Diffstat (limited to 'sys/dev/nvd/nvd.c')
-rw-r--r-- | sys/dev/nvd/nvd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nvd/nvd.c b/sys/dev/nvd/nvd.c index 016d728..5d75876 100644 --- a/sys/dev/nvd/nvd.c +++ b/sys/dev/nvd/nvd.c @@ -279,6 +279,7 @@ nvd_new_disk(struct nvme_namespace *ns, void *ctrlr_arg) disk->d_sectorsize = nvme_ns_get_sector_size(ns); disk->d_mediasize = (off_t)nvme_ns_get_size(ns); disk->d_delmaxsize = (off_t)nvme_ns_get_size(ns); + disk->d_stripesize = nvme_ns_get_stripesize(ns); if (TAILQ_EMPTY(&disk_head)) disk->d_unit = 0; |