diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-01-25 12:53:23 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:46 +0300 |
commit | 4d9450113e60def0bece006d0f8ef7c5f26adf60 (patch) | |
tree | 7744255c85878ef71f24e44406d7ae2dda39177a /scripts/gdb/linux/utils.py | |
parent | 91701bdfa2bd97c77597cfa9d189a70265637103 (diff) | |
download | linux-4d9450113e60def0bece006d0f8ef7c5f26adf60.tar.xz |
btrfs: document what the spinlock unused_bgs_lock protects
Add some comments to struct btrfs_fs_info to explicitly document which
members are protected by the spinlock unused_bgs_lock. It is currently
used to protect two linked lists, the reclaim_bgs and unused_bgs lists.
So add an explicit comment on top of each list to mention its protected
by unused_bgs_lock, as well as comment on top of unused_bgs_lock to
mention the lists it protects.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions