]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix nvme(4) and nvd(4) to support non 512-byte sector sizes.
authorjimharris <jimharris@FreeBSD.org>
Fri, 19 Jul 2013 21:33:24 +0000 (21:33 +0000)
committerjimharris <jimharris@FreeBSD.org>
Fri, 19 Jul 2013 21:33:24 +0000 (21:33 +0000)
commitc3dfb166eeb405887a8fbe7666d2436133a39c0b
treefefe5bbb7bdf05aa24b1eb44299388d1777ddcd8
parent7018faf19c888299676f60070ea1df0ebe309711
Fix nvme(4) and nvd(4) to support non 512-byte sector sizes.

Recent testing with QEMU that has variable sector size support for
NVMe uncovered some of these issues.  Chatham prototype boards supported
only 512 byte sectors.

Sponsored by: Intel
Reviewed by: carl
MFC after: 3 days
sbin/nvmecontrol/devlist.c
sys/dev/nvme/nvme_ns.c
sys/dev/nvme/nvme_ns_cmd.c