diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-04-29 15:57:26 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-05-08 20:41:59 +0300 |
commit | 482714932ecee063884b5d0ceddadbfafe89ae2b (patch) | |
tree | 68c6107c28ef2dcca17b640206251049ec0e8e07 /kernel/torture.c | |
parent | 1f5a77591b13a302b60db0dcda57940f3e5d5214 (diff) | |
download | linux-482714932ecee063884b5d0ceddadbfafe89ae2b.tar.xz |
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 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions