Ignore:
Timestamp:
Oct 8, 2011, 10:28:48 PM (14 years ago)
Author:
cjm
Message:

Version 1.21


  • Triggered by reports of performance loss with NCQ
  • New command line flag "/F" to force using write buffers even when upstream I/O requested non-buffered I/O; the primary purpose of this flag is to debug the NCQ performance drop but the flag may or may not remain.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ctxhook.c

    r121 r125  
    127127
    128128        /* get "current command slot"; only valid if there are no NCQ cmds */
    129         ccs = (int) ((readl(port_mmio + PORT_CMD) >> 8) & 0x0f);
     129        ccs = (int) ((readl(port_mmio + PORT_CMD) >> 8) & 0x1f);
    130130        ddprintf(" PORT_CMD      = 0x%x\n", ccs);
    131131
     
    145145              if (aws->cmd_slot == ccs) {
    146146                /* this is the non-NCQ command that failed */
     147                ddprintf("failing IORB: %Fp\n", iorb);
    147148                problem_iorb = iorb;
    148149              }
Note: See TracChangeset for help on using the changeset viewer.