linux/fs/btrfs
Josef Bacik 55e5cfd36d btrfs: remove fs_info::pending_changes and related code
Now that we're not using this code anywhere we can remove it as well as
the member from fs_info.

We don't have any mount options or on/off features that would utilize
the pending infrastructure, the last one was inode_cache.
There was a patchset [1] to enable some features from sysfs that would
break things if it would be set immediately. In case we'll need that
kind of logic again the patch can be reverted, but for the current use
it can be replaced by the single state bit to do the commit.

[1] https://lore.kernel.org/linux-btrfs/1422609654-19519-1-git-send-email-quwenruo@cn.fujitsu.com/

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add note ]
Signed-off-by: David Sterba <dsterba@suse.com>
2022-12-05 18:00:42 +01:00
..
tests btrfs: move fs_info::flags enum to fs.h 2022-12-05 18:00:42 +01:00
acl.c
async-thread.c
async-thread.h btrfs: remove unused typedefs get_extent_t and btrfs_work_func_t 2022-07-25 17:45:36 +02:00
backref.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
backref.h btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
block-group.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
block-group.h btrfs: skip update of block group item if used bytes are the same 2022-12-05 18:00:40 +01:00
block-rsv.c btrfs: move mount option definitions to fs.h 2022-12-05 18:00:42 +01:00
block-rsv.h btrfs: add KCSAN annotations for unlocked access to block_rsv->full 2022-09-26 12:28:02 +02:00
btrfs_inode.h btrfs: move btrfs_print_data_csum_error into inode.c 2022-12-05 18:00:37 +01:00
check-integrity.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
check-integrity.h
compression.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
compression.h btrfs: make module init/exit match their sequence 2022-12-05 18:00:40 +01:00
ctree.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
ctree.h btrfs: remove fs_info::pending_changes and related code 2022-12-05 18:00:42 +01:00
delalloc-space.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
delalloc-space.h btrfs: add the ability to use NO_FLUSH for data reservations 2022-09-29 17:08:28 +02:00
delayed-inode.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
delayed-inode.h btrfs: use delayed items when logging a directory 2022-09-26 12:27:57 +02:00
delayed-ref.c btrfs: move mount option definitions to fs.h 2022-12-05 18:00:42 +01:00
delayed-ref.h
dev-replace.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
dev-replace.h btrfs: add struct declarations in dev-replace.h 2022-09-26 12:28:07 +02:00
dir-item.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
discard.c btrfs: move mount option definitions to fs.h 2022-12-05 18:00:42 +01:00
discard.h
disk-io.c btrfs: remove fs_info::pending_changes and related code 2022-12-05 18:00:42 +01:00
disk-io.h btrfs: move btrfs_get_block_group helper out of disk-io.h 2022-12-05 18:00:36 +01:00
export.c btrfs: simplify generation check in btrfs_get_dentry 2022-12-05 18:00:41 +01:00
export.h btrfs: simplify generation check in btrfs_get_dentry 2022-12-05 18:00:41 +01:00
extent_io.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
extent_io.h btrfs: convert extent_io page op defines to enum bits 2022-12-05 18:00:40 +01:00
extent_map.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
extent_map.h btrfs: get the next extent map during fiemap/lseek more efficiently 2022-12-05 18:00:38 +01:00
extent-io-tree.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
extent-io-tree.h btrfs: remove unused unlock_extent_atomic 2022-12-05 18:00:41 +01:00
extent-tree.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
file-item.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
file.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
free-space-cache.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
free-space-cache.h btrfs: move free space cachep's out of ctree.h 2022-12-05 18:00:37 +01:00
free-space-tree.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
free-space-tree.h
fs.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
fs.h btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag 2022-12-05 18:00:42 +01:00
inode-item.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
inode-item.h
inode.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
ioctl.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
Kconfig
locking.c btrfs: implement a nowait option for tree searches 2022-09-26 12:46:42 +02:00
locking.h btrfs: implement a nowait option for tree searches 2022-09-26 12:46:42 +02:00
lzo.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
Makefile btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
messages.h btrfs: push printk index code into their respective helpers 2022-12-05 18:00:41 +01:00
misc.h btrfs: add helper for bit enumeration 2022-12-05 18:00:40 +01:00
ordered-data.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
ordered-data.h btrfs: use cached_state for btrfs_check_nocow_lock 2022-12-05 18:00:36 +01:00
orphan.c
print-tree.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
print-tree.h
props.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
props.h btrfs: make module init/exit match their sequence 2022-12-05 18:00:40 +01:00
qgroup.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
qgroup.h btrfs: convert QGROUP_* defines to enum bits 2022-12-05 18:00:40 +01:00
raid56.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
raid56.h btrfs: properly abstract the parity raid bio handling 2022-09-26 12:27:59 +02:00
rcu-string.h
ref-verify.c btrfs: move mount option definitions to fs.h 2022-12-05 18:00:42 +01:00
ref-verify.h
reflink.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
reflink.h
relocation.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
root-tree.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
scrub.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
send.c btrfs: send add define for v2 buffer size 2022-12-05 18:00:41 +01:00
send.h btrfs: send add define for v2 buffer size 2022-12-05 18:00:41 +01:00
space-info.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
space-info.h btrfs: introduce BTRFS_RESERVE_FLUSH_EMERGENCY 2022-12-05 18:00:38 +01:00
struct-funcs.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
subpage.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
subpage.h
super.c btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag 2022-12-05 18:00:42 +01:00
sysfs.c btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flag 2022-12-05 18:00:42 +01:00
sysfs.h
transaction.c btrfs: remove fs_info::pending_changes and related code 2022-12-05 18:00:42 +01:00
transaction.h btrfs: remove fs_info::pending_changes and related code 2022-12-05 18:00:42 +01:00
tree-checker.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
tree-checker.h
tree-defrag.c
tree-log.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
tree-log.h btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
tree-mod-log.c btrfs: move fs_info::flags enum to fs.h 2022-12-05 18:00:42 +01:00
tree-mod-log.h btrfs: remove gfp_t flag from btrfs_tree_mod_log_insert_key() 2022-12-05 18:00:40 +01:00
ulist.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
ulist.h
uuid-tree.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
verity.c btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
volumes.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
volumes.h btrfs: auto enable discard=async when possible 2022-12-05 18:00:41 +01:00
xattr.c btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.h 2022-12-05 18:00:42 +01:00
xattr.h
zlib.c btrfs: zlib: replace kmap() with kmap_local_page() in zlib_decompress_bio() 2022-07-25 17:45:41 +02:00
zoned.c btrfs: move fs wide helpers out of ctree.h 2022-12-05 18:00:41 +01:00
zoned.h btrfs: move the printk helpers out of ctree.h 2022-12-05 18:00:41 +01:00
zstd.c btrfs: zstd: replace kmap() with kmap_local_page() 2022-07-25 17:45:40 +02:00