From: Mike Snitzer <snitzer@redhat.com>
To: Augusto <augusto7743@gmail.com>
Cc: dm-devel@lists.linux.dev
Subject: Re: dm cache in BTRFS
Date: Sat, 20 Sep 2025 16:33:04 -0400 [thread overview]
Message-ID: <aM8PgD26y00J2i48@redhat.com> (raw)
In-Reply-To: <38bddf47-aac6-f10e-ed17-86166f9a93fc@gmail.com>
On Sat, Sep 20, 2025 at 09:11:02AM -0300, Augusto wrote:
> Hello.
> Thanks for reading that message.
> Please excuse if here not was the correct area to contact you.
> I use Linux with dm-cache writeback. You are the dm cache developer ? If yes
> thanks very much for making it.
> I want report an issue using dm-cache writeback with BTRFS.
> If the dm-cache writeback is full will happen an partial write of files in
> BTRFS file system and doing it create the terrible "Parent Transid Verify
> Failed" that in some times is fatal error.
> I understand that writeback cache can damage file system if not is done an
> full flush to disk, but BTRFS is extremely fragile compared with others file
> systems.
> I want continue using dm-cache writeback in BTRFS file system.
> Perhaps implementing an new feature in dm-cache that when the writeback
> cache is full is done an partial flush to disk in reference for some files
> in wb cache, but that partial number of files will be totally writen to disk
> avoiding partial writen of any file that is the because happen errors in
> BTRFS using wb cache.
> In others words if the cache is full will be done writen some files to disk
> with correct file size not doing partial flush to any file.
> In moment I not see any dm cache command setting to avoid that issue.
> Have an nice next week and excuse me if here not was the correct way to
> contact you about it.
>
Please be specific about which DM targets you're using.
Please run and share output from:
lsblk
mount
dmsetup table
But once you have that info, you'd do well to post any further
questions you might have to dm-devel@lists.linux.dev (now cc'd).
Thanks,
Mike
parent reply other threads:[~2025-09-20 20:33 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <38bddf47-aac6-f10e-ed17-86166f9a93fc@gmail.com>]
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=aM8PgD26y00J2i48@redhat.com \
--to=snitzer@redhat.com \
--cc=augusto7743@gmail.com \
--cc=dm-devel@lists.linux.dev \
/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).