summaryrefslogtreecommitdiff
path: root/drivers/md/dm-thin-metadata.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-01-08 19:15:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-23 17:49:55 +0300
commitf9f5547bf02a8ec1a9240b8ab6fece5b28d74d1b (patch)
tree059a1f6159e263fb8471a6dfe56990225b89a3a2 /drivers/md/dm-thin-metadata.c
parent189863162d620386015a55f9a9028d35c30e3c12 (diff)
downloadlinux-f9f5547bf02a8ec1a9240b8ab6fece5b28d74d1b.tar.xz
dm integrity: fix flush with external metadata device
commit 9b5948267adc9e689da609eb61cf7ed49cae5fa8 upstream. With external metadata device, flush requests are not passed down to the data device. Fix this by submitting the flush request in dm_integrity_flush_buffers. In order to not degrade performance, we overlap the data device flush with the metadata device flush. Reported-by: Lukas Straub <lukasstraub2@web.de> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
0 files changed, 0 insertions, 0 deletions