https://bugzilla.kernel.org/show_bug.cgi?id=200681 --- Comment #6 from Anatoly Trosinenko (anatoly.trosinenko@xxxxxxxxx) --- It looks like the difference was that I have specified 8M partition size. How to reproduce it (I repeat parts of your documentation just to make sure I have got it right): 1) Checkout master branch of torvalds/linux (tested on commit bab5c80b211) 2) Copy fstests/kernel-configs/x86_64-config-4.14 to .config and compile after `make olddefconfig` 3) Take the attached repro.c and execute the following commands: $ gcc --static repro.c -o repro # Inside /tmp/kvm-xfstest-$USER $ kvm-xfstest shell root@kvm-xfstests:~# mount /vtmp root@kvm-xfstests:~# mke2fs -Fq -t ext4 -O inline_data -I 1024 /dev/vdc 8M /dev/vdc contains a ext4 file system last mounted on /vdc on Sat Oct 13 15:59:40 2018 root@kvm-xfstests:~# mount /vdc [ 9.812236] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts: (null) root@kvm-xfstests:~# cd /vdc root@kvm-xfstests:/vdc# /vtmp/repro First write res = 48 Second write res = 17968 res1 = 17968 res2 = 48 first bytes of data are: 00 00 00... When the full partition is used for the filesystem, the bug is not reproducible, as expected. Maybe with a 8M partition there is just not enough room for data, so maybe everything is right except for the return codes saying everything was written successfully instead of ENOSPC... (but the file size is 18016 as if all the data were written to it). -- You are receiving this mail because: You are watching the assignee of the bug.