linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libata transfer mode & FUA & mode sense page
@ 2005-11-16 16:55 Tejun Heo
  2005-11-16 17:15 ` Jeff Garzik
  2005-11-18  0:33 ` Douglas Gilbert
  0 siblings, 2 replies; 4+ messages in thread
From: Tejun Heo @ 2005-11-16 16:55 UTC (permalink / raw)
  To: Jeff Garzik, Douglas Gilbert, Jens Axboe; +Cc: Linux-ide

Hello, Jeff, Douglas and Jens.

I've been trying to port the ordered reimplementation patchset over to 
post-2.6.15 head of blk tree.  This tree now contains PIO and mode sense 
improvements for libata.

ATA FUA is interesting in that it's supported only for multisector PIO 
and DMA protocols.  There is no ATA_CMD_PIO_WRITE_FUA_EXT.  So, when 
generating mode sense page, the status of FUA supported bit is dependent 
on the configured transfer mode.  As there doesn't seem to be dynamic 
transfer mode configuration yet, I'm thinking of simply passing ap or 
device down to mode sense functions and use it to report FUA status. 
How does that sound?

If dynamic transport configuration is implemented in the future (from EH 
or explicit user input), this FUA bit will go on and off depending on 
transfer mode.  Ugh... It seems that we'll need a way to raise UA for 
configuration change and trigger revalidation of SCSI disk device.

-- 
tejun

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-23  8:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 16:55 libata transfer mode & FUA & mode sense page Tejun Heo
2005-11-16 17:15 ` Jeff Garzik
2005-11-18  0:33 ` Douglas Gilbert
2005-11-23  8:25   ` Tejun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).