public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan K <shadow_7@gmx.net>
To: linux-bcache@vger.kernel.org
Subject: how does the caching works in bcachefs
Date: Wed, 08 Jul 2020 23:46:00 +0200	[thread overview]
Message-ID: <2308642.L3yuttUQlX@t460-skr> (raw)

Hello,

short question: how does the caching works with bcachefs? Is it like  "first in first out" or is it more complex like the ARC system in zfs? The same with the write-cache,  will be everything written to the SSD/NVMe (Cache) and then to the HDD? When will will the filesystem say "its written to disk"? And what happens with the data on the write cache if we have a powerfail?

And can I say have this file/folder always in the cache, while it works "normal" ?

Thanks in advance!
best regards
Stefan

             reply	other threads:[~2020-07-08 21:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 21:46 Stefan K [this message]
2020-07-08 22:37 ` how does the caching works in bcachefs kent.overstreet
2020-07-09 13:20   ` Stefan K
2020-07-09 16:08     ` kent.overstreet
2020-07-16 21:07       ` Nix

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=2308642.L3yuttUQlX@t460-skr \
    --to=shadow_7@gmx.net \
    --cc=linux-bcache@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox