[Bug 200681] [inline_data] read() does not see what write() has just written through different FD in the same thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=200681

Theodore Tso (tytso@xxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@xxxxxxx

--- Comment #3 from Theodore Tso (tytso@xxxxxxx) ---
So it's not reproducing for me using my standard test framework, kvm-xfstests:

https://github.com/tytso/xfstests-bld/blob/master/Documentation/kvm-quickstart.md

What I did:

Edited your reproducer program to use "./xyz" instead of "/mnt/xyz", compiled
it, and put the binary in /tmp/kvm-xfstests-tytso/repro. 
(/tmp/kvm-xfstests-$USER will get mounted using 9p by kvm-xfstests in the guest
OS as /vtmp.)

% kvm-xfstests shell
...
root@kvm-xfstests:~# mount /vtmp
root@kvm-xfstests:~# mke2fs -Fq -t ext4 -O inline_data -I 1024 /dev/vdc 
/dev/vdc contains a ext4 file system
        last mounted on /vdc on Wed Aug  1 11:09:56 2018
root@kvm-xfstests:~# mount /vdc
[  761.839810] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts:
(null)
root@kvm-xfstests:~# cd /vdc
root@kvm-xfstests:/vdc# /vtmp/repro
res1 = 17968 res2 = 48          first bytes of data are: 01 02 03...

If I have time I can try to repro it with your reproducer, but maybe you can
try using kvm-xfstests yourself?  I think you will find it is a much more
convenient system, and if ext4 users, developers, and bug reports all use the
same system it saves a lot of time --- otherwise there are many more of *you*
than there is of *me* and I don't scale that well unless I ask people to use
common tools and procedures.    (See https://thunk.org/gce-xfstests for an
introduction to kvm-xfstests and gce-xfstests.)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux