summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-21 18:44:56 +0200
committerAlasdair G Kergon <agk@redhat.com>2008-10-21 18:44:56 +0200
commit7acedc5b98a2fcff64f00c21110aae7d3ac2f7df (patch)
treeed9eda05b30d3606f1ad16e368c313b40c616c3d /drivers/md/dm.h
parentdm exception store: refactor zero_area (diff)
downloadlinux-7acedc5b98a2fcff64f00c21110aae7d3ac2f7df.tar.xz
linux-7acedc5b98a2fcff64f00c21110aae7d3ac2f7df.zip
dm exception store: fix misordered writes
We must zero the next chunk on disk *before* writing out the current chunk, not after. Otherwise if the machine crashes at the wrong time, the "end of metadata" marker may be missing. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: stable@kernel.org
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions