** Description changed: ubuntu_blktrace_smoke_test fails on questing with rust coreutils - enabled. Executing with GNU coreutils makes the test pass. Regressing - the issue, this is the breaking commit. + enabled. Executing with GNU coreutils makes the test pass. + + 2043 ID: com.canonical.kernel::ubuntu_blktrace_smoke_test/blktrace-smoke-test + 2044 Category: com.canonical.plainbox::uncategorised + 2045 ... 8< ------------------------------------------------------------------------- + 2046 PASSED (CONFIG_BLK_DEV_IO_TRACE=y in /boot/config-6.17.0-11-generic) + 2047 + 2048 Using block device /dev/loop0 for path /tmp/cwd-hmzznri9.43f7bf5d91458d09dc595f27a2105298dbd7be4196a6f7444786bd783e1e92a1/mnt + 2049 + 2050 Test regime: + 2051 dd performing 65536 1K block writes + 2052 looking for at least 1024 blktrace events + 2053 + 2054 Sat Dec 20 19:52:16 UTC 2025: blktrace starting + 2055 Sat Dec 20 19:52:16 UTC 2025: dd starting + 2056 Sat Dec 20 19:52:16 UTC 2025: dd stopped + 2057 Sat Dec 20 19:52:16 UTC 2025: waiting for 10 seconds + 2058 Sat Dec 20 19:52:26 UTC 2025: blktrace being terminated + 2059 Sat Dec 20 19:52:26 UTC 2025: blktrace terminated + 2060 Sat Dec 20 19:52:26 UTC 2025: blktrace data parsed + 2061 + 2062 FAILED (expecting at least 1024 block traces events from the dd process, got 0) + 2063 FAILED (expecting at least 1024 block read traces events, got 0) + 2064 FAILED (expecting at least 1024 block write traces events, got 0) + + Regressing the issue, this is the breaking commit. ommit 6c840c16c7cc0d3464ebf4a6d4c4f03763a45ff0 Author: Jan Kara <[email protected]> Date: Mon Sep 1 13:27:40 2025 +0200 - ext4: fail unaligned direct IO write with EINVAL - - BugLink: https://bugs.launchpad.net/bugs/2131259 - - commit 963845748fe67125006859229487b45485564db7 upstream. - - Commit bc264fea0f6f ("iomap: support incremental iomap_iter advances") - changed the error handling logic in iomap_iter(). Previously any error - from iomap_dio_bio_iter() got propagated to userspace, after this commit - if ->iomap_end returns error, it gets propagated to userspace instead of - an error from iomap_dio_bio_iter(). This results in unaligned writes to - ext4 to silently fallback to buffered IO instead of erroring out. - - Now returning ENOTBLK for DIO writes from ext4_iomap_end() seems - unnecessary these days. It is enough to return ENOTBLK from - ext4_iomap_begin() when we don't support DIO write for that particular - file offset (due to hole). + ext4: fail unaligned direct IO write with EINVAL + + BugLink: https://bugs.launchpad.net/bugs/2131259 + + commit 963845748fe67125006859229487b45485564db7 upstream. + + Commit bc264fea0f6f ("iomap: support incremental iomap_iter advances") + changed the error handling logic in iomap_iter(). Previously any error + from iomap_dio_bio_iter() got propagated to userspace, after this commit + if ->iomap_end returns error, it gets propagated to userspace instead of + an error from iomap_dio_bio_iter(). This results in unaligned writes to + ext4 to silently fallback to buffered IO instead of erroring out. + + Now returning ENOTBLK for DIO writes from ext4_iomap_end() seems + unnecessary these days. It is enough to return ENOTBLK from + ext4_iomap_begin() when we don't support DIO write for that particular + file offset (due to hole).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2137698 Title: ubuntu_blktrace_smoke_test fails on questing with rust coreutils To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2137698/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
