aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-09-14 11:06:26 -0400
committerDavid Sterba <[email protected]>2022-12-05 18:00:36 +0100
commitea206640a600c808d30d8d62c44b6982c12a143b (patch)
treea01cb54bf37ae1b1c23c723cc6862f5291377def
parentd60d956eb41f0945c2438af11ed412109c558f4f (diff)
btrfs: remove unused BTRFS_TOTAL_BYTES_PINNED_BATCH
This hasn't been used since 138a12d86574 ("btrfs: rip out btrfs_space_info::total_bytes_pinned") so it is safe to remove. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
-rw-r--r--fs/btrfs/ctree.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 3be1db2c558f..8bd49328efab 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -92,14 +92,6 @@ struct reloc_control;
#define BTRFS_DIRTY_METADATA_THRESH SZ_32M
-/*
- * Use large batch size to reduce overhead of metadata updates. On the reader
- * side, we only read it when we are close to ENOSPC and the read overhead is
- * mostly related to the number of CPUs, so it is OK to use arbitrary large
- * value here.
- */
-#define BTRFS_TOTAL_BYTES_PINNED_BATCH SZ_128M
-
#define BTRFS_MAX_EXTENT_SIZE SZ_128M
/*