summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorQu Wenruo2019-06-18 07:39:38 +0200
committerMike Snitzer2019-07-09 20:13:33 +0200
commit7537dad791cdbaf856c05f9dd977556ccd830ef0 (patch)
tree431b682cceab62f0a1cc974bd60323724d63bff5 /drivers/md
parentdm log writes: use struct_size() to calculate size of pending_block (diff)
downloadkernel-qcow2-linux-7537dad791cdbaf856c05f9dd977556ccd830ef0.tar.gz
kernel-qcow2-linux-7537dad791cdbaf856c05f9dd977556ccd830ef0.tar.xz
kernel-qcow2-linux-7537dad791cdbaf856c05f9dd977556ccd830ef0.zip
dm log writes: fix incorrect comment about the logged sequence example
dm-log-writes records the sequence of completion, not submission, thus for the following sequence (W=write, C=complete): Wa,Wb,Wc,Cc,Ca,FLUSH,FUAd,Cb,CFLUSH,CFUAd The logged results in log device should be: c,a,b,flush,fua Fix the comment to give a better example. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-log-writes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-log-writes.c b/drivers/md/dm-log-writes.c
index 0837b17e1798..99721c76225d 100644
--- a/drivers/md/dm-log-writes.c
+++ b/drivers/md/dm-log-writes.c
@@ -40,7 +40,7 @@
*
* Would result in the log looking like this:
*
- * c,a,flush,fuad,b,<other writes>,<next flush>
+ * c,a,b,flush,fuad,<other writes>,<next flush>
*
* This is meant to help expose problems where file systems do not properly wait
* on data being written before invoking a FLUSH. FUA bypasses cache so once it