HomeFreeBSD

When aggregating TRIM segments, move the new one to the list end.

Description

When aggregating TRIM segments, move the new one to the list end.

New segment at the list head may block all TRIM requests until txg of that
segment can be processed. On my random I/O tests this change reduce peak
TRIM list length from 650 to 450 segments. Hopefully it should reduce TRIM
burstiness when list processing is unblocked.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS276982: Remove no longer used "M_FLOWID" flag and update the netisr manpage.
Branches
Unknown
Tags
Unknown

Event Timeline