Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-13 Thread Josef Bacik
On 06/12/2011 09:52 PM, Li Zefan wrote: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming

[PATCH] Btrfs: use the normal checksumming infrastructure for free space cache V2

2011-06-13 Thread Josef Bacik
We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming infrastructure. There were problems with doing this originally but

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-13 Thread Chris Mason
Excerpts from Li Zefan's message of 2011-06-12 22:20:43 -0400: Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-13 Thread Josef Bacik
On 06/13/2011 10:11 AM, Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 22:20:43 -0400: Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache,

[PATCH] Btrfs: use the normal checksumming infrastructure for free space cache V3

2011-06-13 Thread Josef Bacik
We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming infrastructure. There were problems with doing this originally but

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming infrastructure. There were problems with

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Chris Mason
Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Li Zefan wrote: Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums

Re: [PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-12 Thread Li Zefan
Chris Mason wrote: Excerpts from Li Zefan's message of 2011-06-12 21:52:32 -0400: Josef Bacik wrote: We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first

[PATCH] Btrfs: use the normal checksumming infrastructure for free space cache

2011-06-10 Thread Josef Bacik
We used to store the checksums of the space cache directly in the space cache, however that doesn't work out too well if we have more space than we can fit the checksums into the first page. So instead use the normal checksumming infrastructure. There were problems with doing this originally but