From: James Bottomley Date: Sat, 18 Mar 2006 20:14:21 +0000 (-0600) Subject: [SCSI] allow displaying and setting of cache type via sysfs X-Git-Tag: v2.6.17-rc1~1129^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bdaa1f17dd32ec62345c7b57842f53e6278a2fa;p=pandora-kernel.git [SCSI] allow displaying and setting of cache type via sysfs I think I promised to do this two years ago This patch adds a scsi_disk class with the cache type and FUA parameters, so user land application can easily obtain them without having to parse dmesg. It also allows setting the cache type (use with care...) This patch is a bit dangerous because I've replaced the disk kref with a class device reference ... Signed-off-by: James Bottomley --- Reading git-diff-tree failed