public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Xfstests: make _scratch_mkfs_sized work for btrfs
@ 2010-11-30 21:50 Josef Bacik
  2010-11-30 22:26 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Josef Bacik @ 2010-11-30 21:50 UTC (permalink / raw)
  To: xfs

This patch simply makes _scratch_mkfs_sized work right for btrfs.  I've run a
few of the tests that use _scratch_mkfs_sized (204 and 226) and everything seems
to work right now.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
---
 common.rc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/common.rc b/common.rc
index 459bdf5..58e7318 100644
--- a/common.rc
+++ b/common.rc
@@ -329,6 +329,9 @@ _scratch_mkfs_sized()
     ext2|ext3|ext4)
 	/sbin/mkfs.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
 	;;
+     btrfs)
+	/sbin/mkfs.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV -b $fssize
+	;;
     *)
 	_notrun "Filesystem $FSTYP not supported in _scratch_mkfs_sized"
 	;;
-- 
1.6.6.1

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: [PATCH] Xfstests: make _scratch_mkfs_sized work for btrfs
  2010-11-30 21:50 [PATCH] Xfstests: make _scratch_mkfs_sized work for btrfs Josef Bacik
@ 2010-11-30 22:26 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2010-11-30 22:26 UTC (permalink / raw)
  To: Josef Bacik; +Cc: xfs

Thanks, applied.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2010-11-30 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 21:50 [PATCH] Xfstests: make _scratch_mkfs_sized work for btrfs Josef Bacik
2010-11-30 22:26 ` Christoph Hellwig

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