public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Regzbot (on behalf of Thorsten Leemhuis)" 
	<regressions@leemhuis.info>, Rafael Wysocki <rafael@kernel.org>,
	David Sterba <dsterba@suse.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux regressions mailing list <regressions@lists.linux.dev>
Subject: Re: Linux regressions report for mainline [2023-04-16]
Date: Thu, 20 Apr 2023 21:02:39 +0200	[thread overview]
Message-ID: <20230420190239.GX19619@suse.cz> (raw)
In-Reply-To: <CAHk-=wjL7GG9s9Y2+u2725M+Ru=bUXnzOnXRwoSktY0fVdhhzw@mail.gmail.com>

On Tue, Apr 18, 2023 at 12:11:51PM -0700, Linus Torvalds wrote:
> On Tue, Apr 18, 2023 at 11:20 AM David Sterba <dsterba@suse.cz> wrote:
> >
> > There's also in-memory cache of already trimmed ranges since last mount
> > so even running discard repeatedly (either fstrim or as mount option)
> > will not do extra IO. We try hard not to provoke the firmware bugs.

[...]

> Again, that's libata - odd crazy hardware. But it's exactly the odd
> crazy hardware that worries me. When the failure mode isn't "it's
> slow", but "it ATE MY WHOLE DISK", that's a scary scary problem.
> 
> Hmm?
> 
> I dunno. Maybe you have reason to believe that all of these cases have
> been fixed, or that some of these were caused by kernel bugs because
> we did things wrong, and those have been fixed.
> 
> But the failure modes just makes me worry. From your email, it *seems*
> like you think that the failures were primarily performance-related.

No, the main concern is if discard works without destroying data,
performance is more like an optimization. I too worry about buggy
hardware, we have a page just about that
https://btrfs.readthedocs.io/en/latest/Hardware.html .

I've taken notes from your reply and will enhance the page, or page
about discard in particular. The info about device quirks/horkage could
be linked too or I thought about generating a static page from the
per-bus tables so it's on one page.

I'll send pull request with fixes for the regression.

  parent reply	other threads:[~2023-04-20 19:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16 17:59 Linux regressions report for mainline [2023-04-16] Regzbot (on behalf of Thorsten Leemhuis)
2023-04-16 20:48 ` Linus Torvalds
2023-04-17  7:05   ` Linux regression tracking (Thorsten Leemhuis)
2023-04-17 11:38   ` Rafael J. Wysocki
2023-04-21 13:49     ` the wake-on-lan regression from 6.2 (was: Re: Linux regressions report for mainline [2023-04-16]) Linux regression tracking (Thorsten Leemhuis)
2023-04-21 19:22       ` Rafael J. Wysocki
2023-04-21 20:45         ` Linus Torvalds
2023-04-24 14:24           ` Rafael J. Wysocki
2023-04-18 18:20   ` Linux regressions report for mainline [2023-04-16] David Sterba
2023-04-18 19:11     ` Linus Torvalds
2023-04-18 21:32       ` Neal Gompa
2023-04-18 22:21         ` Linus Torvalds
2023-04-19  5:03         ` Linux regression tracking (Thorsten Leemhuis)
2023-04-20 19:21           ` David Sterba
2023-04-21  8:50             ` Linux regression tracking (Thorsten Leemhuis)
2023-04-20 19:02       ` David Sterba [this message]
2023-04-20 19:39         ` Linus Torvalds

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=20230420190239.GX19619@suse.cz \
    --to=dsterba@suse.cz \
    --cc=dsterba@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=torvalds@linux-foundation.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