All of lore.kernel.org
 help / color / mirror / Atom feed
From: pg@raid.list.sabi.co.UK (Peter Grandi)
To: list Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: SSD based sw RAID: is ERC/TLER really important?
Date: Mon, 26 Jul 2021 18:12:05 +0200	[thread overview]
Message-ID: <24830.57045.462708.449341@cyme.ty.sabi.co.uk> (raw)
In-Reply-To: <24830.27358.78544.178603@cyme.ty.sabi.co.uk>

[...]
> I have also noticed that XFS bizarrely has its own layer of
> recovery on top of that of the Linux IO subsystems and of the
> device itself:

>   https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/configuring-xfs-error-behavior_managing-file-systems
>   https://elixir.bootlin.com/linux/v5.13.5/source/fs/xfs/xfs_buf.c#L1264

Some people have been proposing to do the same with MD RAID, and
some similar layer sometimes is embedded in the firmware of
hardware RAID host adapters.

Consider this scenario (include the relevant error handling and
timeouts):

  * The device firmware does physical operation retries.
  * The Linux IO subsystem does device operation retries.
  * MD RAID does Linux IO operation retries.
  * XFS does MD RAID IO operation retries.

Is there something weird with this?

BTW there is something similar with read ahead or write behind:
sometimes several software layers assume that lower software
layers are doing too little of it, and do their own additional
read ahead or write behind.

  reply	other threads:[~2021-07-26 16:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 18:41 SSD based sw RAID: is ERC/TLER really important? Gianluca Frustagli
2021-07-24 20:19 ` Peter Grandi
2021-07-24 21:45   ` Phil Turmel
2021-07-25  7:00     ` Wols Lists
2021-07-25 10:28     ` Peter Grandi
2021-07-26  1:06       ` Phil Turmel
2021-07-26  7:57         ` Peter Grandi
2021-07-26 16:12           ` Peter Grandi [this message]
2021-07-25 11:04     ` Peter Grandi
2021-07-24 20:21 ` Andy Smith

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=24830.57045.462708.449341@cyme.ty.sabi.co.uk \
    --to=pg@raid.list.sabi.co.uk \
    --cc=linux-raid@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.