Dear Linus,
please consider pulling the following gfs2 revert for 6.19-rc6.
I was originally assuming that there must be a bug in gfs2 because gfs2 chains bios in the opposite direction of what bio_chain_and_submit() expects. It turns out that the bio chains are set up in "reverse direction" intentionally so that the first bio's bi_end_io callback is invoked rather than the last bio's callback.
We want the first bio's callback invoked for the following reason: The initial bio starts page aligned and covers one or more pages. When it terminates at a non-page-aligned offset, subsequent bios are added to handle the remaining portion of the final page. Upon completion of the bio chain, all affected pages need to be be marked as read, and only the first bio references all of these pages.
Thanks, Andreas
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-for-6.19-rc6
for you to fetch changes up to 469d71512d135907bf5ea0972dfab8c420f57848:
Revert "gfs2: Fix use of bio_chain" (2026-01-12 14:58:32 +0100)
---------------------------------------------------------------- gfs2 revert
- Revert bad commit "gfs2: Fix use of bio_chain"
---------------------------------------------------------------- Andreas Gruenbacher (1): Revert "gfs2: Fix use of bio_chain"
fs/gfs2/lops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)