]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/commit
MFS r285915:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jul 2015 17:50:05 +0000 (17:50 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jul 2015 17:50:05 +0000 (17:50 +0000)
commitd1fc87659a67a2a6808aa09b238560b376b75e39
treecb817aae3cbd57817ec78fa88ea5bb8e018789ec
parentc48422ae071ecf6104f655eb453ad50f262a9071
MFS r285915:
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.

Approved by: re (gjb)
Sponsored by: Intel

git-svn-id: https://svn.freebsd.org/base/releng/10.2@285919 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/nvd/nvd.c