zfs l2arc warmup

Dmitry Morozovsky marck at rinet.ru
Fri Mar 28 21:19:29 UTC 2014


On Fri, 28 Mar 2014, Freddie Cash wrote:

[snip most again]

> Around ZFSv14-ish, the ability to import a pool with a missing ZIL was
> added.
> 
> Remember the flow of data in ZFS:
>   async write request --> TXG --> disk
>   sync write request --> ZIL
>                \--> TXG --> disk
> 
> All sync writes are written to the pool as part of a normal async TXG after
> its written sync to the ZIL.  And the ZIL is only ever read during pool
> import.

On the other side, doesn't it put the risk on sync-dependent, like database, 
systems? 

I'm thinking not about losing the transaction, but possibly putting your 
filesystem in the middle of (database PoV) transaction, hence render your DB 
inconsistent?

Quick googling seems to be uncertain about it...

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list