Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7537dad7 authored by Qu Wenruo's avatar Qu Wenruo Committed by Mike Snitzer
Browse files

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: default avatarQu Wenruo <wqu@suse.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent d4e6e836
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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