ZFS - Structure - ZIL (ZFS Intent Log)

There are two major categories of write operations:

For most workloads, the vast majority of write operations are asynchronous.

Sync writes are an entirely different animal.

ZFS handles sync writes differently from normal filesystems.

In normal operation, the ZIL is written to and never read from again.

If ZFS crashes, or the operating system crashes, or there is an unhandled power outage, while there is data in the ZIL, that data will be read from during the next pool import (e.g. when a crashed system is restarted).

One of the classes of supported vdev is LOG, also known as SLOG, or Secondary LOG device.

Adding a LOG vdev to a pool absolutely cannot and will not directly improve asynchronous write performance, even if you force all writes into the ZIL using zfs set sync=always, they still get committed to main storage in TXGs in the same way and at the same pace they would have without the LOG.

However, in an environment that already requires lots of sync writes, a LOG vdev can indirectly accelerate asynchronous writes and uncached reads as well.