public inbox for ceph-devel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ceph: Properly clean up after failures in ceph_submit_write()
@ 2026-01-26  2:27 Sam Edwards
  2026-01-26  2:27 ` [PATCH 1/2] ceph: free page array when ceph_submit_write() fails Sam Edwards
  2026-01-26  2:27 ` [PATCH 2/2] ceph: split out page-array discarding to a function Sam Edwards
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Edwards @ 2026-01-26  2:27 UTC (permalink / raw)
  To: Xiubo Li, Ilya Dryomov
  Cc: Viacheslav Dubeyko, Christian Brauner, Milind Changire,
	Jeff Layton, ceph-devel, linux-kernel, Sam Edwards

Hi list,

This series contains two patches from my previous series [1] that are
independent and have no outstanding review comments.

The patches fix a crash that can occur if ceph_inc_osd_stopping_blocker()
fails on write, and split out the complex page-array cleanup logic to a new
helper function (per Slava's suggestion). The first patch is intended for
stable.

There is no known reproducer for this race condition; it appears to be
timing-sensitive. I have a fault-injection patch that can trigger it, which I
can provide on request.

Warm regards,
Sam

[1] https://lore.kernel.org/all/20260107210139.40554-1-CFSworks@gmail.com/

Sam Edwards (2):
  ceph: free page array when ceph_submit_write() fails
  ceph: split out page-array discarding to a function

 fs/ceph/addr.c | 59 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 38 insertions(+), 21 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-11 14:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26  2:27 [PATCH 0/2] ceph: Properly clean up after failures in ceph_submit_write() Sam Edwards
2026-01-26  2:27 ` [PATCH 1/2] ceph: free page array when ceph_submit_write() fails Sam Edwards
2026-01-26 22:51   ` Viacheslav Dubeyko
2026-01-29  0:10     ` Sam Edwards
2026-02-11 14:10   ` Ilya Dryomov
2026-02-11 14:52     ` Ilya Dryomov
2026-01-26  2:27 ` [PATCH 2/2] ceph: split out page-array discarding to a function Sam Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox