summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-target.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-03-20 17:21:27 +0000
committerAlasdair G Kergon <agk@redhat.com>2013-03-20 17:21:27 +0000
commit79ed9caffc9fff67aa64fd683e791aa70f1bcb51 (patch)
treedf0d78e16753fa399ce72a2fe0d28cb107ed3d98 /drivers/md/dm-cache-target.c
parentb978440b8db901aba0c4cd38c7c841c9b5cd9a7e (diff)
downloadlinux-79ed9caffc9fff67aa64fd683e791aa70f1bcb51.tar.gz
linux-79ed9caffc9fff67aa64fd683e791aa70f1bcb51.tar.bz2
linux-79ed9caffc9fff67aa64fd683e791aa70f1bcb51.zip
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 <darrick.wong@oracle.com> Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions