Merge pull request #11411 from k8s-infra-cherrypick-robot/cherry-pick-11362-to-release/2.0

[release/2.0] move the device after the options when using mkfs.ext4
This commit is contained in:
Akihiro Suda 2025-02-21 10:57:51 +09:00 committed by GitHub
commit 6a3f071b8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,9 +235,9 @@ func testCreateThinDevice(t *testing.T, pool *PoolDevice) {
func testMakeFileSystem(t *testing.T, pool *PoolDevice) {
devicePath := dmsetup.GetFullDevicePath(thinDevice1)
args := []string{
devicePath,
"-E",
"nodiscard,lazy_itable_init=0,lazy_journal_init=0",
devicePath,
}
output, err := exec.Command("mkfs.ext4", args...).CombinedOutput()