All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] common/rc: support f2fs in _mkfs_dev()
@ 2024-12-21  8:23 ` Chao Yu via Linux-f2fs-devel
  0 siblings, 0 replies; 12+ messages in thread
From: Chao Yu @ 2024-12-21  8:23 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>
---
v3:
- adapt _mkfs_dev() to support f2fs, preparing for following use
in f2fs/008.
 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] 12+ messages in thread

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21  8:23 [PATCH v3 1/2] common/rc: support f2fs in _mkfs_dev() Chao Yu
2024-12-21  8:23 ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2024-12-21  8:23 ` [PATCH v3 2/2] f2fs/008: test snapshot creation/deletion on lvm device Chao Yu
2024-12-21  8:23   ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2024-12-24  9:58   ` Zorro Lang
2024-12-24  9:58     ` [f2fs-dev] " Zorro Lang
2024-12-26 13:18     ` Chao Yu
2024-12-26 13:18       ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2024-12-27  7:21       ` Zorro Lang
2024-12-27  7:21         ` [f2fs-dev] " Zorro Lang
2024-12-28  0:59         ` Chao Yu
2024-12-28  0:59           ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.