> If we want to speed up this progress, i think we can split it into two parts: > > 1. First to search inline extent_data > 2. Secondly search in extent tree to calculate (extent refs=1) > > This will avoid n*n rather than n+n which is better… (sorry for delay in reply, I was on vacation). Thanks for what might help. I was kind of expecting this when preliminary patch was sent before. Let me try what you suggest and send out v3. I was also thinking if this should be inside kernel facilitated by a new ioctl? so that we avoid number of search ioctl thats required. Thanks, Anand -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH] btrfs-progs: calculate disk space that a subvol could... Anand Jain
- Re: [PATCH] btrfs-progs: calculate disk space that a sub... Zach Brown
- [PATCH V2] btrfs-progs: device add should check existing... Anand Jain
- [PATCH v2] btrfs-progs: calculate disk space that a subv... Anand Jain
- Re: [PATCH v2] btrfs-progs: calculate disk space tha... David Sterba
- Re: [PATCH v2] btrfs-progs: calculate disk space... Wang Shilong
- Re: [PATCH v2] btrfs-progs: calculate disk s... Anand Jain
- Re: [PATCH v2] btrfs-progs: calculate d... Wang Shilong
- Re: [PATCH v2] btrfs-progs: calcula... Anand Jain
- Re: [PATCH v2] btrfs-progs: calculate d... David Sterba
- Re: [PATCH v2] btrfs-progs: calcula... Wang Shilong
- Re: [PATCH v2] btrfs-progs: cal... Anand Jain
- Re: [PATCH v2] btrfs-progs: cal... Wang Shilong
- Re: [PATCH v2] btrfs-progs: cal... Alex Lyakas
- Re: [PATCH v2] btrfs-progs: cal... Wang Shilong
- Re: [PATCH v2] btrfs-progs: cal... Anand Jain
- Re: [PATCH v2] btrfs-progs: calculate disk s... Anand Jain