On Sun, Sep 27, 2020 at 01:31:15PM +0200, Sedat Dilek wrote: > > I would suggest that you try applying just the assertion to Linus' > > kernel, then try to make it fire. Then apply the fix and see if you > > can still make the assertion fire. > > > > FWIW, I got it to fire with generic/095 from the xfstests test suite. > > With... > > Linux v5.9-rc6+ up to commit a1bf fa48 745a ("Merge tag 'scsi-fixes' > of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") > ...and... > > xfstests-dev up to commit 75bd80f900ea ("src/t_mmap_dio: do not build > if !HAVE_AIO") > > ...I have seen in my first run of... > > [ generic/095 ] > > dileks@iniza:~/src/xfstests-dev/git$ sudo ./check generic/095 > FSTYP -- ext4 There's the first problem in your setup; you need to be checking XFS to see this problem. ext4 doesn't use iomap for buffered IO yet. > PLATFORM -- Linux/x86_64 iniza 5.9.0-rc6-7-amd64-clang-cfi > #7~bullseye+dileks1 SMP 2020- > 09-27 > MKFS_OPTIONS -- /dev/sdb1 I'm using "-m reflink=1,rmapbt=1 -i sparse=1 -b size=1024"