summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-thin-metadata.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-01-31 20:11:54 +0100
committerMike Snitzer <snitzer@redhat.com>2014-02-17 17:00:05 +0100
commitc6eda5e81c4fcc77185117255c7419eda771f67f (patch)
tree4736ef966a154b8a96820a345db96bd6284c69a7 /drivers/md/dm-thin-metadata.h
parentLinux 3.14-rc3 (diff)
downloadlinux-c6eda5e81c4fcc77185117255c7419eda771f67f.tar.xz
linux-c6eda5e81c4fcc77185117255c7419eda771f67f.zip
dm cache: move hook_info into common portion of per_bio_data structure
Commit c9d28d5d ("dm cache: promotion optimisation for writes") incorrectly placed the 'hook_info' member in the writethrough-only portion of the per_bio_data structure. Given that the overwrite optimization may be used for writeback the 'hook_info' member must be placed above the 'cache' member of the per_bio_data structure. Any members above 'cache' are available from both writeback and writethrough modes' per_bio_data structure. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com> Cc: stable@vger.kernel.org # 3.13+
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
0 files changed, 0 insertions, 0 deletions