]> www.infradead.org Git - users/hch/scsi-layout-nvme.git/commitdiff
rewrite the volatile write cache section
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Jun 2022 07:49:04 +0000 (09:49 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 7 Jun 2022 08:06:26 +0000 (10:06 +0200)
Remove a reference to the SATL spec, and take the VWC bit into account.

Signed-off-by: Christoph Hellwig <hch@lst.de>
scsi_nvme_middle.xml

index 8cd393f08acafaed66cb7dfbcf09af383a1c7d9e..cd9b5bc14768b73a8a9de4b4acaa6156cb34ce61 100644 (file)
 
   <section anchor='ssc:caches' title='Volatile write caches'>
     <t>
-      The Volatile Write Cache Enable (WCE) bit (i.e., bit 00) in
+      For NVMe devices a volatile write cache is enabled if bit 0 of the
+      Volatile Write Cache (VWC) field in the Identify Controller Data
+      Structure (see Figure 109 in <xref target="NVME" />) is set and
+      the Volatile Write Cache Enable (WCE) bit (i.e., bit 00) in
       the Volatile Write Cache Feature (Feature Identifier 06h)
-      is the Write Cache Enable field in the NVMe Get Features command
-      (see Section 6.3.3.2 of <xref target="NVME-STLR" />).
+      (see Section 5.21.1.6 of <xref target="NVME" />) is set.
       If a write cache is enabled on a NVMe device used as a storage
       device for the pNFS SCSI layout, the MDS MUST use the NVMe FLUSH
       command to flush the volatile write cache.