]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
add mrsas_shutdown method
authoravg <avg@FreeBSD.org>
Thu, 23 May 2019 12:51:13 +0000 (12:51 +0000)
committeravg <avg@FreeBSD.org>
Thu, 23 May 2019 12:51:13 +0000 (12:51 +0000)
commit99452f59c6b0bac45185fd38da706ab441d83c66
tree1496c58a327bc1650a536c31a3d7e86a361bf195
parent83a359ea2aee5ea6d5edf8bc83642f79740cf517
add mrsas_shutdown method

It should be safer to flush controller and disk caches on the shutdown.
And to gracefully shut down the controller as well.
It seems that the Linux driver has been doing that for a long time.

Discussed with: scottl
Reviewed by: imp, Sumit Saxena <sumit.saxena@broadcom.com>
(both earlier version)
MFC after: 3 weeks
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D19817
sys/dev/mrsas/mrsas.c