Documentation/scsi/sd-parameters.rst
.. SPDX-License-Identifier: GPL-2.0
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 =========================== === === =========== ==========
To set cache type to "write back" and save this setting to the drive::
To modify the caching mode without making the change persistent, prepend "temporary " to the cache type string. E.g.::