[cam][patch] SCSI disk spin-down on shutdown

Thomas Eberhardt sneakywumpus at gmail.com
Sun Dec 15 15:01:35 UTC 2013


Hi,

Appended is a patch to optionally spin-down SCSI disks on shutdown (i didn’t like the increasing
Power-Off retract events in the SMART-stats of my disks). The patch is based on r203420 and
the current stable/9 ata_da.c code.

My server is running stable/9 and has a bunch of SATA-disks behind three IBM M1015 controllers
(using IT-firmware) and has been running free of trouble for over a year with this patch.

Hopefully i didn’t do any stupid things in the code since i’m not really a kernel hacker. :-)

Regards,

Thomas

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scsi_da-spindown.patch.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20131215/d38a347e/attachment.txt>


More information about the freebsd-scsi mailing list