Re: [PATCH] IDE PIO write Fix #2

Andre Hedrick (andre@linux-ide.org)
Mon, 20 May 2002 13:26:34 -0700 (PDT)


On Mon, 20 May 2002, Gunther Mayer wrote:

> Hi Andre,
>
> 1)
> I follow your arguments regarding BUSY_STAT handled earlier.
>
> 2)
> Can you explain, why the code looks at "rq->current_nr_sectors==1" ?
> In ATA-4 there is no special handling for "single-sector-transfer" or
> "last-sector-transfer".

There is a test just not clearly stated, "data block transferred".
It is hidden in the state diagram in the transition states.
Since there is no accounting process in the driver, as it has been
exported to block because of partial completions and page walking.

But obviously most people question my proven judgement on how things work,
so I expect this to be ignored by the masses on lkml. However you I
expect to see the point and issues.

Cheers,

Andre Hedrick
LAD Storage Consulting Group

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/