Re: [PATCH V2 10/10] Btrfs: reclaim the reserved metadata space at background

2014-05-07 Thread Miao Xie
On Mon, 10 Mar 2014 09:35:13 -0400, Josef Bacik wrote: > On 03/06/2014 12:55 AM, Miao Xie wrote: >> Before applying this patch, the task had to reclaim the metadata >> space by itself if the metadata space was not enough. And When the >> task started the space reclamation, all the other tasks which

Re: [PATCH V2 10/10] Btrfs: reclaim the reserved metadata space at background

2014-03-10 Thread Josef Bacik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2014 12:55 AM, Miao Xie wrote: > Before applying this patch, the task had to reclaim the metadata > space by itself if the metadata space was not enough. And When the > task started the space reclamation, all the other tasks which > wanted to

[PATCH V2 10/10] Btrfs: reclaim the reserved metadata space at background

2014-03-05 Thread Miao Xie
Before applying this patch, the task had to reclaim the metadata space by itself if the metadata space was not enough. And When the task started the space reclamation, all the other tasks which wanted to reserve the metadata space were blocked. At some cases, they would be blocked for a long time,