From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: Emmanuel Florac <eflorac@intellique.com>,
linux-xfs <linux-xfs@vger.kernel.org>
Subject: Re: xfs_scrub: call for testing
Date: Mon, 5 Feb 2018 14:40:57 -0800 [thread overview]
Message-ID: <20180205224057.GK4849@magnolia> (raw)
In-Reply-To: <86b1a8c3-4228-c0bb-84dd-3c9baae2d752@sandeen.net>
On Mon, Feb 05, 2018 at 10:55:22AM -0600, Eric Sandeen wrote:
>
>
> On 2/5/18 10:44 AM, Darrick J. Wong wrote:
> >>> root@bareos16:~# ./xfs_scrub /mnt/raid/
> >>> EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
> >>> Error: /mnt/raid: Kernel metadata scrubbing facility is not available.
> >>> Info: /mnt/raid: Scrub aborted after phase 1.
> >>> /mnt/raid: 2 errors found.
> >> Yup. TBH I'm not a fan of listing "your kernel can't scrub" as
> >> "errors found." I think we should find a way around that.
> > What do you mean by that?
> >
> > --D
> >
>
> When people run a tool like scrub and they see "errors found"
> at the end of the run, I think it's very easy to have that register
> as "filesystem errors found" which is not the case here.
>
> If a kernel can't do scrub at all, "2 errors found" is a confusing
> message - I'd rather find a way to not conflate filesystem
> errors with operational errors (or simply missing capabilities).
>
> As a first cut I might suggest that if required capabilities for
> the requested action were not found, we should not even print
> the "errors found" line, just the informational text. i.e.
> just reset the error counters in that specific case before exit.
Yeah. As you and I have been batting around on IRC all day, I've
changed most of the non-fs-corruption str_warn/str_error calls into
str_info since they pretty much all abort the scrub anyway (which is
itself recorded as a runtime error).
--D
> -Eric
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-02-05 22:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-02 21:36 xfs_scrub: call for testing Eric Sandeen
2018-02-02 21:51 ` Darrick J. Wong
2018-02-05 15:10 ` Emmanuel Florac
2018-02-05 15:49 ` Eric Sandeen
2018-02-05 16:44 ` Darrick J. Wong
2018-02-05 16:55 ` Eric Sandeen
2018-02-05 22:40 ` Darrick J. Wong [this message]
2018-02-05 17:08 ` Emmanuel Florac
2018-02-05 22:39 ` Darrick J. Wong
2018-02-15 18:18 ` Emmanuel Florac
2018-04-02 0:10 ` Chris Murphy
2018-04-02 2:01 ` Eric Sandeen
2018-04-02 4:23 ` Chris Murphy
2018-04-02 2:44 ` Darrick J. Wong
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=20180205224057.GK4849@magnolia \
--to=darrick.wong@oracle.com \
--cc=eflorac@intellique.com \
--cc=linux-xfs@vger.kernel.org \
--cc=sandeen@sandeen.net \
/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;
as well as URLs for NNTP newsgroup(s).