Re: [PATCH 3/3] btrfs: Remove BUG_ON() when failed searching block_group_cache in unpin_extent_range()

2015-02-26 Thread Filipe David Manana
On Wed, Feb 25, 2015 at 1:18 AM, Zhao Lei zhao...@cn.fujitsu.com wrote: Hi, Filipe From: Filipe David Manana [mailto:fdman...@gmail.com] On Tue, Feb 24, 2015 at 3:37 PM, Zhaolei zhao...@cn.fujitsu.com wrote: From: Zhao Lei zhao...@cn.fujitsu.com Above BUG_ON() was triggered only one

RE: [PATCH 3/3] btrfs: Remove BUG_ON() when failed searching block_group_cache in unpin_extent_range()

2015-02-26 Thread Zhao Lei
Hi, David Manana * From: Filipe David Manana [mailto:fdman...@gmail.com] Sent: Thursday, February 26, 2015 5:55 PM To: Zhao Lei Cc: linux-btrfs@vger.kernel.org Subject: Re: [PATCH 3/3] btrfs: Remove BUG_ON() when failed searching block_group_cache in unpin_extent_range() On Wed, Feb 25

Re: [PATCH 3/3] btrfs: Remove BUG_ON() when failed searching block_group_cache in unpin_extent_range()

2015-02-24 Thread Filipe David Manana
On Tue, Feb 24, 2015 at 3:37 PM, Zhaolei zhao...@cn.fujitsu.com wrote: From: Zhao Lei zhao...@cn.fujitsu.com Above BUG_ON() was triggered only one time in my test, but hadn't happened again in same env. The reason maybe: A block group which include pinned space was removed before

RE: [PATCH 3/3] btrfs: Remove BUG_ON() when failed searching block_group_cache in unpin_extent_range()

2015-02-24 Thread Zhao Lei
Hi, Filipe From: Filipe David Manana [mailto:fdman...@gmail.com] On Tue, Feb 24, 2015 at 3:37 PM, Zhaolei zhao...@cn.fujitsu.com wrote: From: Zhao Lei zhao...@cn.fujitsu.com Above BUG_ON() was triggered only one time in my test, but hadn't happened again in same env. The reason