public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ross Zwisler <ross.zwisler@linux.intel.com>
To: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: xfs@oss.sgi.com
Subject: Re: two failing xfstests using xfs (no DAX)
Date: Fri, 2 Oct 2015 12:12:50 -0600	[thread overview]
Message-ID: <20151002181250.GA12659@linux.intel.com> (raw)
In-Reply-To: <20151002174941.GA25082@linux.intel.com>

On Fri, Oct 02, 2015 at 11:49:41AM -0600, Ross Zwisler wrote:
> Recently I've been trying to get a stable baseline for my DAX testing using
> various filesystems, and in doing so I noticed a pair of tests that were
> behaving badly when run on XFS without DAX.  These test failures happen in
> both v4.2 and v4.3-rc3, though the signatures may vary a bit.
> 
> My testing setup is a kvm virtual machine with 8 GiB of its 16GiB of memory
> reserved for PMEM using the mmap parameter (memmap=8G!8G) and with the
> CONFIG_X86_PMEM_LEGACY config option enabled.  I've attached my full kernel
> config to this mail.

Sorry, one more detail - I have my test setup so that both my scratch device
and my test device are partitions on my PMEM ramdisk.

export TEST_DEV=/dev/pmem0p1
export TEST_DIR=/mnt/xfstests_test
export SCRATCH_DEV=/dev/pmem0p2
export SCRATCH_MNT=/mnt/xfstests_scratch

function xfstests_init {
        parted -s $xfstests_dev mktable msdos
        parted -s -a optimal $xfstests_dev mkpart Primary 1 4GiB
        parted -s -a optimal $xfstests_dev mkpart Primary 4GiB 7GiB

        if [[ $test_fs == "xfs" ]]; then
                mkfs.xfs -f $TEST_DEV
                mkfs.xfs -f $SCRATCH_DEV
        elif [[ $test_fs == "ext4" ]]; then
                mkfs.ext4 -F $TEST_DEV
                mkfs.ext4 -F $SCRATCH_DEV
        elif [[ $test_fs == "ext2" ]]; then
                mkfs.ext2 -F $TEST_DEV
                mkfs.ext2 -F $SCRATCH_DEV
        else
                echo "Invalid test fs '$test_fs'"
        fi
}

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

  reply	other threads:[~2015-10-02 18:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 17:49 two failing xfstests using xfs (no DAX) Ross Zwisler
2015-10-02 18:12 ` Ross Zwisler [this message]
2015-10-02 20:24 ` Brian Foster
2015-10-02 22:34 ` Dave Chinner
2015-10-06 14:38   ` Brian Foster
2015-10-06 23:22     ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151002181250.GA12659@linux.intel.com \
    --to=ross.zwisler@linux.intel.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox