diff mbox series

[RFC,5/5] configs: Add a couple of xfs and ext4 configuration templates.

Message ID df56f684b585cda919f8cc01a77c2c8454aefc7c.1736496620.git.nirjhar.roy.lists@gmail.com (mailing list archive)
State New
Headers show
Series Add support for central fsconfig and -q <n> unconditional loop | expand

Commit Message

Nirjhar Roy (IBM) Jan. 10, 2025, 9:10 a.m. UTC
This commit adds a couple of simple configuration templates. Developers
should add more templates based on the tests they add.

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
---
 configs/ext4/1k   | 3 +++
 configs/ext4/4k   | 3 +++
 configs/ext4/64k  | 3 +++
 configs/xfs/1k    | 3 +++
 configs/xfs/4k    | 3 +++
 configs/xfs/64k   | 3 +++
 configs/xfs/adv   | 3 +++
 configs/xfs/quota | 3 +++
 8 files changed, 24 insertions(+)
 create mode 100644 configs/ext4/1k
 create mode 100644 configs/ext4/4k
 create mode 100644 configs/ext4/64k
 create mode 100644 configs/xfs/1k
 create mode 100644 configs/xfs/4k
 create mode 100644 configs/xfs/64k
 create mode 100644 configs/xfs/adv
 create mode 100644 configs/xfs/quota
diff mbox series

Patch

diff --git a/configs/ext4/1k b/configs/ext4/1k
new file mode 100644
index 00000000..6f16fc44
--- /dev/null
+++ b/configs/ext4/1k
@@ -0,0 +1,3 @@ 
+FSTYP=ext4
+MKFS_OPTIONS="-F -b 1024"
+MOUNT_OPTIONS="-o block_validity "
diff --git a/configs/ext4/4k b/configs/ext4/4k
new file mode 100644
index 00000000..32f02ea9
--- /dev/null
+++ b/configs/ext4/4k
@@ -0,0 +1,3 @@ 
+FSTYP=ext4
+MKFS_OPTIONS="-F -b 4096"
+MOUNT_OPTIONS="-o block_validity "
diff --git a/configs/ext4/64k b/configs/ext4/64k
new file mode 100644
index 00000000..6c50b839
--- /dev/null
+++ b/configs/ext4/64k
@@ -0,0 +1,3 @@ 
+FSTYP=ext4
+MKFS_OPTIONS="-F -b 65536"
+MOUNT_OPTIONS="-o block_validity "
diff --git a/configs/xfs/1k b/configs/xfs/1k
new file mode 100644
index 00000000..ab74d3a7
--- /dev/null
+++ b/configs/xfs/1k
@@ -0,0 +1,3 @@ 
+FSTYP=xfs
+MKFS_OPTIONS="-b size=1024"
+MOUNT_OPTIONS=" "
diff --git a/configs/xfs/4k b/configs/xfs/4k
new file mode 100644
index 00000000..9a390404
--- /dev/null
+++ b/configs/xfs/4k
@@ -0,0 +1,3 @@ 
+FSTYP=xfs
+MKFS_OPTIONS="-b size=4096"
+MOUNT_OPTIONS=" "
diff --git a/configs/xfs/64k b/configs/xfs/64k
new file mode 100644
index 00000000..ddcd7977
--- /dev/null
+++ b/configs/xfs/64k
@@ -0,0 +1,3 @@ 
+FSTYP=xfs
+MKFS_OPTIONS="-b size=65536"
+MOUNT_OPTIONS=" "
diff --git a/configs/xfs/adv b/configs/xfs/adv
new file mode 100644
index 00000000..f1b2ec2e
--- /dev/null
+++ b/configs/xfs/adv
@@ -0,0 +1,3 @@ 
+FSTYP=xfs
+MKFS_OPTIONS="-m inobtcount=1,bigtime=1,rmapbt=1"
+MOUNT_OPTIONS=" "
diff --git a/configs/xfs/quota b/configs/xfs/quota
new file mode 100644
index 00000000..a7f0c7e7
--- /dev/null
+++ b/configs/xfs/quota
@@ -0,0 +1,3 @@ 
+FSTYP=xfs
+MKFS_OPTIONS="-f "
+MOUNT_OPTIONS="-o usrquota,grpquota,prjquota"