Skip to content

Commit

Permalink
Merge pull request #368 from findns94/fix_ext4_lazyinit
Browse files Browse the repository at this point in the history
setup/fs: fix ext4 lazyinit performance issue
  • Loading branch information
rli9 authored Apr 16, 2024
2 parents 61ae97c + c9bada1 commit 4ee5343
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup/fs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ fs_options() {
# mkfs.xfs v5.10.0 would set reflink=1 by default, and conflict with DAX mount option, so need to set reflink=0 explicitly
ensure_mkfs='-f -mreflink=0'
;;
ext*)
ext2)
ensure_mkfs='-q -F'
;;
ext4)
ensure_mkfs='-q -E lazy_itable_init=0,lazy_journal_init=0 -F'
;;
btrfs)
;;
f2fs)
Expand Down

0 comments on commit 4ee5343

Please sign in to comment.