Skip to contentSkip to conversation

xfstests: Add JFS _scratch_mkfs external journal support

PATCH New Michael L. Semon 1 participant 1 message Sep 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 xfstests: Add JFS _scratch_mkfs external journal support

Hi! I'd like to contribute several patches for better JFS support. This is tested against JFS and XFS. It's a bit of copy, paste, and adaptation until it worked well. Sorry to nest the XFS code in a switch case: It was the only attempt at coding it that didn't look silly.

Thanks!

Michael

Quoted 1 line

From 52ce69861e7a261449589fdb13c8a8f88df476fa Mon Sep 17 00:00:00 2001

From: "Michael L. Semon" <[email protected]>
Date: Fri, 6 Sep 2013 03:04:25 -0400
Subject: [PATCH 1/2] xfstests: Add JFS _scratch_mkfs external journal support

Add _scratch_mkfs external journal support for JFS. Try to respect the USE_EXTERNAL and SCRATCH_LOGDEV variables like the XFS support.

---
 common/config |  1 +
 common/rc     | 52 ++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 37 insertions(+), 16 deletions(-)
common/config +1 -0
index db086fb..bdd1add 100644
@@ -204,6 +204,7 @@ case "$HOSTOS" in
         ;;
     Linux)
         export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`"
+        export MKFS_JFS_PROG="`set_prog_path mkfs.jfs`"
         export MKFS_UDF_PROG="`set_prog_path mkudffs`"
         export MKFS_BTRFS_PROG="`set_btrfs_mkfs_prog_path_with_opts`"
         export BTRFS_UTIL_PROG="`set_prog_path btrfs`"
common/rc +36 -16

73 lines not on this page · raw message

Signature · 7 lines
1.8.3.2


_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs