From: Joe Thornber Date: Wed, 20 Mar 2013 17:21:27 +0000 (+0000) Subject: dm cache: metadata clear dirty bits on clean shutdown X-Git-Tag: v3.9-rc4~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ed9caffc9fff67aa64fd683e791aa70f1bcb51;p=pandora-kernel.git dm cache: metadata clear dirty bits on clean shutdown When writing the dirty bitset to the metadata device on a clean shutdown, clear the dirty bits. Previously they were left indicating the cache was dirty. This led to confusion about whether there really was dirty data in the cache or not. (This was a harmless bug.) Reported-by: Darrick J. Wong Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed