Xiubo Li 1980b1bf17 ceph: stop forwarding the request when exceeding 256 times
The type of 'num_fwd' in ceph 'MClientRequestForward' is 'int32_t',
while in 'ceph_mds_request_head' the type is '__u8'. So in case
the request bounces between MDSes exceeding 256 times, the client
will get stuck.

In this case it's ususally a bug in MDS and continue bouncing the
request makes no sense.

URL: https://tracker.ceph.com/issues/55130
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Luís Henriques <lhenriques@suse.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-05-25 20:45:13 +02:00
..
2022-03-18 09:29:05 +00:00
2022-03-31 15:49:36 -07:00
2022-03-31 15:49:36 -07:00
2022-01-11 22:13:01 +00:00
2020-06-01 13:22:51 +02:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-24 18:32:48 -07:00
2022-03-31 15:49:36 -07:00