Re: [PATCH v2] ceph: Use unsigned types for snapshot split counts
From: Jerry Jiang
Date: Mon Nov 23 2026 - 00:07:42 EST
Hi Alex,
I've made the changes you've requested, please let me know if any
issues occur in my patch or anything further to fix.
v3 has been proposed:
https://lore.kernel.org/all/20261123050440.223436-2-kj2864@xxxxxxx/
On Sun, Nov 22, 2026 at 1:16 PM Alex Markuze <amarkuze@xxxxxxxxxx> wrote:
>
> Hi Kaho,
>
> The new array-length checks return through ceph_handle_snap()'s bad
> label, which drops the message without fencing I/O. If the MDS sends a
> malformed snapshot update, the client can miss it and continue writing
> with an out-of-date snapshot context, risking snapshot contents.
>
> Please fence I/O on these failures and use the same blocklisting and
> session-close handling as for a corrupt snap trace.
>
> Thanks,
> Alex
>