Re: [REGRESSION] [PATCH v2] ceph: fix num_ops OBOE when crypto allocation fails
From: Sam Edwards
Date: Tue Mar 24 2026 - 22:58:16 EST
On Wed, Mar 18, 2026 at 12:42 PM Viacheslav Dubeyko
<Slava.Dubeyko@xxxxxxx> wrote:
> ...
Hi Slava,
> Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@xxxxxxx>
This looks like you gave "for future reference" feedback and provided
a R-b tag for the current version of the patch; is that it? Or is this
a tag to roll forward to a v3 with your feedback applied?
If necessary to pass review, I can do something like your (2) and
amend the commit message:
<excerpt>
contiguous ranges (and therefore the required number of "write extent"
ops) in the writeback -- will panic the kernel:
/* in ceph_submit_write() */
req = ceph_osdc_new_request(/* ... */, ceph_wbc->num_ops, /* ... */);
/* ... */
BUG_ON(ceph_wbc->op_idx + 1 != req->r_num_ops);
This issue can be reproduced on affected kernels by writing to
</excerpt>
But I fear adding even that much sacrifices clarity: the central point
is that num_ops needs to be correct when ceph_process_folio_batch()
returns; I understand that documenting the symptom of the problem
(where it panics) is an important secondary goal for helping affected
users/stable/downstreams understand the impact and/or discover the
commit, but I'm also trying to be respectful of their time by not
reiterating code to someone who would just CTRL+F the source file if
they wanted this level of detail.
Best,
Sam