summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorSomasundaram Krishnasamy2017-04-07 21:14:55 +0200
committerMike Snitzer2017-04-24 21:02:14 +0200
commit117aceb030307dcd431fdcff87ce988d3016c34a (patch)
tree6ee850484a06b5d14f63617a2a6126cd3f4cac11 /drivers/md/dm-rq.c
parentdm thin: fix a memory leak when passing discard bio down (diff)
downloadkernel-qcow2-linux-117aceb030307dcd431fdcff87ce988d3016c34a.tar.gz
kernel-qcow2-linux-117aceb030307dcd431fdcff87ce988d3016c34a.tar.xz
kernel-qcow2-linux-117aceb030307dcd431fdcff87ce988d3016c34a.zip
dm era: save spacemap metadata root after the pre-commit
When committing era metadata to disk, it doesn't always save the latest spacemap metadata root in superblock. Due to this, metadata is getting corrupted sometimes when reopening the device. The correct order of update should be, pre-commit (shadows spacemap root), save the spacemap root (newly shadowed block) to in-core superblock and then the final commit. Cc: stable@vger.kernel.org Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions