1. 01 9月, 2011 1 次提交
    • C
      xfs: fix xfs_mark_inode_dirty during umount · 866e4ed7
      Christoph Hellwig 提交于
      During umount we do not add a dirty inode to the lru and wait for it to
      become clean first, but force writeback of data and metadata with
      I_WILL_FREE set.  Currently there is no way for XFS to detect that the
      inode has been redirtied for metadata operations, as we skip the
      mark_inode_dirty call during teardown.  Fix this by setting i_update_core
      nanually in that case, so that the inode gets flushed during inode reclaim.
      
      Alternatively we could enable calling mark_inode_dirty for inodes in
      I_WILL_FREE state, and let the VFS dirty tracking handle this.  I decided
      against this as we will get better I/O patterns from reclaim compared to
      the synchronous writeout in write_inode_now, and always marking the inode
      dirty in some way from xfs_mark_inode_dirty is a better safetly net in
      either case.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NDave Chinner <dchinner@redhat.com>
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      (cherry picked from commit da6742a5a4cc844a9982fdd936ddb537c0747856)
      Signed-off-by: NAlex Elder <aelder@sgi.com>
      866e4ed7
  2. 25 8月, 2011 1 次提交
  3. 23 8月, 2011 1 次提交
  4. 13 8月, 2011 4 次提交
  5. 11 8月, 2011 1 次提交
  6. 10 8月, 2011 1 次提交
  7. 01 8月, 2011 3 次提交
  8. 30 7月, 2011 1 次提交
  9. 27 7月, 2011 6 次提交
  10. 26 7月, 2011 17 次提交
  11. 22 7月, 2011 1 次提交
  12. 21 7月, 2011 3 次提交