Page MenuHomeFreeBSD

pms: handle maximum size IO with any alignment
ClosedPublic

Authored by rlibby on Jan 8 2021, 7:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 3:33 PM
Unknown Object (File)
Wed, Mar 27, 10:46 PM
Unknown Object (File)
Mar 12 2024, 9:48 AM
Unknown Object (File)
Mar 7 2024, 6:44 PM
Unknown Object (File)
Feb 2 2024, 2:46 AM
Unknown Object (File)
Dec 20 2023, 3:27 AM
Unknown Object (File)
Nov 18 2023, 5:33 AM
Unknown Object (File)
Nov 9 2023, 1:47 PM
Subscribers

Details

Summary

Define the maximum numbers of segments to allow for non-page alignment
at the beginning and end of a maxphys size transfer. Also set
ccb_pathinq.maxio consistent with maxphys.

Sponsored by: Dell EMC Isilon

Test Plan

Here, just make buildkernel. Isilon has tested this downstream, but
has not yet caught up to making maxphys tunable.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rlibby requested review of this revision.Jan 8 2021, 7:31 PM
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1836–1837

Shouldn't this be min(maxphys, 1024*1024)? Or is there no silicon limit?

sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1836–1837

Thanks for the feedback. I'm looking into whether we have a spec. If we can't come up with a definitive answer, I'll go with your suggestion.

sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1836–1837

Sounds good. Or whatever value you are able to test. I'm not super particular nor do I want to artificially limit something we know (or have good reason to believe) works.

imp feedback: keep the limit

This revision is now accepted and ready to land.Jan 13 2021, 10:06 PM