linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* when does btrfs create sparse extents?
@ 2020-04-22 18:52 Marek Behun
  2020-04-22 20:26 ` Chris Murphy
  2020-04-23  5:57 ` Andrei Borzenkov
  0 siblings, 2 replies; 14+ messages in thread
From: Marek Behun @ 2020-04-22 18:52 UTC (permalink / raw)
  To: linux-btrfs

Hello,

there was a bug fixed recently in U-Boot's btrfs driver - the driver
failed to read files with sparse extents. This causes that sometimes
device failes to boot Linux, since the kernel fails to load from
storage.

So when does kernel's btrfs driver write sparse extents? Is it always
when it finds a PAGE_SIZEd and aligned all-zeros block? Or is it more
complicated?

Thanks.

Marek

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

end of thread, other threads:[~2020-04-23 19:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 18:52 when does btrfs create sparse extents? Marek Behun
2020-04-22 20:26 ` Chris Murphy
2020-04-22 20:44   ` Marek Behun
2020-04-22 20:44   ` Chris Murphy
2020-04-22 20:58     ` Marek Behun
2020-04-22 21:05       ` Chris Murphy
2020-04-23 10:49       ` Filipe Manana
2020-04-23 11:42         ` Marek Behun
2020-04-23 11:51           ` Filipe Manana
2020-04-23 12:05             ` Marek Behun
2020-04-23 12:39               ` Filipe Manana
2020-04-23 19:50                 ` Chris Murphy
2020-04-23  5:57 ` Andrei Borzenkov
2020-04-23  6:45   ` Marek Behun

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