]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: rip out btrfs_space_info::total_bytes_pinned
authorJosef Bacik <josef@toxicpanda.com>
Tue, 22 Jun 2021 12:52:01 +0000 (15:52 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 22 Jun 2021 12:55:25 +0000 (14:55 +0200)
commit138a12d865749e28b39300b8a07337811253939b
treeb274751bff1d1ebc75ced9cbf6528b51f6852ec1
parent3ffad6961db6c44b324e4ee5a8025e5f63c657d7
btrfs: rip out btrfs_space_info::total_bytes_pinned

We used this in may_commit_transaction() in order to determine if we
needed to commit the transaction.  However we no longer have that logic
and thus have no use of this counter anymore, so delete it.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/delayed-ref.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/space-info.c
fs/btrfs/space-info.h
fs/btrfs/sysfs.c