summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/dprintf.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2016-01-28 23:15:14 +0000
committerjimharris <jimharris@FreeBSD.org>2016-01-28 23:15:14 +0000
commitbab4c585f372eb9a2b1a18bc94709c64ab9724d4 (patch)
treeb6b7ef33b4c6571f0cf1be9b55f756702ad8d429 /lib/libc/stdio/dprintf.c
parente1471224904e2479f5729771b945be48862c4ed5 (diff)
downloadFreeBSD-src-bab4c585f372eb9a2b1a18bc94709c64ab9724d4.zip
FreeBSD-src-bab4c585f372eb9a2b1a18bc94709c64ab9724d4.tar.gz
nvd: add hw.nvd.delete_max tunable
The NVMe specification does not define a maximum or optimal delete size, so technically max delete size is min(full size of namespace, 2^32 - 1 LBAs). A single delete operation for a multi-TB NVMe namespace though may take much longer to complete than the nvme(4) I/O timeout period. So choose a sensible default here that is still suitably large to minimize the number of overall delete operations. This also fixes possible uint32_t overflow on initial TRIM operation for zpool create operations for NVMe namespaces with >4G LBAs. MFC after: 3 days Sponsored by: Intel
Diffstat (limited to 'lib/libc/stdio/dprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud