diff options
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index db1718833f58..c668e4377d76 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1247,11 +1247,11 @@ do { \ | |||
1247 | } while (0) | 1247 | } while (0) |
1248 | 1248 | ||
1249 | #ifdef CONFIG_SMP | 1249 | #ifdef CONFIG_SMP |
1250 | /* Each CPU can accumulate FBC_BATCH blocks in their local | 1250 | /* Each CPU can accumulate percpu_counter_batch blocks in their local |
1251 | * counters. So we need to make sure we have free blocks more | 1251 | * counters. So we need to make sure we have free blocks more |
1252 | * than FBC_BATCH * nr_cpu_ids. Also add a window of 4 times. | 1252 | * than percpu_counter_batch * nr_cpu_ids. Also add a window of 4 times. |
1253 | */ | 1253 | */ |
1254 | #define EXT4_FREEBLOCKS_WATERMARK (4 * (FBC_BATCH * nr_cpu_ids)) | 1254 | #define EXT4_FREEBLOCKS_WATERMARK (4 * (percpu_counter_batch * nr_cpu_ids)) |
1255 | #else | 1255 | #else |
1256 | #define EXT4_FREEBLOCKS_WATERMARK 0 | 1256 | #define EXT4_FREEBLOCKS_WATERMARK 0 |
1257 | #endif | 1257 | #endif |