git: kernel - Restore kern.cam.da.X.trim_enabled sysctl

Matthew Dillon dillon at crater.dragonflybsd.org
Sat May 11 09:42:58 PDT 2019


commit f2187f0a4038fe4a43b3b2ad824cf0b399790e88
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat May 11 09:06:43 2019 -0700

    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.

Summary of changes:
 sys/bus/cam/scsi/scsi_da.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2187f0a4038fe4a43b3b2ad824cf0b399790e88


-- 
DragonFly BSD source repository



More information about the Commits mailing list