Re: [PATCH 13/13] libata: use PIO for misc ATAPI commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lord wrote:
> Tejun Heo wrote:
>> Alan Cox wrote:
> ..
>> Because we can't use DMA uniformly, I went the other way and tried to
>> use PIO uniformly.  Another important point is that the other OS which
>> is probably the only platform most ATAPI device vendors test against use
>> PIO for these commands.
>>
>>> - Control over the DMA/PIO strategy belongs with the driver. If we mess
>>> that up it will cost us dearly later.
>>
>> And I don't get what we'll lose.  Care to deliberate?
> ..
> 
> Mmmm.. so what happens with the various controllers that can do PIO
> using host-DMA and host-queuing ?   Dropping to *real* PIO mode can
> be quite expensive on those, especially when the channel is shared
> with a hard disk.

They continue to do PIO the way they used to do.  No reason to drop to
*real* PIO mode.  Also, as now DMA / DMA-PIO buffers have trailing drain
buffer for misc ATAPI commands, it should behave the same way as real
PIO mode to the attached drive.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux