On Fri, Jun 25, 2010 at 10:59:48PM -0700, George Wilson wrote:
> Pawel,
> 
> We only call ddt_lookup() from syncing context and by the time we're in 
> ddt_sync_table() there aren't any other threads which can manipulate the 
> entries we're about to sync.

I can see ddt_lookup() being called from zio_write_issue thread
(taskq) where ddt_sync_table() is called from txg_thread.
So bascially during the spa_sync() all I/O threads are not running?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
[email protected]                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgpZBI0CbqYzK.pgp
Description: PGP signature

_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code

Reply via email to