Re: [PATCH v2 5/8] docs: sysfs-block: document stable_writes

From: Bart Van Assche
Date: Wed Dec 08 2021 - 13:01:17 EST


On 12/7/21 4:56 PM, Eric Biggers wrote:
+What: /sys/block/<disk>/queue/stable_writes
+Date: September 2020
+Contact: linux-block@xxxxxxxxxxxxxxx
+Description:
+ [RW] If the device requires that memory must not be modified
+ while it is being written out to disk, this file will contain
+ '1'. Otherwise it will contain '0'. This file is writable for
+ testing purposes.

Hmm ... doesn't this attribute apply to the process of transferring data from
host memory to the device instead of to writing to the disk? Whether data goes
to the storage device cache or to the storage medium itself depends on attributes
like FUA.

Thanks,

Bart.