summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-12-09 16:38:12 +0000
committerLuis Henriques <luis.henriques@canonical.com>2016-01-18 22:27:24 +0000
commitb934c4ec25c8c019eda8aff7ad5e49f728f446cd (patch)
treef0dfbe27168f6a52a75eef26508e50746b6289bf /include
parentb8e3468d3fa86c9a2aea3df16aeddaf41f1b5224 (diff)
dm space map metadata: fix ref counting bug when bootstrapping a new space map
commit 50dd842ad83b43bed71790efb31cfb2f6c05c9c1 upstream. 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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions