News for hackers. Stuff that matters.
Re:A Detailed Guide to OpenZFS by rincebrain on Tuesday January 10, 2023 @04:16AM (#34322270)
From recollection, so apologies if I get it wrong because I didn't go check, but...

IIRC above a certain size, you skip the double write; part of the reason to do the ZIL batching is, I believe, to group tiny sync IOs together in a persistent form that can be replayed later, so you can return sooner, rather than having to do lots of random IOs before returning.

Re:A Detailed Guide to OpenZFS by j1elo on Tuesday January 10, 2023 @04:50AM (#34322511)
I found this forum thread where the topic is exactly about my question, so it's good to see some conversation about this:

https://forums.freebsd.org/threads/question-about-zil-slog.8...

> (part of the reason is) to group tiny sync IOs together in a persistent form

Yes, that seems to match precisely with what the latest messages seem to clarify in that discussion.

(Just dropping my suggestion for the article author) Seeing that this looks like a reasonable doubt that ZFS newbies might have, it could be an interesting point to mention. The article goes in great detail into the internals, so it probably is already well posed to include a mention about why the ZIL makes sense even when no SLOG is in use.

Re:A Detailed Guide to OpenZFS by melp on Monday January 16, 2023 @03:02PM (#34404853)
I'll add some details around that, thanks for the feedback!