Re: [PATCH v4] ceph: Use unsigned types for snapshot split counts

From: Alex Markuze

Date: Mon Nov 30 2026 - 10:44:59 EST


Hi Kaho,

Please send the unsigned split counts and array bounds checks as a
standalone fix for stable. Check both the SPLIT and non-SPLIT paths
without changing the existing snapshot error handling.

Please keep the fencing changes separate. As Xiubo noted, when snap trace
decoding fails during a cap IMPORT, v4 drops the blocklist attempt but
still closes sessions from the messenger worker. The new fence worker
also runs unmount cleanup that can free snapid mappings still held by
live snapshot inodes.

Thanks,
Alex