Skip to content

Commit ebaee13

Browse files
pelwellpopcornmix
authored andcommitted
Revert "ext4: make mb_optimize_scan performance mount option work with extents"
This reverts commit 3c65b73. The reverted commit is likely to also be reverted upstream, but with a performance regression like this I don't want to wait for that. See: #5097 Signed-off-by: Phil Elwell <[email protected]>
1 parent 25218ea commit ebaee13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/mballoc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ static inline int should_optimize_scan(struct ext4_allocation_context *ac)
10001000
return 0;
10011001
if (ac->ac_criteria >= 2)
10021002
return 0;
1003-
if (!ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))
1003+
if (ext4_test_inode_flag(ac->ac_inode, EXT4_INODE_EXTENTS))
10041004
return 0;
10051005
return 1;
10061006
}

0 commit comments

Comments
 (0)