• Theodore Ts'o's avatar
    ext2fs: Add Direct I/O support to the ext2fs library · 7f1a1fbf
    Theodore Ts'o authored
    
    
    This adds the basic support for Direct I/O to unix_io.c, and adds a
    new flag EXT_FLAG_DIRECT_IO which can be passed to ext2fs_open() or
    ext2fs_open2() to request Direct I/O support.
    
    Note that device mapper devices in Linux don't support Direct I/O, and
    in some circumstances using Direct I/O can actually make performance
    *worse*!
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    7f1a1fbf
ext2_io.h 3.93 KB