public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Zhaolei <zhaolei@cn.fujitsu.com>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH] fstests: Update generic/077 for newest version of btrfs progs
Date: Tue, 24 Nov 2015 15:41:59 +1100	[thread overview]
Message-ID: <20151124044159.GO19199@dastard> (raw)
In-Reply-To: <22cee31ea262eb30d3243bcd5bc05dcfe16a9440.1448272550.git.zhaolei@cn.fujitsu.com>

On Mon, Nov 23, 2015 at 05:55:58PM +0800, Zhaolei wrote:
> From: Zhao Lei <zhaolei@cn.fujitsu.com>
> 
> generic/077 fails on btrfs progs v4.3:
>  # ./check generic/077
>  FSTYP         -- btrfs
>  PLATFORM      -- Linux/x86_64 lenovo 4.4.0-rc2_HEAD_1ec218373b8ebda821aec00bb156a9c94fad9cd4_
>  MKFS_OPTIONS  -- /dev/sdb6
>  MOUNT_OPTIONS -- /dev/sdb6 /var/ltf/tester/scratch_mnt
> 
>  generic/077 344s ... [failed, exit status 1] - output mismatch (see /var/lib/xfstests/results//generic/077.out.bad)
>      --- tests/generic/077.out   2015-11-23 17:06:27.144983112 +0800
>      +++ /var/lib/xfstests/results//generic/077.out.bad  2015-11-23 17:41:25.187062895 +0800
>      @@ -1,7 +1,5 @@
>       QA output created by 077
>       *** create filesystem
>      -*** set default ACL
>      -*** populate filesystem, pass #1
>      -*** populate filesystem, pass #2
>      -*** all done
>      +mkfs failed
>      +(see /var/lib/xfstests/results//generic/077.full for details)
>       *** unmount
>  Ran: generic/077
>  Failures: generic/077
>  Failed 1 of 1 tests
> 
> Reason:
>  btrfs progs v4.3 use non-mixed blockgroup for small volume as default,
>  it need at least 100M to build a filesystem.

<sigh>

btrfs got broken again.

> Fix:
>  We can force mixed block group for btrfs, or increase filesystem
>  size to btrfs's least requirement to make test works, the first
>  way create a non-common filesystem in btrfs case, so this patch
>  use the second way.

No. This is a clear mkfs.btrfs regression, so the mkfs.btrfs default
behaviour needs to be changed back to something that works for small
filesystems.  Anyone who makes a <100MB btrfs filesytsem is going to
need to use that mixed block group option, so that needs to be what
the test uses here.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2015-11-24  4:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23  9:55 [PATCH] fstests: Update generic/077 for newest version of btrfs progs Zhaolei
2015-11-24  4:41 ` Dave Chinner [this message]
2015-11-25  1:22   ` Qu Wenruo
2015-11-25  3:31     ` 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=20151124044159.GO19199@dastard \
    --to=david@fromorbit.com \
    --cc=fstests@vger.kernel.org \
    --cc=zhaolei@cn.fujitsu.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