Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fiemap add a physical size #9

Closed
wants to merge 137 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
8bab0a3
btrfs: remove the pg_offset parameter from btrfs_get_extent()
adam900710 Jan 8, 2024
4d02b54
btrfs: remove unused variable bio_offset from end_bbio_data_read()
adam900710 Jan 8, 2024
84cda1a
btrfs: cache folio size and shift in extent_buffer
adam900710 Jan 5, 2024
592a0ce
btrfs: remove extent_map_tree forward declaration at extent_io.h
fdmanana Jan 9, 2024
8fd2b12
btrfs: WARN_ON_ONCE() in our leak detection code
josefbacik Jan 2, 2024
dfba9f4
btrfs: add set_folio_extent_mapped() helper
Dec 14, 2023
03fbf77
btrfs: convert defrag_prepare_one_page() to use a folio
Dec 14, 2023
fae9cd2
btrfs: use a folio array throughout the defrag process
Dec 14, 2023
df055af
btrfs: page to folio conversion in btrfs_truncate_block()
Jan 11, 2024
c4e5b74
btrfs: remove duplicate recording of physical address
morbidrsa Jan 17, 2024
4e00422
btrfs: replace sb::s_blocksize by fs_info::sectorsize
kdave Jan 16, 2024
dc52796
btrfs: replace i_blocksize by fs_info::sectorsize
kdave Jan 16, 2024
2b712e3
btrfs: remove unused included headers
kdave Jan 25, 2024
56596a9
btrfs: zstd: fix and simplify the inline extent decompression (v2)
adam900710 Jan 23, 2024
835cd82
btrfs: zlib: Fix spelling mistake "infalte" -> "inflate"
ColinIanKing Jan 22, 2024
c03c89f
btrfs: handle errors returned from unpin_extent_cache()
kdave Jan 12, 2024
44a6c34
btrfs: return errors from unpin_extent_range()
kdave Jan 12, 2024
91701bd
btrfs: make btrfs_error_unpin_extent_range() return void
kdave Jan 12, 2024
4d94501
btrfs: document what the spinlock unused_bgs_lock protects
fdmanana Jan 25, 2024
edebd19
btrfs: add comment about list_is_singular() use at btrfs_delete_unuse…
fdmanana Jan 25, 2024
e383e15
btrfs: preallocate temporary extent buffer for inode logging when needed
fdmanana Jan 26, 2024
4dc4a3b
btrfs: use READ/WRITE_ONCE for fs_devices->read_policy
naota Feb 2, 2024
1686570
btrfs: handle directory and dentry mismatch in btrfs_may_delete()
kdave Jan 19, 2024
c093bf3
btrfs: handle invalid range and start in merge_extent_mapping()
kdave Jan 19, 2024
97ec332
btrfs: handle block group lookup error when it's being removed
kdave Jan 20, 2024
0fe2983
btrfs: handle root deletion lookup error in btrfs_del_root()
kdave Jan 23, 2024
9dcb6ed
btrfs: handle invalid root reference found in btrfs_find_root()
kdave Jan 23, 2024
a672429
btrfs: handle invalid root reference found in btrfs_init_root_free_ob…
kdave Jan 23, 2024
7411055
btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()
kdave Jan 23, 2024
a4259b6
btrfs: handle invalid extent item reference found in check_committed_…
kdave Jan 24, 2024
26b66d1
btrfs: export: handle invalid inode or root reference in btrfs_get_pa…
kdave Jan 19, 2024
778e618
btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed…
kdave Jan 20, 2024
be73f44
btrfs: change BUG_ON to assertion when checking for delayed_node root
kdave Jan 20, 2024
51d4be5
btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
kdave Jan 19, 2024
2467d0f
btrfs: change BUG_ON to assertion in btrfs_read_roots()
kdave Jan 24, 2024
504a00a
btrfs: change BUG_ON to assertion when verifying lockdep class setup
kdave Jan 23, 2024
3e1d51d
btrfs: change BUG_ON to assertion when verifying root in btrfs_alloc_…
kdave Jan 24, 2024
53e4d8c
btrfs: change BUG_ON to assertion in reset_balance_state()
kdave Jan 24, 2024
5378ea6
btrfs: unify handling of return values of btrfs_insert_empty_items()
kdave Jan 24, 2024
0896ce7
btrfs: move transaction abort to the error site in btrfs_delete_free_…
kdave Jan 23, 2024
ca7f798
btrfs: move transaction abort to the error site in btrfs_create_free_…
kdave Jan 23, 2024
3c9da0d
btrfs: move transaction abort to the error site btrfs_rebuild_free_sp…
kdave Jan 23, 2024
737e6e5
btrfs: mark __btrfs_add_free_space static
Feb 6, 2024
b2136cc
btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
kdave Jan 29, 2024
c829389
btrfs: add helpers to get inode from page/folio pointers
kdave Sep 13, 2023
b33d2e5
btrfs: add helpers to get fs_info from page/folio pointers
kdave Sep 14, 2023
41044b4
btrfs: add helper to get fs_info from struct inode pointer
kdave Sep 14, 2023
e84bfff
btrfs: hoist fs_info out of loops in end_bbio_data_write and end_bbio…
kdave Jan 24, 2024
22b46bd
btrfs: add forward declarations and headers, part 1
kdave Jan 26, 2024
602035d
btrfs: add forward declarations and headers, part 2
kdave Jan 27, 2024
5693a12
btrfs: add forward declarations and headers, part 3
kdave Jan 27, 2024
8a46e55
btrfs: stop passing root argument to btrfs_add_delalloc_inodes()
fdmanana Feb 8, 2024
f5169f1
btrfs: stop passing root argument to __btrfs_del_delalloc_inode()
fdmanana Feb 8, 2024
f23f895
btrfs: assert root delalloc lock is held at __btrfs_del_delalloc_inode()
fdmanana Feb 8, 2024
f4f1545
btrfs: rename btrfs_add_delalloc_inodes() to singular form
fdmanana Feb 8, 2024
bdc0f89
btrfs: reduce inode lock critical section when setting and clearing d…
fdmanana Feb 9, 2024
b5d5639
btrfs: add lockdep assertion to remaining delalloc callbacks
fdmanana Feb 9, 2024
d23626d
btrfs: use assertion instead of BUG_ON when adding/removing to delall…
fdmanana Feb 9, 2024
99c15fe
btrfs: remove do_list variable at btrfs_set_delalloc_extent()
fdmanana Feb 9, 2024
4e94ee8
btrfs: remove do_list variable at btrfs_clear_delalloc_extent()
fdmanana Feb 9, 2024
dbe6cda
btrfs: push errors up from add_async_extent()
kdave Jan 24, 2024
5b95798
btrfs: update comment and drop assertion in extent item lookup in fin…
kdave Jan 24, 2024
11dcc86
btrfs: handle invalid extent item reference found in extent_from_logi…
kdave Jan 24, 2024
f626a0f
btrfs: handle invalid extent item reference found in find_first_exten…
kdave Jan 24, 2024
6fbc6f4
btrfs: handle invalid root reference found in may_destroy_subvol()
kdave Jan 24, 2024
e80e3f7
btrfs: send: handle unexpected data in header buffer in begin_cmd()
kdave Feb 6, 2024
5d22887
btrfs: send: handle unexpected inode in header process_recorded_refs()
kdave Feb 6, 2024
3c6ee34
btrfs: send: handle path ref underflow in header iterate_inode_ref()
kdave Feb 6, 2024
56f335e
btrfs: change BUG_ON to assertion in tree_move_down()
kdave Feb 6, 2024
4839c38
btrfs: change BUG_ONs to assertions in btrfs_qgroup_trace_subtree()
kdave Feb 6, 2024
f40a3ea
btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_ac…
kdave Feb 6, 2024
bfe8a0c
btrfs: delete pointless BUG_ONs on extent item size
kdave Feb 6, 2024
636d91d
btrfs: delete BUG_ON in btrfs_init_locked_inode()
kdave Feb 7, 2024
f840ab7
btrfs: sysfs: drop unnecessary double logical negation in acl_show()
Conan-Kudo Feb 12, 2024
f33163e
btrfs: remove no longer used btrfs_transaction_in_commit()
fdmanana Feb 13, 2024
5ab2b18
btrfs: factor out validation of btrfs_ioctl_vol_args::name
kdave Feb 14, 2024
0478adf
btrfs: factor out validation of btrfs_ioctl_vol_args_v2::name
kdave Feb 14, 2024
0e9e135
btrfs: send: avoid duplicated search for last extent when sending hole
fdmanana Feb 17, 2024
74cd8ca
btrfs: avoid unnecessary ref initialization when freeing log tree block
fdmanana Feb 19, 2024
b2324e0
btrfs: raid56: extra debugging for raid6 syndrome generation
adam900710 Jan 26, 2024
2761ece
btrfs: introduce offload_csum_mode to tweak checksum offloading behavior
naota Feb 5, 2024
e605234
btrfs: move balance args conversion helpers to volumes.c
kdave Feb 16, 2024
56430c1
btrfs: open code btrfs_backref_iter_free()
kdave Feb 16, 2024
ef92344
btrfs: open code btrfs_backref_get_eb()
kdave Feb 16, 2024
2aa756e
btrfs: uninline some static inline helpers from backref.h
kdave Feb 16, 2024
585ab69
btrfs: uninline btrfs_init_delayed_root()
kdave Feb 16, 2024
2be1f2b
btrfs: drop static inline specifiers from tree-mod-log.c
kdave Feb 16, 2024
c207adc
btrfs: uninline some static inline helpers from tree-log.h
kdave Feb 16, 2024
e925671
btrfs: open code trivial btrfs_lru_cache_size()
kdave Feb 16, 2024
d57dd52
btrfs: uninline some static inline helpers from delayed-ref.h
kdave Feb 16, 2024
625c1e0
btrfs: use KMEM_CACHE() to create btrfs_delayed_node cache
KunWuChan Feb 20, 2024
4bd3e12
btrfs: use KMEM_CACHE() to create btrfs_ordered_extent cache
KunWuChan Feb 20, 2024
2753b4d
btrfs: use KMEM_CACHE() to create btrfs_trans_handle cache
KunWuChan Feb 20, 2024
66ce544
btrfs: use KMEM_CACHE() to create btrfs_path cache
KunWuChan Feb 20, 2024
b2c7d55
btrfs: use KMEM_CACHE() to create delayed ref caches
KunWuChan Feb 20, 2024
06c9564
btrfs: use KMEM_CACHE() to create btrfs_free_space cache
KunWuChan Feb 20, 2024
37bf771
btrfs: handle transaction commit errors in flush_reservations()
kdave Feb 22, 2024
1cdeac6
btrfs: pass btrfs_device to btrfs_scratch_superblocks()
kdave Feb 22, 2024
5a8a57f
btrfs: merge btrfs_del_delalloc_inode() helpers
kdave Feb 22, 2024
970ea37
btrfs: pass a valid extent map cache pointer to __get_extent_map()
kdave Feb 6, 2024
621b9ff
btrfs: unexport btrfs_subpage_start_writer() and btrfs_subpage_end_an…
adam900710 Feb 17, 2024
8e7e9c6
btrfs: subpage: make reader lock utilize bitmap
adam900710 Feb 17, 2024
b086c5b
btrfs: subpage: make writer lock utilize bitmap
adam900710 Feb 17, 2024
25da852
btrfs: compression: remove dead comments in btrfs_compress_heuristic()
adam900710 Feb 22, 2024
dd6a571
btrfs: tree-checker: dump the page status if hit something wrong
adam900710 Jan 26, 2024
d139ded
btrfs: qgroup: always free reserved space for extent records
adam900710 Feb 23, 2024
ef5a05c
btrfs: remove SLAB_MEM_SPREAD flag use
Feb 24, 2024
7ec28f8
btrfs: mark btrfs_put_caching_control() static
Feb 29, 2024
0782303
btrfs: include device major and minor numbers in the device scan notice
asj Feb 25, 2024
86211ee
btrfs: qgroup: validate btrfs_qgroup_inherit parameter
adam900710 Feb 27, 2024
b20fe56
btrfs: qgroup: allow quick inherit if snapshot is created and added t…
adam900710 Feb 26, 2024
ae6bd7f
btrfs: fix off-by-one chunk length calculation at contains_pending_ex…
fdmanana Feb 29, 2024
978b63f
btrfs: fix race when detecting delalloc ranges during fiemap
fdmanana Feb 28, 2024
1cab137
btrfs: reuse cloned extent buffer during fiemap to avoid re-allocations
fdmanana Feb 28, 2024
5a8b0a9
btrfs: === misc-next ===
kdave Feb 21, 2024
7e91f85
btrfs: prefer to allocate larger folio for metadata
adam900710 Jan 5, 2024
6423740
btrfs: page to folio conversion: prealloc_file_extent_cluster()
goldwynr Jan 23, 2024
80f19a5
btrfs: convert relocate_one_page() to relocate_one_folio()
goldwynr Jan 23, 2024
9e1e4d7
btrfs: page to folio conversion in put_file_data()
goldwynr Jan 23, 2024
c7a6ca4
btrfs: introduce cached folio size
adam900710 Jan 24, 2024
4a885ba
btrfs: defrag: prepare defrag for larger data folio size
adam900710 Jan 24, 2024
f5d376b
btrfs: compression: add error handling for missed page cache
adam900710 Jan 29, 2024
5130ea8
btrfs: compression: convert page allocation to folio interfaces
adam900710 Jan 29, 2024
ef3ae57
btrfs: make insert_inline_extent() to accept one page directly
adam900710 Jan 29, 2024
b7122bd
btrfs: migrate insert_inline_extent() to folio interfaces
adam900710 Jan 29, 2024
19fd2c8
btrfs: introduce btrfs_alloc_folio_array()
adam900710 Jan 29, 2024
985550b
btrfs: compression: migrate compression/decompression paths to folios
adam900710 Jan 29, 2024
71e3f3e
btrfs: report reclaim count in sysfs
boryas Feb 2, 2024
d4ce87f
btrfs: store fs_info on space_info
boryas Feb 2, 2024
a2e53e4
btrfs: dynamic block_group reclaim threshold
boryas Feb 2, 2024
94d3eb0
btrfs: periodic block_group reclaim
boryas Feb 2, 2024
9ef5923
btrfs: urgent periodic reclaim pass
boryas Feb 2, 2024
6aa332e
btrfs: prevent pathological periodic reclaim loops
boryas Feb 2, 2024
db77ce7
btrfs: handle unexpected parent block offset in btrfs_alloc_tree_block()
kdave Feb 7, 2024
39b492f
fs: add physical_length field to fiemap extents
sweettea Feb 29, 2024
1a9375b
fs: update fiemap_fill_next_extent() signature
sweettea Feb 29, 2024
d290a02
btrfs: return extent disk size in fiemap
sweettea Feb 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
btrfs: remove unused included headers
With help of neovim, LSP and clangd we can identify header files that
are not actually needed to be included in the .c files. This is focused
only on removal (with minor fixups), further cleanups are possible but
will require doing the header files properly with forward declarations,
minimized includes and include-what-you-use care.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
kdave committed Mar 4, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
commit 2b712e3bb2c46165a3d35096f37bea6aa47f45d4
3 changes: 2 additions & 1 deletion fs/btrfs/accessors.c
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@

