Re: [PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-10-17 Thread David Sterba
On Fri, Oct 12, 2018 at 03:32:56PM -0400, Josef Bacik wrote: > This could result in a really bad case where we do something like > > evict > evict_refill_and_join > btrfs_commit_transaction > btrfs_run_delayed_iputs > evict > evict_refill_and_join > btrfs_

Re: [PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-10-12 Thread Filipe Manana
On Fri, Oct 12, 2018 at 8:35 PM Josef Bacik wrote: > > This could result in a really bad case where we do something like > > evict > evict_refill_and_join > btrfs_commit_transaction > btrfs_run_delayed_iputs > evict > evict_refill_and_join > btrfs_commit_t

[PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-10-12 Thread Josef Bacik
This could result in a really bad case where we do something like evict evict_refill_and_join btrfs_commit_transaction btrfs_run_delayed_iputs evict evict_refill_and_join btrfs_commit_transaction ... forever We have plenty of other places where we run del

Re: [PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-10-11 Thread Filipe Manana
On Thu, Oct 11, 2018 at 8:58 PM Josef Bacik wrote: > > This could result in a really bad case where we do something like > > evict > evict_refill_and_join > btrfs_commit_transaction > btrfs_run_delayed_iputs > evict > evict_refill_and_join > btrfs_commit_t

[PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-10-11 Thread Josef Bacik
This could result in a really bad case where we do something like evict evict_refill_and_join btrfs_commit_transaction btrfs_run_delayed_iputs evict evict_refill_and_join btrfs_commit_transaction ... forever We have plenty of other places where we run del

[PATCH 42/42] btrfs: don't run delayed_iputs in commit

2018-09-28 Thread Josef Bacik
This could result in a really bad case where we do something like evict evict_refill_and_join btrfs_commit_transaction btrfs_run_delayed_iputs evict evict_refill_and_join btrfs_commit_transaction ... forever We have plenty of other places where we run del