1. 08 Apr, 2009 1 commit
    • Theodore Ts'o's avatar
      block_write_full_page: switch synchronous writes to use WRITE_SYNC_PLUG · 6e34eedd
      Theodore Ts'o authored
      Now that we have a distinction between WRITE_SYNC and WRITE_SYNC_PLUG,
      use WRITE_SYNC_PLUG in __block_write_full_page() to avoid unplugging
      the block device I/O queue between each page that gets flushed out.
      
      Otherwise, when we run sync() or fsync() and we need to write out a
      large number of pages, the block device queue will get unplugged
      between for every page that is flushed out, which will be a pretty
      serious performance regression caused by commit a64c8610.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      6e34eedd
  2. 07 Apr, 2009 39 commits