ceph: return ETIMEDOUT errno to userland when request timed out
authorXiubo Li <xiubli@redhat.com>
Mon, 24 Feb 2020 03:23:11 +0000 (22:23 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:41 +0000 (12:42 +0200)
commit8ccf7fcce191c11a2d85ef58ad1a82dd6c7e2f7c
treeb8d2f43219e123bdec8e0fba15e93fdf4113afb3
parent1b0c3b9f91f0df03088d293fc9e62743fd789ad2
ceph: return ETIMEDOUT errno to userland when request timed out

req->r_timeout is only used during mounting, so this error will
be more accurate.

URL: https://tracker.ceph.com/issues/44215
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.c