mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ocfs2: split transactions in dio completion to avoid credit exhaustion
@ 2026-03-26  6:58 Heming Zhao
  2026-03-26  6:58 ` [PATCH v3 1/2] " Heming Zhao
  2026-03-26  6:58 ` [PATCH v3 2/2] Revert "ocfs2: fix DIO failure due to insufficient transaction credits" Heming Zhao
  0 siblings, 2 replies; 6+ messages in thread
From: Heming Zhao @ 2026-03-26  6:58 UTC (permalink / raw)
  To: joseph.qi; +Cc: Heming Zhao, ocfs2-devel, linux-kernel, jack, glass.su

For easier merging, this patch is based on Joseph's patch [1].

v2->v3:
Following the discussion, use 'batch' and 'handle' to control
restarting the jbd2 transaction.

v1->v2:
following the review comments, restore the i_size update code in
ocfs2_dio_end_io_write().

the runtime of the test script [2].
real    1m49.650s
user    0m0.337s
sys     0m22.780s

[1]:
https://lore.kernel.org/ocfs2-devel/46yilbaq5z5x6gdfdpoa6lprf6sf3gbxriuku2odje4kx4bovf@jd735cphfutz/T/#t 
[2]:
https://lore.kernel.org/ocfs2-devel/75f89a17-213b-42a0-a30e-d52fb2d077a6@linux.alibaba.com/T/#mbe2b5f52ee249178e1ad4c76d964de2dc818eb32

Heming Zhao (2):
  ocfs2: split transactions in dio completion to avoid credit exhaustion
  Revert "ocfs2: fix DIO failure due to insufficient transaction
    credits"

 fs/ocfs2/aops.c        | 75 ++++++++++++++++++++++++------------------
 fs/ocfs2/journal.c     | 17 ----------
 fs/ocfs2/journal.h     |  2 --
 fs/ocfs2/ocfs2_trace.h |  2 --
 4 files changed, 43 insertions(+), 53 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-26 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-26  6:58 [PATCH v3 0/2] ocfs2: split transactions in dio completion to avoid credit exhaustion Heming Zhao
2026-03-26  6:58 ` [PATCH v3 1/2] " Heming Zhao
2026-03-26  9:31   ` Jan Kara
2026-03-26  6:58 ` [PATCH v3 2/2] Revert "ocfs2: fix DIO failure due to insufficient transaction credits" Heming Zhao
2026-03-26  9:38   ` Jan Kara
2026-03-26 14:15     ` Heming Zhao

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

all inboxes | Powered by JetHome®