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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@xxxxxxxxx>
---
 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 --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"
-- 
2.34.1





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux