[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <502E8940.7040500@pobox.com>
Date: Fri, 17 Aug 2012 14:11:12 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Paolo Bonzini <pbonzini@...hat.com>
CC: linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
sshtylyov@...sta.com
Subject: Re: [PATCH v3 2/2] ata: implement MODE SELECT command
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@...sta.com>
> Cc: Jeff Garzik <jgarzik@...ox.com>
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists