1. 02 Oct, 2011 2 commits
    • Arne Jansen's avatar
      btrfs: add READAHEAD extent buffer flag · ab0fff03
      Arne Jansen authored
      Add a READAHEAD extent buffer flag.
      Add a function to trigger a read with this flag set.
      
      Changes v2:
       - use extent buffer flags instead of extent state flags
      
      Changes v5:
       - adapt to changed read_extent_buffer_pages interface
       - don't return eb from reada_tree_block_flagged if it has CORRUPT flag set
      Signed-off-by: default avatarArne Jansen <sensille@gmx.net>
      ab0fff03
    • Arne Jansen's avatar
      btrfs: add an extra wait mode to read_extent_buffer_pages · bb82ab88
      Arne Jansen authored
      read_extent_buffer_pages currently has two modes, either trigger a read
      without waiting for anything, or wait for the I/O to finish. The former
      also bails when it's unable to lock the page. This patch now adds an
      additional parameter to allow it to block on page lock, but don't wait
      for completion.
      
      Changes v5:
       - merge the 2 wait parameters into one and define WAIT_NONE, WAIT_COMPLETE and
         WAIT_PAGE_LOCK
      
      Change v6:
       - fix bug introduced in v5
      Signed-off-by: default avatarArne Jansen <sensille@gmx.net>
      bb82ab88
  2. 30 Sep, 2011 2 commits
  3. 20 Sep, 2011 2 commits
  4. 18 Sep, 2011 7 commits
  5. 12 Sep, 2011 9 commits
  6. 11 Sep, 2011 18 commits