]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For the dynamic I/O scheduler, make the TRIM stuff also count against
authorimp <imp@FreeBSD.org>
Thu, 26 Jul 2018 22:55:51 +0000 (22:55 +0000)
committerimp <imp@FreeBSD.org>
Thu, 26 Jul 2018 22:55:51 +0000 (22:55 +0000)
commit61ca973984b2db3d3ea12120dcc0e919fc90392c
treeacd03335ef47e846368beef62cc030672580ef70
parent9078928a8cddd5a6e98f535c4dc205355cb10686
For the dynamic I/O scheduler, make the TRIM stuff also count against
read bias so we do reads in preference to TRIMs. This helps a lot when
many trims are delivered at once from the upper layers as they tend to
delay READs due to priority inversion in the code today.

The non iosched case will be fixed when the trim comibing changes
needed for nvme come in later this year.

Sponsored by: Netflix
sys/cam/cam_iosched.c