Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #85268

Bug#1093243: Upgrade to 6.1.123 kernel causes mariadb hangs

From Xan Charbonnet <xan@charbonnet.com>
Newsgroups linux.debian.bugs.dist, linux.kernel, linux.debian.kernel
Subject Bug#1093243: Upgrade to 6.1.123 kernel causes mariadb hangs
Date 2025-01-24 03:20 +0100
Message-ID <K8hsB-bonh-7@gated-at.bofh.it> (permalink)
References (1 earlier) <K8c9z-bjhm-3@gated-at.bofh.it> <K8csV-bjBX-1@gated-at.bofh.it> <K8hsB-bonh-9@gated-at.bofh.it> <K5F85-9qPe-3@gated-at.bofh.it> <K8hsB-bonh-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 3 groups.

Show all headers | View raw


On 1/23/25 20:49, Salvatore Bonaccorso wrote:
> Additionally please try with 6.1.120 and revert this commit
>
> 3ab9326f93ec ("io_uring: wake up optimisations")
>
> (which landed in 6.1.120).
>
> If that solves the problem maybe we miss some prequisites in the 6.1.y
> series here?


I hope I did all this right.  I found this:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3181e22fb79910c7071e84a43af93ac89e8a7106

and attempted to undo that change in the vanilla 6.1.124 source by 
making the following change to io_uring/io_uring.c:

585,594d584
< static inline void __io_cq_unlock_post_flush(struct io_ring_ctx *ctx)
<       __releases(ctx->completion_lock)
< {
<       io_commit_cqring(ctx);
<       spin_unlock(&ctx->completion_lock);
<       io_commit_cqring_flush(ctx);
<       if (!(ctx->flags & IORING_SETUP_DEFER_TASKRUN))
<               __io_cqring_wake(ctx);
< }
<
1352c1342
<       __io_cq_unlock_post_flush(ctx);
---
 >         __io_cq_unlock_post(ctx);


I rebooted into the resulting kernel and am happy to report that the 
problem did NOT occur!

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1093243: Upgrade to 6.1.123 kernel causes mariadb hangs Salvatore Bonaccorso <carnil@debian.org> - 2025-01-23 22:00 +0100
  Bug#1093243: Upgrade to 6.1.123 kernel causes mariadb hangs Xan Charbonnet <xan@charbonnet.com> - 2025-01-24 03:20 +0100
  Bug#1093243: Upgrade to 6.1.123 kernel causes mariadb hangs Xan Charbonnet <xan@charbonnet.com> - 2025-01-27 17:50 +0100

csiph-web