diff options
| author | Max Kellermann <max.kellermann@ionos.com> | 2026-03-30 10:43:19 +0200 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2026-04-22 01:40:23 +0200 |
| commit | cc5643095419d45927a1dee9cb3da7c2f9e779f6 (patch) | |
| tree | eb8bcd2d7317cff84b555ef36af43d55a3f16f3d /include/linux/timerqueue.h | |
| parent | 803447f93d75ab6e40c85e6d12b5630d281d70d6 (diff) | |
ceph: clear s_cap_reconnect when ceph_pagelist_encode_32() fails
This MDS reconnect error path leaves s_cap_reconnect set.
send_mds_reconnect() sets the bit at the beginning of the reconnect,
but the first failing operation after that, ceph_pagelist_encode_32(),
can jump to `fail:` without clearing it.
__ceph_remove_cap() consults that flag to decide whether cap releases
should be queued. A reconnect-preparation failure therefore leaves the
session in reconnect mode from the cap-release path's point of view
and can strand release work until some later state transition repairs
it.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
