freebsd-dev/sys/dev/nvme
Warner Losh afdbfe1e1b Starting LBA is a 64bit number, so use htole64 instead of htole32. The
latter casts the LBA to a 32-bit number before assigning it to the 64
bit structure entity. This works fine on the first 2TB of TRIMs, but
terrible beyond that due to trucation.

Also, add an assert to make sure we don't end too many DSM TRIM
entries in one request.

Sponsored by: Netflix
2018-03-20 03:37:14 +00:00
..
nvme_ctrlr_cmd.c NVMe: Add big-endian support 2018-02-22 13:32:31 +00:00
nvme_ctrlr.c Fix error messages in cut and pasted code. 2018-03-14 23:28:28 +00:00
nvme_ns_cmd.c NVMe: Add big-endian support 2018-02-22 13:32:31 +00:00
nvme_ns.c Don't make the namespace devices eternal. 2018-03-14 23:01:04 +00:00
nvme_private.h Try polling the qpairs on timeout. 2018-03-16 05:23:48 +00:00
nvme_qpair.c Try polling the qpairs on timeout. 2018-03-16 05:23:48 +00:00
nvme_sim.c Move setting of CAM_SIM_QUEUED to before we actually submit it to the 2018-01-17 17:08:26 +00:00
nvme_sysctl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_test.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme_util.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nvme.c NVMe: Add big-endian support 2018-02-22 13:32:31 +00:00
nvme.h Starting LBA is a 64bit number, so use htole64 instead of htole32. The 2018-03-20 03:37:14 +00:00