Skip to content
Discussion options

You must be logged in to vote

ZFS respects application requests. Sync writes are first written into SLOG and then as part of TXG commit written to the main pool (or special vdev, there is no difference). Async writes are waiting for the TXG commit in memory, and if power is lost before the last synchronize cache request of the commit -- they are lost.

You should probably read what exactly the PLP promise you for specific vendor/model. ZFS does not need every write to the device to be immediately persistent. It sends synchronize cache requests when required, and once those requests are completed -- data must be safe on non-volatile storage. SSDs with supercaps or other PLP techniques may be able to handle those request…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ghost
Comment options

@bghira
Comment options

@amotin
Comment options

amotin May 13, 2022
Collaborator

@ghost
Comment options

Answer selected by behlendorf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants