aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bio-prison-v2.h
diff options
context:
space:
mode:
authorNikos Tsironis <ntsironis@arrikto.com>2019-12-04 16:06:52 +0200
committerMike Snitzer <snitzer@redhat.com>2019-12-05 15:27:53 -0500
commite6a505f3f9fae572fb3ab3bc486e755ac9cef32c (patch)
tree8b2f6f9a3970094f008743b3883f9480cc45589b /drivers/md/dm-bio-prison-v2.h
parentdm btree: increase rebalance threshold in __rebalance2() (diff)
downloadlinux-dev-e6a505f3f9fae572fb3ab3bc486e755ac9cef32c.tar.xz
linux-dev-e6a505f3f9fae572fb3ab3bc486e755ac9cef32c.zip
dm clone metadata: Track exact changes per transaction
Extend struct dirty_map with a second bitmap which tracks the exact regions that were hydrated during the current metadata transaction. Moreover, fix __flush_dmap() to only commit the metadata of the regions that were hydrated during the current transaction. This is required by the following commits to fix a data corruption bug. Fixes: 7431b7835f55 ("dm: add clone target") Cc: stable@vger.kernel.org # v5.4+ Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-bio-prison-v2.h')
0 files changed, 0 insertions, 0 deletions