#include <asm/unaligned.h>
#include "messages.h"
#include "ctree.h"
#include "extent_io.h"
#include "fs.h"
#include "accessors.h"

static bool check_setget_bounds(const struct extent_buffer *eb,
1 change: 0 additions & 1 deletion fs/btrfs/acl.c
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@
#include <linux/sched/mm.h>
#include <linux/slab.h>
#include "ctree.h"
#include "btrfs_inode.h"
#include "xattr.h"
#include "acl.h"

1 change: 0 additions & 1 deletion fs/btrfs/async-thread.c
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@
#include <linux/freezer.h>
#include <trace/events/btrfs.h>
#include "async-thread.h"
#include "ctree.h"

enum {
WORK_DONE_BIT,
1 change: 0 additions & 1 deletion fs/btrfs/bio.c
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@
#include "raid56.h"
#include "async-thread.h"
#include "dev-replace.h"
#include "rcu-string.h"
#include "zoned.h"
#include "file-item.h"
#include "raid-stripe-tree.h"
1 change: 0 additions & 1 deletion fs/btrfs/block-rsv.c
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@
#include "space-info.h"
#include "transaction.h"
#include "block-group.h"
#include "disk-io.h"
#include "fs.h"
#include "accessors.h"

5 changes: 1 addition & 4 deletions fs/btrfs/compression.c
Original file line number Diff line number Diff line change
@@ -25,17 +25,14 @@
#include "misc.h"
#include "ctree.h"
#include "fs.h"
#include "disk-io.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "bio.h"
#include "ordered-data.h"
#include "compression.h"
#include "extent_io.h"
#include "extent_map.h"
#include "subpage.h"
#include "zoned.h"
#include "file-item.h"
#include "messages.h"
#include "super.h"

static struct bio_set btrfs_compressed_bioset;
1 change: 0 additions & 1 deletion fs/btrfs/defrag.c
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@
#include <linux/sched.h>
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
#include "transaction.h"
#include "locking.h"
#include "accessors.h"
2 changes: 0 additions & 2 deletions fs/btrfs/delalloc-space.c
Original file line number Diff line number Diff line change
@@ -6,9 +6,7 @@
#include "block-rsv.h"
#include "btrfs_inode.h"
#include "space-info.h"
#include "transaction.h"
#include "qgroup.h"
#include "block-group.h"
#include "fs.h"

/*
2 changes: 0 additions & 2 deletions fs/btrfs/dev-replace.c
Original file line number Diff line number Diff line change
@@ -11,10 +11,8 @@
#include <linux/math64.h>
#include "misc.h"
#include "ctree.h"
#include "extent_map.h"
#include "disk-io.h"
#include "transaction.h"
#include "print-tree.h"
#include "volumes.h"
#include "async-thread.h"
#include "dev-replace.h"
1 change: 0 additions & 1 deletion fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
@@ -29,7 +29,6 @@
#include "tree-log.h"
#include "free-space-cache.h"
#include "free-space-tree.h"
#include "rcu-string.h"
#include "dev-replace.h"
#include "raid56.h"
#include "sysfs.h"
1 change: 0 additions & 1 deletion fs/btrfs/export.c
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@
#include "ctree.h"
#include "disk-io.h"
#include "btrfs_inode.h"
#include "print-tree.h"
#include "export.h"
#include "accessors.h"
#include "super.h"
1 change: 0 additions & 1 deletion fs/btrfs/extent-io-tree.c
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@
#include "ctree.h"
#include "extent-io-tree.h"
#include "btrfs_inode.h"
#include "misc.h"

static struct kmem_cache *extent_state_cache;

5 changes: 1 addition & 4 deletions fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
@@ -18,22 +18,19 @@
#include <linux/crc32c.h>
#include "ctree.h"
#include "extent-tree.h"
#include "tree-log.h"
#include "transaction.h"
#include "disk-io.h"
#include "print-tree.h"
#include "volumes.h"
#include "raid56.h"
#include "locking.h"
#include "free-space-cache.h"
#include "free-space-tree.h"
#include "sysfs.h"
#include "qgroup.h"
#include "ref-verify.h"
#include "space-info.h"
#include "block-rsv.h"
#include "delalloc-space.h"
#include "discard.h"
#include "rcu-string.h"
#include "zoned.h"
#include "dev-replace.h"
#include "fs.h"
2 changes: 0 additions & 2 deletions fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
@@ -14,15 +14,13 @@
#include <linux/pagevec.h>
#include <linux/prefetch.h>
#include <linux/fsverity.h>
#include "misc.h"
#include "extent_io.h"
#include "extent-io-tree.h"
#include "extent_map.h"
#include "ctree.h"
#include "btrfs_inode.h"
#include "bio.h"
#include "locking.h"
#include "rcu-string.h"
#include "backref.h"
#include "disk-io.h"
#include "subpage.h"
1 change: 0 additions & 1 deletion fs/btrfs/extent_map.c
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@
#include <linux/spinlock.h>
#include "messages.h"
#include "ctree.h"
#include "volumes.h"
#include "extent_map.h"
#include "compression.h"
#include "btrfs_inode.h"
3 changes: 0 additions & 3 deletions fs/btrfs/file-item.c
Original file line number Diff line number Diff line change
@@ -10,17 +10,14 @@
#include <linux/sched/mm.h>
#include <crypto/hash.h>
#include "messages.h"
#include "misc.h"
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
#include "bio.h"
#include "print-tree.h"
#include "compression.h"
#include "fs.h"
#include "accessors.h"
#include "file-item.h"
#include "super.h"

#define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
sizeof(struct btrfs_item) * 2) / \
2 changes: 2 additions & 0 deletions fs/btrfs/file-item.h
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@

#include "accessors.h"

struct extent_map;

#define BTRFS_FILE_EXTENT_INLINE_DATA_START \
(offsetof(struct btrfs_file_extent_item, disk_bytenr))

2 changes: 0 additions & 2 deletions fs/btrfs/file.c
Original file line number Diff line number Diff line change
@@ -22,10 +22,8 @@
#include "disk-io.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "print-tree.h"
#include "tree-log.h"
#include "locking.h"
#include "volumes.h"
#include "qgroup.h"
#include "compression.h"
#include "delalloc-space.h"
2 changes: 0 additions & 2 deletions fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
@@ -19,9 +19,7 @@
#include "transaction.h"
#include "disk-io.h"
#include "extent_io.h"
#include "volumes.h"
#include "space-info.h"
#include "delalloc-space.h"
#include "block-group.h"
#include "discard.h"
#include "subpage.h"
1 change: 0 additions & 1 deletion fs/btrfs/fs.h
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@
#include <linux/btrfs_tree.h>
#include <linux/sizes.h>
#include "extent-io-tree.h"
#include "extent_map.h"
#include "async-thread.h"
#include "block-rsv.h"

1 change: 0 additions & 1 deletion fs/btrfs/inode-item.c
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@
#include "inode-item.h"
#include "disk-io.h"
#include "transaction.h"
#include "print-tree.h"
#include "space-info.h"
#include "accessors.h"
#include "extent-tree.h"
2 changes: 0 additions & 2 deletions fs/btrfs/inode.c
Original file line number Diff line number Diff line change
@@ -39,14 +39,12 @@
#include "disk-io.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "print-tree.h"
#include "ordered-data.h"
#include "xattr.h"
#include "tree-log.h"
#include "bio.h"
#include "compression.h"
#include "locking.h"
#include "free-space-cache.h"
#include "props.h"
#include "qgroup.h"
#include "delalloc-space.h"
4 changes: 0 additions & 4 deletions fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
@@ -34,11 +34,9 @@
#include "export.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "print-tree.h"
#include "volumes.h"
#include "locking.h"
#include "backref.h"
#include "rcu-string.h"
#include "send.h"
#include "dev-replace.h"
#include "props.h"
@@ -47,9 +45,7 @@
#include "tree-log.h"
#include "compression.h"
#include "space-info.h"
#include "delalloc-space.h"
#include "block-group.h"
#include "subpage.h"
#include "fs.h"
#include "accessors.h"
#include "extent-tree.h"
1 change: 0 additions & 1 deletion fs/btrfs/locking.c
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@
#include "ctree.h"
#include "extent_io.h"
#include "locking.h"
#include "accessors.h"

/*
* Lockdep class keys for extent_buffer->lock's in this root. For a given
2 changes: 0 additions & 2 deletions fs/btrfs/messages.c
Original file line number Diff line number Diff line change
@@ -3,8 +3,6 @@
#include "fs.h"
#include "messages.h"
#include "discard.h"
#include "transaction.h"
#include "space-info.h"
#include "super.h"

#ifdef CONFIG_PRINTK
1 change: 0 additions & 1 deletion fs/btrfs/ordered-data.c
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@
#include "qgroup.h"
#include "subpage.h"
#include "file.h"
#include "super.h"

static struct kmem_cache *btrfs_ordered_extent_cache;

1 change: 0 additions & 1 deletion fs/btrfs/orphan.c
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
*/

#include "ctree.h"
#include "disk-io.h"
#include "orphan.h"

int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
1 change: 0 additions & 1 deletion fs/btrfs/raid-stripe-tree.c
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@
#include "disk-io.h"
#include "raid-stripe-tree.h"
#include "volumes.h"
#include "misc.h"
#include "print-tree.h"

int btrfs_delete_raid_extent(struct btrfs_trans_handle *trans, u64 start, u64 length)
1 change: 0 additions & 1 deletion fs/btrfs/raid56.c
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@
#include <linux/raid/xor.h>
#include <linux/mm.h>
#include "messages.h"
#include "misc.h"
#include "ctree.h"
#include "disk-io.h"
#include "volumes.h"
1 change: 0 additions & 1 deletion fs/btrfs/root-tree.c
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@
#include "messages.h"
#include "transaction.h"
#include "disk-io.h"
#include "print-tree.h"
#include "qgroup.h"
#include "space-info.h"
#include "accessors.h"
1 change: 0 additions & 1 deletion fs/btrfs/send.c
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@
#include "btrfs_inode.h"
#include "transaction.h"
#include "compression.h"
#include "xattr.h"
#include "print-tree.h"
#include "accessors.h"
#include "dir-item.h"
1 change: 0 additions & 1 deletion fs/btrfs/space-info.c
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@
#include "ordered-data.h"
#include "transaction.h"
#include "block-group.h"
#include "zoned.h"
#include "fs.h"
#include "accessors.h"
#include "extent-tree.h"
2 changes: 0 additions & 2 deletions fs/btrfs/super.c
Original file line number Diff line number Diff line change
@@ -34,13 +34,11 @@
#include "disk-io.h"
#include "transaction.h"
#include "btrfs_inode.h"
#include "print-tree.h"
#include "props.h"
#include "xattr.h"
#include "bio.h"
#include "export.h"
#include "compression.h"
#include "rcu-string.h"
#include "dev-replace.h"
#include "free-space-cache.h"
#include "backref.h"
2 changes: 0 additions & 2 deletions fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
@@ -23,12 +23,10 @@
#include "qgroup.h"
#include "block-group.h"
#include "space-info.h"
#include "zoned.h"
#include "fs.h"
#include "accessors.h"
#include "extent-tree.h"
#include "root-tree.h"
#include "defrag.h"
#include "dir-item.h"
#include "uuid-tree.h"
#include "ioctl.h"
2 changes: 0 additions & 2 deletions fs/btrfs/tree-checker.c
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
#include "messages.h"
#include "ctree.h"
#include "tree-checker.h"
#include "disk-io.h"
#include "compression.h"
#include "volumes.h"
#include "misc.h"
@@ -30,7 +29,6 @@
#include "file-item.h"
#include "inode-item.h"
#include "dir-item.h"
#include "raid-stripe-tree.h"
#include "extent-tree.h"

/*
2 changes: 0 additions & 2 deletions fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
@@ -13,13 +13,11 @@
#include "tree-log.h"
#include "disk-io.h"
#include "locking.h"
#include "print-tree.h"
#include "backref.h"
#include "compression.h"
#include "qgroup.h"
#include "block-group.h"
#include "space-info.h"
#include "zoned.h"
#include "inode-item.h"
#include "fs.h"
#include "accessors.h"
Loading