Re: [PATCH v2 01/10] btrfs: backref: Introduce the skeleton of btrfs_backref_iter

David Sterba
2020-03-03T17:25:49Z

On Mon, Mar 02, 2020 at 05:45:44PM +0800, Qu Wenruo wrote:
> +struct btrfs_backref_iter {
> + u64 bytenr;
> + struct btrfs_path *path;
> + struct btrfs_fs_info *fs_info;
> + struct btrfs_key cur_key;

> + unsigned long item_ptr;
> + unsigned long cur_ptr;
> + unsigned long end_ptr;

I think these can be u32, only processing the leaf data, this would save
some stack space consumed by the iterators.