[PATCH] Btrfs: take into account total references when doing backref lookup V2

2014-03-19 Thread Josef Bacik
I added an optimization for large files where we would stop searching for backrefs once we had looked at the number of references we currently had for this extent. This works great most of the time, but for snapshots that point to this extent and has changes in the original root this assumption

Re: [PATCH] Btrfs: take into account total references when doing backref lookup V2

2014-03-19 Thread Hugo Mills
On Wed, Mar 19, 2014 at 01:35:14PM -0400, Josef Bacik wrote: I added an optimization for large files where we would stop searching for backrefs once we had looked at the number of references we currently had for this extent. This works great most of the time, but for snapshots that point to