commit | 7f1a1fbf850f6b73b5c9c82365f01029fb250a1c | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Sep 24 10:02:25 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Sep 24 10:02:25 2010 -0400 |
tree | 6b22df25422399b44cf08389520b150e7f81e33c | |
parent | faafdb765b4ed2bb33070d998426bec0cf774344 [diff] |
ext2fs: Add Direct I/O support to the ext2fs library 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: "Theodore Ts'o" <tytso@mit.edu>