freebsd-nq/sys/cam/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_all.c NVMe: Add big-endian support 2018-02-22 13:32:31 +00:00
nvme_all.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
nvme_da.c Starting LBA is a 64bit number, so use htole64 instead of htole32. The 2018-03-20 03:37:14 +00:00
nvme_xpt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00