Re: [patch 07/99] btrfs: Use mempools for extent_state structures

2011-12-02 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/01/2011 02:55 PM, Jeff Mahoney wrote: On 11/28/2011 07:04 PM, Jeff Mahoney wrote: On 11/28/2011 06:53 PM, Andi Kleen wrote: Jeff Mahoney je...@suse.com writes: The extent_state structure is used at the core of the extent i/o code for

Re: [patch 07/99] btrfs: Use mempools for extent_state structures

2011-12-01 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/2011 07:04 PM, Jeff Mahoney wrote: On 11/28/2011 06:53 PM, Andi Kleen wrote: Jeff Mahoney je...@suse.com writes: The extent_state structure is used at the core of the extent i/o code for managing flags, locking, etc. It requires

Re: [patch 07/99] btrfs: Use mempools for extent_state structures

2011-11-28 Thread Andi Kleen
Jeff Mahoney je...@suse.com writes: The extent_state structure is used at the core of the extent i/o code for managing flags, locking, etc. It requires allocations deep in the write code and if failures occur they are difficult to recover from. We avoid most of the failures by using a

Re: [patch 07/99] btrfs: Use mempools for extent_state structures

2011-11-28 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/2011 06:53 PM, Andi Kleen wrote: Jeff Mahoney je...@suse.com writes: The extent_state structure is used at the core of the extent i/o code for managing flags, locking, etc. It requires allocations deep in the write code and if failures

[patch 07/99] btrfs: Use mempools for extent_state structures

2011-11-23 Thread Jeff Mahoney
The extent_state structure is used at the core of the extent i/o code for managing flags, locking, etc. It requires allocations deep in the write code and if failures occur they are difficult to recover from. We avoid most of the failures by using a mempool, which can sleep when required, to