1. 25 9月, 2008 30 次提交
  2. 15 9月, 2007 1 次提交
  3. 14 9月, 2007 6 次提交
  4. 12 9月, 2007 1 次提交
  5. 11 9月, 2007 2 次提交
    • C
      Btrfs: Find and remove dead roots the first time a root is loaded. · 5ce14bbc
      Chris Mason 提交于
      Dead roots are trees left over after a crash, and they were either in the
      process of being removed or were waiting to be removed when the box crashed.
      Before, a search of the entire tree of root pointers was done on mount
      looking for dead roots.  Now, the search is done the first time we load
      a root.
      
      This makes mount faster when there are a large number of snapshots, and it
      enables the block accounting code to properly update the block counts on
      the latest root as old versions of the root are reaped after a crash.
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      5ce14bbc
    • C
      Btrfs: [PATCH] extent_map: add writepage_end_io hook · 0e2752a7
      Christoph Hellwig 提交于
      XFS updates the ondisk inode size only after the data I/O has finished,
      so it needs a hook when the writepage end_bio handler has finished.
      
      Might not be worth applying as-is as the per-page callback is very
      ineffcient.  What XFS really wants is a callback when writeout of a
      whole extent has completed.  This delayed i_size updates scheme might
      be worthwile for btrfs aswell, btw.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      0e2752a7