Public bug reported:

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.

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).

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Questing)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Questing)
   Importance: Undecided
       Status: New

-- 
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

Reply via email to