Btrfs: set ioprio of scrub readahead to idle
[deliverable/linux.git] / fs / btrfs / ctree.h
index e176f8c551f7b752352715869797b284e330a4b2..1c665ebe47e052565b66042433564df977f720bd 100644 (file)
@@ -173,6 +173,9 @@ static int btrfs_csum_sizes[] = { 4, 0 };
 #define BTRFS_FT_XATTR         8
 #define BTRFS_FT_MAX           9
 
+/* ioprio of readahead is set to idle */
+#define BTRFS_IOPRIO_READA (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0))
+
 /*
  * The key defines the order in the tree, and so it also defines (optimal)
  * block layout.
This page took 0.026758 seconds and 5 git commands to generate.