* [linux-lvm] How to flush dirty cache with dm-cache?
@ 2023-10-01 9:14 Forza
0 siblings, 0 replies; only message in thread
From: Forza @ 2023-10-01 9:14 UTC (permalink / raw)
To: linux-lvm
Hi,
Is it possible to force a flush of the dirty cache in a dm-cache device?
I read in the kernel docs[*] that there is a cleaner policy, but it doesn't describe well how to use it.
Ideally, I'd like to be able to use `dmsetup message` to issue a flush after suspending the cache to ensure that all dirty data is written to origin and no more data is dirtied before resuming. Is this possible?
Thanks
Forza
[*] https://www.kernel.org/doc/html/v6.5/admin-guide/device-mapper/cache.html
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-01 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01 9:14 [linux-lvm] How to flush dirty cache with dm-cache? Forza
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).