e2fsprogs/tests/m_mmp_bad_csum
Andreas Dilger 947315c866 libext2fs: don't use O_DIRECT for files on tmpfs
If a filesystem image is on tmpfs, opening it with O_DIRECT for
reading the MMP will fail.  This is unnecessary, since the image
file can't really be open on another node at this point.  If the
open with O_DIRECT fails, retry without it when plausible.

Remove the special-casing of tmpfs from the mmp test cases.

Change-Id: I41f4b31657b06f62f10be8d6e524d303dd36a321
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2020-03-07 11:14:02 -05:00
..
expect misc: add e2mmpstatus utility via dumpe2fs 2018-06-22 18:22:37 -04:00
image.gz tests: add regression tests for MMP blocks with bad checksums 2014-08-02 23:49:41 -04:00
name tests: add regression tests for MMP blocks with bad checksums 2014-08-02 23:49:41 -04:00
script libext2fs: don't use O_DIRECT for files on tmpfs 2020-03-07 11:14:02 -05:00