Skip to content
Snippets Groups Projects
  1. Apr 19, 2011
  2. Apr 13, 2011
  3. Apr 04, 2011
  4. Apr 01, 2011
  5. Mar 31, 2011
  6. Mar 28, 2011
  7. Mar 27, 2011
  8. Mar 26, 2011
  9. Mar 25, 2011
  10. Mar 24, 2011
    • Dave Chinner's avatar
      fs: remove inode_lock from iput_final and prune_icache · f283c86a
      Dave Chinner authored
      
      Now that inode state changes are protected by the inode->i_lock and
      the inode LRU manipulations by the inode_lru_lock, we can remove the
      inode_lock from prune_icache and the initial part of iput_final().
      
      instead of using the inode_lock to protect the inode during
      iput_final, use the inode->i_lock instead. This protects the inode
      against new references being taken while we change the inode state
      to I_FREEING, as well as preventing prune_icache from grabbing the
      inode while we are manipulating it. Hence we no longer need the
      inode_lock in iput_final prior to setting I_FREEING on the inode.
      
      For prune_icache, we no longer need the inode_lock to protect the
      LRU list, and the inodes themselves are protected against freeing
      races by the inode->i_lock. Hence we can lift the inode_lock from
      prune_icache as well.
      
      Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      f283c86a
    • Josef Bacik's avatar
      dm: add flakey target · 3407ef52
      Josef Bacik authored
      
      This target is the same as the linear target except that it returns I/O
      errors periodically.  It's been found useful in simulating failing
      devices for testing purposes.
      
      I needed a dm target to do some failure testing on btrfs's raid code, and
      Mike pointed me at this.
      
      Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      3407ef52
  11. Mar 23, 2011
  12. Mar 22, 2011
Loading