summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2015-07-27 15:32:37 +0000
committerjimharris <jimharris@FreeBSD.org>2015-07-27 15:32:37 +0000
commit6e669fcd5fcfae645821748bce9ce554e5ac1024 (patch)
tree25174a64d6b36fc8df64cd25db9b51453bcfc23c /sbin
parent9c93ec1f0bfb28216eaa38482d4a91ea5ff2808e (diff)
downloadFreeBSD-src-6e669fcd5fcfae645821748bce9ce554e5ac1024.zip
FreeBSD-src-6e669fcd5fcfae645821748bce9ce554e5ac1024.tar.gz
MFC r285767:
nvd: set d_delmaxsize to full capacity of NVMe namespace The NVMe specification has no ability to specify a maximum delete size that is less than the full capacity of the namespace - so just using the namespace size is the correct value here. This fixes reported issues where ZFS trim on init looked like it was hanging the system - previously the default I/O max size (128KB on Intel NVMe controllers) was used for delete operations which worked out to only about 8MB/s. With this patch I can add an 800GB DC P3700 drive to a ZFS pool in about 15-20 seconds. Sponsored by: Intel
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud