Yan Zheng 07d400a6df Btrfs: tree logging checksum fixes
This patch contains following things.

1) Limit the max size of btrfs_ordered_sum structure to PAGE_SIZE.  This
struct is kmalloced so we want to keep it reasonable.

2) Replace copy_extent_csums by btrfs_lookup_csums_range.  This was
duplicated code in tree-log.c

3) Remove replay_one_csum. csum items are replayed at the same time as
   replaying file extents. This guarantees we only replay useful csums.

4) nbytes accounting fix.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
2009-01-06 11:42:00 -05:00
..
2009-01-05 21:25:51 -05:00
2007-06-12 09:07:21 -04:00
2008-09-29 15:18:18 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-12-08 16:46:26 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2009-01-05 21:25:51 -05:00
2009-01-06 11:42:00 -05:00
2008-09-25 11:04:06 -04:00
2009-01-05 21:25:51 -05:00
2009-01-06 11:42:00 -05:00
2007-06-22 14:49:31 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-10-29 14:49:59 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2008-09-29 15:18:18 -04:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-01-06 11:42:00 -05:00
2009-01-05 21:25:51 -05:00
2008-12-12 10:03:26 -05:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:07 -04:00
2009-01-05 21:25:51 -05:00