Commit d835971b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Martin K. Petersen
parent b7223d9b
......@@ -38,5 +38,6 @@ Linux SCSI Subsystem
scsi_mid_low_api
scsi-parameters
scsi
sd-parameters
scsi_transport_srp/figures
.. SPDX-License-Identifier: GPL-2.0
======================================
Linux SCSI Disk Driver (sd) Parameters
======================================
......@@ -5,18 +8,20 @@ cache_type (RW)
---------------
Enable/disable drive write & read cache.
cache_type string | WCE RCD | Write cache | Read cache
----------------------------+---------+-------------+------------
write through | 0 0 | off | on
none | 0 1 | off | off
write back | 1 0 | on | on
write back, no read (daft) | 1 1 | on | off
=========================== === === =========== ==========
cache_type string WCE RCD Write cache Read cache
=========================== === === =========== ==========
write through 0 0 off on
none 0 1 off off
write back 1 0 on on
write back, no read (daft) 1 1 on off
=========================== === === =========== ==========
To set cache type to "write back" and save this setting to the drive:
To set cache type to "write back" and save this setting to the drive::
# echo "write back" > cache_type
To modify the caching mode without making the change persistent, prepend
"temporary " to the cache type string. E.g.:
"temporary " to the cache type string. E.g.::
# echo "temporary write back" > cache_type
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment