aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorGravatar Mikulas Patocka <mpatocka@redhat.com> 2019-04-29 14:57:26 +0200
committerGravatar Mike Snitzer <snitzer@redhat.com> 2019-05-08 13:41:59 -0400
commit482714932ecee063884b5d0ceddadbfafe89ae2b (patch)
tree68c6107c28ef2dcca17b640206251049ec0e8e07 /drivers/hwspinlock
parentdm integrity: handle machine reboot in bitmap mode (diff)
downloadlinux-482714932ecee063884b5d0ceddadbfafe89ae2b.tar.gz
linux-482714932ecee063884b5d0ceddadbfafe89ae2b.tar.bz2
linux-482714932ecee063884b5d0ceddadbfafe89ae2b.zip
dm integrity: implement synchronous mode for reboot handling
Unfortunatelly, there may be bios coming even after the reboot notifier was called. We don't want these bios to make the bitmap dirty again. To address this, implement a synchronous mode - when a bio is about to be terminated, we clean the bitmap and terminate the bio after the clean operation succeeds. This obviously slows down bio processing, but it makes sure that when all bios are finished, the bitmap will be clean. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions