[BUG] write_cache sysfs file broken for WCE setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

So I notice that the write_cache sysfs file seems to be broken for WCE
(SBC) setting.

First of all, "write back" gets rejected as "Invalid argument".

On the other hand, while "write through" can be written to the file,
it does not seem to actually change the WCE bit (as per sdparm
reports). There's no new cache setting reporting kernel log either.
However, reading the file after the write does give "write through".

Nevertheless, the file does change accordingly when I set WCE to 0 or
1 with sdparm.

I am reproducing this on 6.6.1. It seems that it at least affects the
6.1.x LTS branch as well though. (I can't tell for sure since for the
latter I am using the raspberrypi tree.)

Regards,
Tom



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux