Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6bdaa1f1 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 5baba830
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment