summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-14 18:06:27 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:36 +0300
commit4ce76e8e783693c72956e817f3a6dbbaa055411a (patch)
tree39f33d16ea40ef497527a67fa4e81581e4a116de
parentea206640a600c808d30d8d62c44b6982c12a143b (diff)
downloadlinux-4ce76e8e783693c72956e817f3a6dbbaa055411a.tar.xz
btrfs: remove unused BTRFS_IOPRIO_READA
The last user of this definition was removed in patch f26c92386028 ("btrfs: remove reada infrastructure") so we can remove this definition. Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8bd49328efab..7760cc07288e 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -87,9 +87,6 @@ struct reloc_control;
#define BTRFS_EMPTY_DIR_SIZE 0
-/* ioprio of readahead is set to idle */
-#define BTRFS_IOPRIO_READA (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0))
-
#define BTRFS_DIRTY_METADATA_THRESH SZ_32M
#define BTRFS_MAX_EXTENT_SIZE SZ_128M