archive mirror
 help / color / mirror / Atom feed
From: <>
To: <>
Subject: Is there a way to clear the dirty data corresponding to a damaged backend
Date: Wed, 10 Mar 2021 03:10:09 +0000	[thread overview]
Message-ID: <> (raw)

Is there a way to clear the dirty data corresponding to a damaged backend?
I checked the code and found that only the dirty data that was successfully written back will be cleared of the dirty mark, but the backend has been damaged and it is no longer possible to write to the disk.
Consider a scenario where multiple backends use one SSD as a cache. If one of the backends is damaged, its dirty data cannot be cleared, which will reduce the available cache space.

                 reply	other threads:[~2021-03-10  3:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).