summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-smq.c
diff options
context:
space:
mode:
authorJoe Thornber2015-06-17 14:35:19 +0200
committerMike Snitzer2015-06-17 16:09:23 +0200
commit6096d91af0b65a3967139b32d5adbb3647858a26 (patch)
tree1c78bce04092967acee14e57887ab64c48d865a7 /drivers/md/dm-cache-policy-smq.c
parentdm thin metadata: fix a race when entering fail mode (diff)
downloadkernel-qcow2-linux-6096d91af0b65a3967139b32d5adbb3647858a26.tar.gz
kernel-qcow2-linux-6096d91af0b65a3967139b32d5adbb3647858a26.tar.xz
kernel-qcow2-linux-6096d91af0b65a3967139b32d5adbb3647858a26.zip
dm space map metadata: fix occasional leak of a metadata block on resize
The metadata space map has a simplified 'bootstrap' mode that is operational when extending the space maps. Whilst in this mode it's possible for some refcount decrement operations to become queued (eg, as a result of shadowing one of the bitmap indexes). These decrements were not being applied when switching out of bootstrap mode. The effect of this bug was the leaking of a 4k metadata block. This is detected by the latest version of thin_check as a non fatal error. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions