mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Signed-off-by: Xiubo Li <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
This commit is contained in:
1 parent
2ecd0edd13
commit
5e56776d52
1 file changed
+1
-1
@@ -579,7 +579,7 @@ static inline int ceph_wait_on_async_create(struct inode *inode)
|
||||
struct ceph_inode_info *ci = ceph_inode(inode);
|
||||
|
||||
return wait_on_bit(&ci->i_ceph_flags, CEPH_ASYNC_CREATE_BIT,
|
||||
TASK_INTERRUPTIBLE);
|
||||
TASK_KILLABLE);
|
||||
}
|
||||
|
||||
extern u64 ceph_get_deleg_ino(struct ceph_mds_session *session);
|
||||
|
||||
Reference in new issue
Block a user