linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/2] Introduce new SATA queued commands
@ 2013-08-08  7:56 Marc C
  2013-08-08  7:56 ` [PATCH RESEND v2 1/2] libata: Add support for SEND/RECEIVE FPDMA QUEUED Marc C
  2013-08-08  7:56 ` [PATCH RESEND v2 2/2] libata: Add support for queued DSM TRIM Marc C
  0 siblings, 2 replies; 3+ messages in thread
From: Marc C @ 2013-08-08  7:56 UTC (permalink / raw)
  To: tj, linux-ide; +Cc: Marc Carino

From: Marc Carino <marc.ceeeee@gmail.com>

This patch series updates the libata driver with some additional
commands which are specified in the more recent versions of the
SATA and ATA specifications. These commands are:

        SEND FPDMA QUEUED
        RECEIVE FPDMA QUEUED.

The new queued commands augment the existing READ and WRITE FPDMA
QUEUED commands. The commands are intended to transport non-media
data to/from a device in a non-blocking manner.

One application of these commands include a queued-style DSM TRIM
operation. The current DSM TRIM command is non-queued, and requires
the initiator to empty out the queue before issuance. The new DSM TRIM
allows the initiator to keep the queue full.

These patches have been validated on an Intel SATA AHCI controller,
on a Micron M500 SSD, using "postmark," "fstrim," and "fsck."

Version history:

v2:
- rebased to 3.11-rc4
- moved auxiliary field to ata_queued_cmd struct
- updated signoff name

v1:
- initial

Marc Carino (2):
  libata: Add support for SEND/RECEIVE FPDMA QUEUED
  libata: Add support for queued DSM TRIM

 drivers/ata/ahci.h        |  8 ++++++++
 drivers/ata/libahci.c     |  1 +
 drivers/ata/libata-core.c | 15 +++++++++++++++
 drivers/ata/libata-scsi.c | 27 +++++++++++++++++++++------
 include/linux/ata.h       | 23 +++++++++++++++++++++++
 include/linux/libata.h    |  6 ++++++
 6 files changed, 74 insertions(+), 6 deletions(-)

-- 
1.8.1.2


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

end of thread, other threads:[~2013-08-08  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08  7:56 [PATCH RESEND v2 0/2] Introduce new SATA queued commands Marc C
2013-08-08  7:56 ` [PATCH RESEND v2 1/2] libata: Add support for SEND/RECEIVE FPDMA QUEUED Marc C
2013-08-08  7:56 ` [PATCH RESEND v2 2/2] libata: Add support for queued DSM TRIM Marc C

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).