kernel - Restore kern.cam.da.X.trim_enabled sysctl
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 May 2019 16:06:43 +0000 (09:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 May 2019 16:42:33 +0000 (09:42 -0700)
commitf2187f0a4038fe4a43b3b2ad824cf0b399790e88
treec0ee39d67c45f3e5bc1906d89ac8d5538e897202
parent1dcf1bc7160815bfdd456677e397594daf032e58
kernel - Restore kern.cam.da.X.trim_enabled sysctl

* This sysctl was not always being properly installed due to an
  ordering and timing issue.

* The code was not setting the trim flag in the correct structure.
sys/bus/cam/scsi/scsi_da.c