Re: [PATCH 05/36] btrfs: only count ref heads run in __btrfs_run_delayed_refs

2018-09-12 Thread David Sterba
On Tue, Sep 11, 2018 at 04:07:30PM -0700, Omar Sandoval wrote: > On Tue, Sep 11, 2018 at 01:57:36PM -0400, Josef Bacik wrote: > > We pick the number of ref's to run based on the number of ref heads, and > > only make the decision to stop once we've processed entire ref heads, so > > only count the

Re: [PATCH 05/36] btrfs: only count ref heads run in __btrfs_run_delayed_refs

2018-09-11 Thread Omar Sandoval
On Tue, Sep 11, 2018 at 01:57:36PM -0400, Josef Bacik wrote: > We pick the number of ref's to run based on the number of ref heads, and > only make the decision to stop once we've processed entire ref heads, so > only count the ref heads we've run and bail once we've hit the number of > ref heads w

[PATCH 05/36] btrfs: only count ref heads run in __btrfs_run_delayed_refs

2018-09-11 Thread Josef Bacik
We pick the number of ref's to run based on the number of ref heads, and only make the decision to stop once we've processed entire ref heads, so only count the ref heads we've run and bail once we've hit the number of ref heads we wanted to process. Signed-off-by: Josef Bacik --- fs/btrfs/exten