Skip to content

Commit

Permalink
Unconditionally add nrext64=0 to inode options
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Nov 28, 2023
1 parent 1133c67 commit cf64e65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/engine/strat_engine/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,15 @@ pub fn create_fs(devnode: &Path, uuid: Option<StratisUuid>) -> StratisResult<()>
command.arg("-m");
command.arg(format!("uuid={uuid}"));
}

// Use smaller size extent counters. Note that the size of the extent
// counters can be increased using an xfs_repair command, although this can
// be a costly operation. If a filesystem is created with the larger size
// extent counters, which is the default for mkfs.xfs >= 6.5.0, then it
// will be unmountable on kernels which do not support the larger size.
command.arg("-i");
command.arg(format!("nrext64=0"));

execute_cmd(&mut command)
}

Expand Down

0 comments on commit cf64e65

Please sign in to comment.