On Fri, 4 Sep 2009, Scott Meilicke wrote:

So what happens during the txg commit?

For example, if the ZIL is a separate device, SSD for this example, does it not 
work like:

1. A sync operation commits the data to the SSD
2. A txg commit happens, and the data from the SSD are written to the spinning 
disk

So this is two writes, correct?

From past descriptions, the slog is basically a list of pending write
system calls. The only time the slog is read is after a reboot. Otherwise, the slog is simply updated as write operations proceed.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to