If system crashes some time after last commit of transaction group (TxG), what happens to the file system transactions since the last commit of TxG (I presume last commit of TxG represents the last on-disk consistency)? Does ZFS recover all file system transactions which it returned with success since the last commit of TxG, which implis that ZIL must flush log records for each successful file system transaction before it returns to caller so that it can replay the filesystem transactions?
Blogs on ZIL states (I hope I read it right) that log records are maintained in-memory and flushed to disk only when 1) at synchronous write request (does that mean they free in-memory log after that), 2) when TxG is committed (and free in-memory log). Thank you for your time. This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss