ceph: send oldest_client_tid when renewing caps
authorXiubo Li <xiubli@redhat.com>
Thu, 16 Nov 2023 02:56:24 +0000 (10:56 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jan 2024 14:40:51 +0000 (15:40 +0100)
commit6df89bf220fdac9f40b0d35cd132eef54cf99d4b
tree5e72db6fef71a67cf7a88ae7bc8c98f63eb5b6d8
parent66207de308df82242da0bf88035b24bcd4377562
ceph: send oldest_client_tid when renewing caps

Update the oldest_client_tid via the session renew caps msg to
make sure that the MDSs won't pile up the completed request list
in a very large size.

[ idryomov: drop inapplicable comment ]

Link: https://tracker.ceph.com/issues/63364
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c