summaryrefslogtreecommitdiff
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-01-08 11:15:56 -0500
committerMike Snitzer <snitzer@redhat.com>2021-01-08 15:57:29 -0500
commit9b5948267adc9e689da609eb61cf7ed49cae5fa8 (patch)
tree341fb881926d76ed49e67fcdd01fbe431301edfe /drivers/md/dm-crypt.c
parent0378c625afe80eb3f212adae42cc33c9f6f31abf (diff)
dm integrity: fix flush with external metadata device
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>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions