Home
last modified time | relevance | path

Searched hist:"117 aceb030307dcd431fdcff87ce988d3016c34a" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/md/
H A Ddm-era-target.cdiff 117aceb030307dcd431fdcff87ce988d3016c34a Fri Apr 07 21:14:55 CEST 2017 Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com> 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>