Pawel Jakub Dawidek wrote:
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?
I don't think you meant spa_sync() but rather ddt_sync(). Once you are
in ddt_sync() all dedup related I/O has completed.
Thanks,
George
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code