FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH v4 1/2] common/rc: support f2fs in _mkfs_dev()
@ 2024-12-26 13:36 Chao Yu
  2024-12-26 13:36 ` [PATCH v4 2/2] f2fs/008: test snapshot creation/deletion on lvm device Chao Yu
  2024-12-28  4:29 ` [PATCH v4 1/2] common/rc: support f2fs in _mkfs_dev() Zorro Lang
  0 siblings, 2 replies; 4+ messages in thread
From: Chao Yu @ 2024-12-26 13:36 UTC (permalink / raw)
  To: Zorro Lang, fstests; +Cc: jaegeuk, linux-f2fs-devel, Chao Yu

Then, f2fs/* testcases can use this wrapped common helper instead of
raw codes.

Suggested-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
---
v4:
- no updates
 common/rc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/rc b/common/rc
index 7b5bc0b4..ecac2de8 100644
--- a/common/rc
+++ b/common/rc
@@ -833,6 +833,9 @@ _try_mkfs_dev()
     ext2|ext3|ext4)
 	$MKFS_PROG -t $FSTYP -- -F $MKFS_OPTIONS $*
 	;;
+    f2fs)
+	$MKFS_PROG -t $FSTYP -- -f $MKFS_OPTIONS $*
+	;;
     xfs)
 	$MKFS_PROG -t $FSTYP -- -f $MKFS_OPTIONS $*
 	;;
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-28  4:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-26 13:36 [PATCH v4 1/2] common/rc: support f2fs in _mkfs_dev() Chao Yu
2024-12-26 13:36 ` [PATCH v4 2/2] f2fs/008: test snapshot creation/deletion on lvm device Chao Yu
2024-12-28  4:27   ` Zorro Lang
2024-12-28  4:29 ` [PATCH v4 1/2] common/rc: support f2fs in _mkfs_dev() Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox