Review needed

Warner Losh imp at bsdimp.com
Mon Jun 2 16:46:12 UTC 2014


Greetings,

The code that combines adjacent ranges for BIO_DELETEs to optimize
trims to the device assumes the list is sorted. Don't apply the
optimization of not sorting the queue when we have SSDs to the
delete_queue, since it causes more discard traffic to the drive. While
one could argue that the higher levels should coalesce the trims,
that's not done today, so some optimization at this level is needed.

Diffs and a (hopefully) cool review tool: https://phabric.freebsd.org/D142

Comments?

Warner


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20140602/6f3b25e1/attachment.sig>


More information about the freebsd-scsi mailing list