linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Does GRUB btrfs support log tree?
@ 2019-10-25  9:47 Chris Murphy
  2019-10-25  9:50 ` Chris Murphy
  2019-10-26  7:12 ` Andrei Borzenkov
  0 siblings, 2 replies; 12+ messages in thread
From: Chris Murphy @ 2019-10-25  9:47 UTC (permalink / raw)
  To: Btrfs BTRFS

I see references to root and chunk trees, but not the log tree.

If boot related files: kernel, initramfs, bootloader configuration
files, are stored on Btrfs; and if they are changed in such a way as
to rely on the log tree; and then there's a crash; what's the worse
case scenario effect?

At first glance, if the bootloader doesn't support log tree, it would
have a stale view of the file system. Since log tree writes means a
full file system update hasn't happened, the old file system state
hasn't been dereferenced, so even in an SSD + discard case, the system
should still be bootable. And at that point Btrfs kernel code does log
replay, and catches the system up, and the next update will boot the
new state.

Correct?

-- 
Chris Murphy

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-11-17 23:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25  9:47 Does GRUB btrfs support log tree? Chris Murphy
2019-10-25  9:50 ` Chris Murphy
2019-10-26  7:12 ` Andrei Borzenkov
2019-10-27 20:05   ` Chris Murphy
2019-11-04 19:34     ` David Sterba
2019-11-11 19:37       ` Chris Murphy
2019-11-12 20:04         ` Goffredo Baroncelli
2019-11-13 17:00           ` Chris Murphy
2019-11-13 18:54             ` Goffredo Baroncelli
2019-11-13 21:50               ` Chris Murphy
2019-11-14  8:18                 ` Andrei Borzenkov
2019-11-17 23:24                   ` Chris Murphy

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