]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow NULL ccb to cam_iosched_bio_complete
authorimp <imp@FreeBSD.org>
Wed, 14 Mar 2018 16:44:16 +0000 (16:44 +0000)
committerimp <imp@FreeBSD.org>
Wed, 14 Mar 2018 16:44:16 +0000 (16:44 +0000)
commitbfff519b428a12d97905742411eb22799449b09e
treef8a6f77ddc98f59861d6b21edd87e2cc3fef18c6
parent8d10093050226eb635f69011b581652a20d940cd
Allow NULL ccb to cam_iosched_bio_complete

When the ccb is NULL to cam_iosched_bio_complete, just update the
other statistics, but not the time. If many operations are collapsed
together, this is needed to keep stats properly for the grouped bp.
This should fix trim accounting.

Sponsored by: Netflix
sys/cam/cam_iosched.c