Skip to content

Commit 5e56776

Browse files
lxbszidryomov
authored andcommitted
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>
1 parent 2ecd0ed commit 5e56776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ceph/mds_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ static inline int ceph_wait_on_async_create(struct inode *inode)
579579
struct ceph_inode_info *ci = ceph_inode(inode);
580580

581581
return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT,
582-
TASK_INTERRUPTIBLE);
582+
TASK_KILLABLE);
583583
}
584584

585585
extern u64 ceph_get_deleg_ino(struct ceph_mds_session *session);

0 commit comments

Comments
 (0)