linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there a way to clear the dirty data corresponding to a damaged backend
@ 2021-03-10  3:10 wubenqing
  0 siblings, 0 replies; only message in thread
From: wubenqing @ 2021-03-10  3:10 UTC (permalink / raw)
  To: linux-bcache

Hi
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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-10  3:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10  3:10 Is there a way to clear the dirty data corresponding to a damaged backend wubenqing

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