linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: dsterba@suse.cz, Qu Wenruo <wqu@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 0/7] btrfs-progs: tune: add resume support for csum conversion
Date: Wed, 9 Aug 2023 17:50:20 +0200	[thread overview]
Message-ID: <ZNO1vIVIQI7uxOaV@twin.jikos.cz> (raw)
In-Reply-To: <dc5d31a0-0f44-9c86-7b83-dd03f4ef4c04@gmx.com>

On Thu, May 25, 2023 at 06:24:42AM +0800, Qu Wenruo wrote:
> > Alternatively, can we create some error injection framework? In the
> > simplest form, define injection points in the code watching for some
> > conndition and trigger them from outside eg. set by an environment
> > variable. Maybe there's something better.
> 
> For injection framework, we at least need some way to trigger them by
> some possibility.
> Which can already be a little too complex.

I've implemented the environment variable approach, it's in devel and
example injection points are in the checksum switch. It's really simple
and I'm not sure I like it but at least we have a starting point.

      reply	other threads:[~2023-08-09 15:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24  7:41 [PATCH 0/7] btrfs-progs: tune: add resume support for csum conversion Qu Wenruo
2023-05-24  7:41 ` [PATCH 1/7] btrfs-progs: tune: implement resume support for metadata checksum Qu Wenruo
2023-05-24  7:41 ` [PATCH 2/7] btrfs-progs: tune: implement resume support for generating new data csum Qu Wenruo
2023-05-24  7:41 ` [PATCH 3/7] btrfs-progs: tune: implement resume support for csum tree without any new csum item Qu Wenruo
2023-05-24  7:41 ` [PATCH 4/7] btrfs-progs: tune: implement resume support for empty csum tree Qu Wenruo
2023-05-24  7:41 ` [PATCH 5/7] btrfs-progs: tune: implement resume support for half deleted old csums Qu Wenruo
2023-05-24  7:41 ` [PATCH 6/7] btrfs-progs: tune: implement resume support for data csum objectid change Qu Wenruo
2023-05-24  7:41 ` [PATCH 7/7] btrfs-progs: tune: reject csum change if the fs is already using the target csum type Qu Wenruo
2023-05-24  8:42 ` [PATCH 0/7] btrfs-progs: tune: add resume support for csum conversion Anand Jain
2023-05-24  8:48   ` Qu Wenruo
2023-05-24 15:55 ` David Sterba
2023-05-24 22:24   ` Qu Wenruo
2023-08-09 15:50     ` David Sterba [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=ZNO1vIVIQI7uxOaV@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.com \
    --cc=wqu@suse.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;
as well as URLs for NNTP newsgroup(s).