HomeFreeBSD

Combine BIO_DELETE requests for nda devices

Description

Combine BIO_DELETE requests for nda devices

Now that we're queueing BIO_DELETE requests in the CAM I/O scheduler,
it make sense to try to combine as many as possible into a single
request to send down to hardware. Hopefully, lots of larger requests
like this are better than lots of individual transactions.

Note for future: need to limit based on total size of the trim
request. Should also collapse adjacent ranges where possible to
increase the size of the max payload.

Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS329815: Introduce capacity flags for periphs
Branches
Unknown
Tags
Unknown