ceph: switch TASK_INTERRUPTIBLE to TASK_KILLABLE
authorXiubo Li <xiubli@redhat.com>
Wed, 18 May 2022 14:49:26 +0000 (22:49 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2022 18:45:14 +0000 (20:45 +0200)
commit5e56776d5215ab5ab886006fc749346bad8473c8
tree42845ea5bedbad98f7904a62a2f6bb256c45e2e5
parent2ecd0edd13a8bed87c3588bcd4a048113eff18f6
ceph: switch TASK_INTERRUPTIBLE to TASK_KILLABLE

If the task is placed in the TASK_INTERRUPTIBLE state it will sleep
until either something explicitly wakes it up, or a non-masked signal
is received. Switch to TASK_KILLABLE to avoid the noises.

Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.h