Re: [PATCH 3/4] Btrfs: use large extent range for read and its endio

2012-06-14 Thread Liu Bo
On 06/15/2012 12:12 AM, David Sterba wrote: > On Wed, Jun 13, 2012 at 06:19:10PM +0800, Liu Bo wrote: >> we use larger extent state range for both readpages and read endio, so that >> we can lock or unlock less and avoid most of split ops, then we'll reduce >> write >> locks taken at endio time.

Re: [PATCH 3/4] Btrfs: use large extent range for read and its endio

2012-06-14 Thread David Sterba
On Wed, Jun 13, 2012 at 06:19:10PM +0800, Liu Bo wrote: > we use larger extent state range for both readpages and read endio, so that > we can lock or unlock less and avoid most of split ops, then we'll reduce > write > locks taken at endio time. > > Signed-off-by: Liu Bo > --- > fs/btrfs/exten

[PATCH 3/4] Btrfs: use large extent range for read and its endio

2012-06-13 Thread Liu Bo
we use larger extent state range for both readpages and read endio, so that we can lock or unlock less and avoid most of split ops, then we'll reduce write locks taken at endio time. Signed-off-by: Liu Bo --- fs/btrfs/extent_io.c | 201 +- 1 files