]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow multiple TRIMs to be done for nda
authorWarner Losh <imp@FreeBSD.org>
Fri, 15 Sep 2017 20:16:06 +0000 (20:16 +0000)
committerWarner Losh <imp@FreeBSD.org>
Fri, 15 Sep 2017 20:16:06 +0000 (20:16 +0000)
commit851063e16a43248efd4b5d02f90d947bf34295ba
tree417af45118fec51ccac888b840add6bee5835f25
parent55c770b40ab137e89cfd4bea6c71e4f3199c4c0e
Allow multiple TRIMs to be done for nda

Don't call cam_iosched_trim_done or cam_iosched_submit_trim for nda
since its hardware can handle almost an arbitrary number of TRIMs and
we don't have to be careful to only ever do one.

Sponsored by: Netflix
sys/cam/nvme/nvme_da.c