aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/persistent-data/dm-btree.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-12-09 16:38:12 +0000
committerMike Snitzer <snitzer@redhat.com>2015-12-09 13:27:25 -0500
commit50dd842ad83b43bed71790efb31cfb2f6c05c9c1 (patch)
tree89ae0e1fc73b57d071fcec92d120fa3a19500cfd /drivers/md/persistent-data/dm-btree.c
parentdm thin metadata: fix bug when taking a metadata snapshot (diff)
downloadlinux-dev-50dd842ad83b43bed71790efb31cfb2f6c05c9c1.tar.xz
linux-dev-50dd842ad83b43bed71790efb31cfb2f6c05c9c1.zip
dm space map metadata: fix ref counting bug when bootstrapping a new space map
When applying block operations (BOPs) do not remove them from the uncommitted BOP ring-buffer until after they've been applied -- in case we recurse. Also, perform BOP_INC operation, in dm_sm_metadata_create() and sm_metadata_extend(), in terms of the uncommitted BOP ring-buffer rather than using direct calls to sm_ll_inc(). 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/persistent-data/dm-btree.c')
0 files changed, 0 insertions, 0 deletions