diff options
author | Hou Tao <houtao1@huawei.com> | 2025-01-20 11:29:46 +0300 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-21 15:24:35 +0300 |
commit | 6fd2cb38c006cbdc4653e7e15e37ab23af59c2de (patch) | |
tree | c1ab4e3976e8cbde4ad85c48101257cc98c7809b /scripts/lib/kdoc/kdoc_files.py | |
parent | 6845de78ae3701ed19619cf786695072c73b8e92 (diff) | |
download | linux-6fd2cb38c006cbdc4653e7e15e37ab23af59c2de.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions