diff options
| author | Hou Tao <houtao1@huawei.com> | 2025-01-20 16:29:46 +0800 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-21 13:24:35 +0100 |
| commit | 6fd2cb38c006cbdc4653e7e15e37ab23af59c2de (patch) | |
| tree | c1ab4e3976e8cbde4ad85c48101257cc98c7809b /lib/pm-notifier-error-inject.c | |
| parent | dm-mirror: Support atomic writes (diff) | |
| download | linux-6fd2cb38c006cbdc4653e7e15e37ab23af59c2de.tar.gz linux-6fd2cb38c006cbdc4653e7e15e37ab23af59c2de.zip | |
dm-crypt: set atomic as false when calling crypt_convert() in kworker
Both kcryptd_crypt_write_continue() and kcryptd_crypt_read_continue()
are running in the kworker context, it is OK to call cond_resched(),
Therefore, set atomic as false when invoking crypt_convert() under
kworker context.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
