[Bug 265786] broadcom storage controller: bus_dmamap_load_ccb() is failing with EINPROGRESS for 1MB IOs
Date: Thu, 13 Oct 2022 08:41:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265786 --- Comment #2 from Chandrakanth Patil <chandrakanth.patil@broadcom.com> --- (In reply to Warner Losh from comment #1) Hi warner, Below is the Bug ID link where you mentioned that increasing the maxphys will resolve the issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240145 Couple of queries I have on your response: 1. when bus_dmamap_load_ccb() returns "EINPROGRESS" does it mean DMA memory allocation is failing due to the unavailability of DMA memory and what course of action the driver should take after this. do we need to return those IOs with specific error codes? so that those IOs could be re- tried. 2. Does it mean FreeBSD doesn't support 1MB IOs? in that do we need to reduce the max transfer size to < 1MB? if yes, then what could be the correct max IO size NOTE: hardware supports a max transfer size of 1MB -- You are receiving this mail because: You are the assignee for the bug.