From: Jeff Garzik <jgarzik@pobox.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
sshtylyov@mvista.com
Subject: Re: [PATCH v3 2/2] ata: implement MODE SELECT command
Date: Fri, 17 Aug 2012 14:11:12 -0400 [thread overview]
Message-ID: <502E8940.7040500@pobox.com> (raw)
In-Reply-To: <1341490701-15348-3-git-send-email-pbonzini@redhat.com>
On 07/05/2012 08:18 AM, Paolo Bonzini wrote:
> The cache_type file in sysfs lets users configure the disk cache in
> write-through or write-back modes. However, ata disks do not support
> writing to the file because they do not implement the MODE SELECT
> command.
>
> This patch adds a translation from MODE SELECT (for the caching page
> only) to the ATA SET FEATURES command. The set of changeable parameters
> answered by MODE SENSE is also adjusted accordingly.
>
> Cc: Sergei Shtylyov <sshtylyov@mvista.com>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> v2->v3: ensure that only the first page of the sg list is
> accessed
>
> drivers/ata/libata-scsi.c | 194 +++++++++++++++++++++++++++++++++++++++++++--
> 1 files changed, 188 insertions(+), 6 deletions(-)
applied 1-2
prev parent reply other threads:[~2012-08-17 18:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 12:18 [PATCH v3 0/2] ata: MODE SELECT implementation Paolo Bonzini
2012-07-05 12:18 ` [PATCH v3 1/2] ata: support MODE SENSE request for changeable and default parameters Paolo Bonzini
2012-07-05 12:18 ` [PATCH v3 2/2] ata: implement MODE SELECT command Paolo Bonzini
2012-08-17 18:11 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=502E8940.7040500@pobox.com \
--to=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=sshtylyov@mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).