On 10/29/2014 02:28 AM, John Snow wrote: > > (1) Update the prepare_buf callback (including the AHCI and BMDMA > implementations) to return, simply, the number of bytes prepared. For > AHCI, the largest this can ever be is something like > > (2) Update uses of the callback or implementations to use this number > directly to determine if the call succeeded, failed, or "succeeded > enough" for our purposes. > > (3) We can reserve the return code of -1 to imply catastrophic failure.
Sounds like a plan. > In the meantime: > Patches 1, 2, and 6 are fine and should be merged. Great! Paolo