-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test-appliance: add support to use a mkfs config file for LTS kernels
Older LTS kernels don't necessarily support all of the file system features of modern kernels. So detect when we are testing an LTS kernel, and if available, use an file system specific mkfs config file (if available) to constrain the file system features needed for that kernel version and file system type. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
- Loading branch information
Showing
11 changed files
with
220 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 4.19 LTS | ||
# kernel was released at the end of 2018. | ||
|
||
[metadata] | ||
bigtime=0 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=0 | ||
reflink=0 | ||
rmapbt=0 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=0 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 5.10 LTS | ||
# kernel was released at the end of 2020. | ||
|
||
[metadata] | ||
bigtime=0 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=0 | ||
reflink=1 | ||
rmapbt=0 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=0 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 5.15 LTS | ||
# kernel was released at the end of 2021. | ||
|
||
[metadata] | ||
bigtime=1 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=1 | ||
reflink=1 | ||
rmapbt=0 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=0 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 5.4 LTS | ||
# kernel was released at the end of 2019. | ||
|
||
[metadata] | ||
bigtime=0 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=0 | ||
reflink=1 | ||
rmapbt=0 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=0 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 6.1 LTS | ||
# kernel was released at the end of 2022. | ||
|
||
[metadata] | ||
bigtime=1 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=1 | ||
reflink=1 | ||
rmapbt=0 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=0 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 6.12 LTS | ||
# kernel was released at the end of 2024. | ||
|
||
[metadata] | ||
bigtime=1 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=1 | ||
reflink=1 | ||
rmapbt=1 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=1 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# V5 features that were the mkfs defaults when the upstream Linux 6.6 LTS | ||
# kernel was released at the end of 2023. | ||
|
||
[metadata] | ||
bigtime=1 | ||
crc=1 | ||
finobt=1 | ||
inobtcount=1 | ||
reflink=1 | ||
rmapbt=1 | ||
autofsck=0 | ||
|
||
[inode] | ||
sparse=1 | ||
nrext64=1 | ||
exchange=0 | ||
|
||
[naming] | ||
parent=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters