Any objections/comments on axing out old ATA stack?

Alexander Motin mav at
Sun Apr 21 11:11:10 UTC 2013

On 21.04.2013 00:29, Jeremy Chadwick wrote:
> - The ATA commands which lead up to the error also vary.  Many are for
>    write requests, and from some entries I can see that the OS was doing
>    NCQ writes (WRITE FPDMA QUEUED) and then suddenly decided to do a
>    classic 28-bit LBA write (WRITE DMA).  I'm not sure why an OS would do
>    this (there's nothing optimal about it) unless there were conditions
>    occurring where the OS/ATA driver said "this NCQ write isn't working
>    (timeout, etc.), let me retry with a classic 28-bit LBA write".

ATA disk driver in CAM inserts non-queued command every several seconds 
of continuous load to limit possible command starvation inside the disk. 
SCSI driver does alike things, but inserts ordered command flag, that 
does not exist in SATA, instead of different command.

Alexander Motin

More information about the freebsd-stable mailing list