Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Re: [BUG] btrfs quota
       [not found] <1DF9A68C-FBA2-460F-921F-CBF94A06CD6B@gmail.com>
@ 2013-03-31  9:24 ` Arne Jansen
  2013-03-31 10:07   ` Wang Shilong
  2013-03-31 10:54   ` Wang Shilong
  0 siblings, 2 replies; 3+ messages in thread
From: Arne Jansen @ 2013-03-31  9:24 UTC (permalink / raw)
  To: Wang Shilong
  Cc: list.btrfs@jan-o-sch.net Schmidt, linux-btrfs@vger.kernel.org

Hello Wang,

On 03/31/13 03:44, Wang Shilong wrote:
> Hello Arne, Jan,
> 
>  When i run stresstest with quota enabled, i hit a panic where
> btrfs_find_all_roots() is called. Would you please double check it.
> 

On what kernel version do you hit this (git commit id preferred)?
Can you send us the message from dmesg?

Thanks,
arne

>  stresstest -n 10000  -t 4.
> 
> Maybe there is still race condition when walking backref  trees, Jan
> would you please check the backref.c ..
> btrfs_find_all_roots() is called in btrfs_qgroup_account_ref () to find
> all roots that reference a extent. I think this is called because
> 
> we introduce referenced/exclusive concepts. The point is that i think
>  this concept's disadvantages outweigh the advantages:
>       <1>
> walking backref  tree is really time-consuming.
> <2> referenced/exclusive makes it really complex when snapshot happens.
> <3> quota has a high coupling with other module.
>      I'd prefer to just keep referenced value, it is not be elegant, but
> it helps more.
> 
> Thanks,
> Wang
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] btrfs quota
  2013-03-31  9:24 ` [BUG] btrfs quota Arne Jansen
@ 2013-03-31 10:07   ` Wang Shilong
  2013-03-31 10:54   ` Wang Shilong
  1 sibling, 0 replies; 3+ messages in thread
From: Wang Shilong @ 2013-03-31 10:07 UTC (permalink / raw)
  To: Arne Jansen; +Cc: list.btrfs@jan-o-sch.net Schmidt, linux-btrfs@vger.kernel.org

Hello Arne,

> Hello Wang,
> 
> On 03/31/13 03:44, Wang Shilong wrote:
>> Hello Arne, Jan,
>> 
>> When i run stresstest with quota enabled, i hit a panic where
>> btrfs_find_all_roots() is called. Would you please double check it.
>> 
> 
> On what kernel version do you hit this (git commit id preferred)?
> Can you send us the message from dmesg?
> 

Maybe it is because my patch
[Btrfs: kill some BUG_ONs() in the find_parent_nodes()]

would you please review the patch V3 for me?

Thanks,
Wang
 
> Thanks,
> arne
> 
>> stresstest -n 10000  -t 4.
>> 
>> Maybe there is still race condition when walking backref  trees, Jan
>> would you please check the backref.c ..
>> btrfs_find_all_roots() is called in btrfs_qgroup_account_ref () to find
>> all roots that reference a extent. I think this is called because
>> 
>> we introduce referenced/exclusive concepts. The point is that i think
>> this concept's disadvantages outweigh the advantages:
>>      <1>
>> walking backref  tree is really time-consuming.
>> <2> referenced/exclusive makes it really complex when snapshot happens.
>> <3> quota has a high coupling with other module.
>>     I'd prefer to just keep referenced value, it is not be elegant, but
>> it helps more.
>> 
>> Thanks,
>> Wang
>> 
>> 
>> 
>> 
>> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] btrfs quota
  2013-03-31  9:24 ` [BUG] btrfs quota Arne Jansen
  2013-03-31 10:07   ` Wang Shilong
@ 2013-03-31 10:54   ` Wang Shilong
  1 sibling, 0 replies; 3+ messages in thread
From: Wang Shilong @ 2013-03-31 10:54 UTC (permalink / raw)
  To: Arne Jansen; +Cc: list.btrfs@jan-o-sch.net Schmidt, linux-btrfs@vger.kernel.org

Hello Arne,

However, I remember that i have hit this panic in several kernel version.
And i will double check it tomorrow when i am in the work..

If possible, i will send you the message from dmesg.

Thanks,
Wang

> Hello Wang,
> 
> On 03/31/13 03:44, Wang Shilong wrote:
>> Hello Arne, Jan,
>> 
>> When i run stresstest with quota enabled, i hit a panic where
>> btrfs_find_all_roots() is called. Would you please double check it.
>> 
> 
> On what kernel version do you hit this (git commit id preferred)?
> Can you send us the message from dmesg?
> 
> Thanks,
> arne
> 
>> stresstest -n 10000  -t 4.
>> 
>> Maybe there is still race condition when walking backref  trees, Jan
>> would you please check the backref.c ..
>> btrfs_find_all_roots() is called in btrfs_qgroup_account_ref () to find
>> all roots that reference a extent. I think this is called because
>> 
>> we introduce referenced/exclusive concepts. The point is that i think
>> this concept's disadvantages outweigh the advantages:
>>      <1>
>> walking backref  tree is really time-consuming.
>> <2> referenced/exclusive makes it really complex when snapshot happens.
>> <3> quota has a high coupling with other module.
>>     I'd prefer to just keep referenced value, it is not be elegant, but
>> it helps more.
>> 
>> Thanks,
>> Wang
>> 
>> 
>> 
>> 
>> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-31 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1DF9A68C-FBA2-460F-921F-CBF94A06CD6B@gmail.com>
2013-03-31  9:24 ` [BUG] btrfs quota Arne Jansen
2013-03-31 10:07   ` Wang Shilong
2013-03-31 10:54   ` Wang Shilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox