From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Andreas Gruenbacher <agruenba@redhat.com>
Cc: fstests@vger.kernel.org
Subject: Re: Failing scratch mounts
Date: Mon, 5 Feb 2018 10:35:07 -0800 [thread overview]
Message-ID: <20180205183507.GC4844@magnolia> (raw)
In-Reply-To: <CAHc6FU7s_zjwCWMAWymk2oYa-JduuXObw68nD3F5nKz9X-LRGQ@mail.gmail.com>
On Sat, Feb 03, 2018 at 07:58:46PM +0100, Andreas Gruenbacher wrote:
> Hi,
>
> we have many fstests that call _scratch_mount without checking if the
> mount was successful. When the mount fails, the tests then write to
> the underlying filesystem. Here's a list of fstests that do this for
> gfs2:
>
> generic/029 generic/030 generic/032 generic/037 generic/053 generic/069
> generic/071 generic/084 generic/094 generic/098 generic/103 generic/105
> generic/109 generic/129 generic/130 generic/132 generic/162 generic/163
> generic/169 generic/204 generic/225 generic/231 generic/232 generic/233
> generic/235 generic/256 generic/294 generic/306 generic/319 generic/320
> generic/337 generic/361 generic/374 generic/377 generic/380 generic/390
> generic/401 generic/403 generic/412 generic/416 generic/422 generic/427
> generic/439 generic/449 generic/452 generic/453 generic/454 generic/460
> generic/464 generic/476
>
> This is after fixing generic/270 which even fills up the scratch mount
> point completely.
>
> Since _scratch_mount is mostly used without checking for success, can
> we change it to _fail by default, and introduce _try_check_mount or
> similar for those few cases where we don't want to fail implicitly?
I don't have a problem with that.
--D
>
> Thanks,
> Andreas
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2018-02-05 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 18:58 Failing scratch mounts Andreas Gruenbacher
2018-02-05 18:35 ` Darrick J. Wong [this message]
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=20180205183507.GC4844@magnolia \
--to=darrick.wong@oracle.com \
--cc=agruenba@redhat.com \
--cc=fstests@vger.kernel.org \
/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