diff options
author | Gabriel Niebler <gniebler@suse.com> | 2022-04-26 11:43:04 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:16 +0200 |
commit | 253bf57555e451dec5a7f09dc95d380ce8b10e5b (patch) | |
tree | 10deeea6290ca98bd6b4f9dcc2f4952675da7ada /COPYING | |
parent | btrfs: use ilog2() to replace if () branches for btrfs_bg_flags_to_raid_index() (diff) | |
download | linux-dev-253bf57555e451dec5a7f09dc95d380ce8b10e5b.tar.xz linux-dev-253bf57555e451dec5a7f09dc95d380ce8b10e5b.zip |
btrfs: turn delayed_nodes_tree into an XArray
… in the btrfs_root struct and adjust all usages of this object to use
the XArray API, because it is notionally easier to use and understand,
as it provides array semantics, and also takes care of locking for us,
further simplifying the code.
Also use the opportunity to do some light refactoring.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Gabriel Niebler <gniebler@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions