From: Qu Wenruo Date: Tue, 18 Jun 2019 05:39:38 +0000 (+0800) Subject: dm log writes: fix incorrect comment about the logged sequence example X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7537dad791cdbaf856c05f9dd977556ccd830ef0;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mike Snitzer --- 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,, + * c,a,b,flush,fuad,, * * 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