commit | 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@steeleye.com> | Sat Mar 18 14:14:21 2006 -0600 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Sun Mar 19 10:19:51 2006 -0600 |
tree | fd84576b5b62a48676ed3a9ef136a3f653431cc7 | |
parent | 5baba830e93732e802dc7e0a362eb730e1917f58 [diff] |
[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 <James.Bottomley@SteelEye.com>