aboutsummaryrefslogtreecommitdiff
path: root/fs/afs/cmservice.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-07-05 14:18:21 +0200
committerJeff Garzik2012-08-17 14:10:36 -0400
commit1b26d29ccd592ea585c7cc291384184c5568da92 (patch)
tree561574fb2d7d1901134044f5f4d4340ade3ce07e /fs/afs/cmservice.c
parent6ca8e79466d34874c188906e775c8f1f8c89b67a (diff)
[libata] scsi: implement MODE SELECT command
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. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'fs/afs/cmservice.c')
0 files changed, 0 insertions, 0 deletions