]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: call netfs_subreq_terminated with was_async == false
authorJeff Layton <jlayton@kernel.org>
Tue, 7 Jun 2022 17:06:14 +0000 (13:06 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
commit3517f17be3e1be9e8df0ec0b6b95eb7760b4df23
treefef77e62f5c09e1deeccaa227fe54fab7d2536b7
parent843192808c022c8d962046f0955674f58573699d
ceph: call netfs_subreq_terminated with was_async == false

"was_async" is a bit misleadingly named. It's supposed to indicate
whether it's safe to call blocking operations from the context you're
calling it from, but it sounds like it's asking whether this was done
via async operation. For ceph, this it's always called from kernel
thread context so it should be safe to set this to false.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c