[Ocfs2-tools-devel] [PATCH 0/13] Improve I/O caching v3

Joel Becker joel.becker at oracle.com
Tue May 26 16:03:20 PDT 2009


This is version 3 of the I/O caching improvements.  I think they are
ready to go, so please review them.

Changes since v2:
- Reorder the fsck patches to make them more logical
- Introduce io_set_nocache().  This makes all I/O ops use the
  _nocache() functions.  This way we don't always have to pass
  'nocache' flags everywhere.  Smart functions can use the io_
  call they want, and dump callers like ocfs2_file_read/write() can
  be managed via io_set_nocache().
- ocfs2_format_journal() uses io_set_nocache() to prevent cache
  pollution while zeroing the journal.  This means callers don't have
  to worry about their journal.
- mkfs.ocfs2 now keeps its I/O cache for the duration of
  finish_normal_format().  This seems to make mkfs just a tad quicker.

The patches are also available in ocfs2-tools.git on the 'io' branch.

[View]
http://oss.oracle.com/git/?p=ocfs2-tools.git;a=shortlog;h=io
[Pull]
git://oss.oracle.com/git/ocfs2-tools.git io

Joel





More information about the Ocfs2-tools-devel mailing list