]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r251635: illumos #3747 txg commit callbacks don't work
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 03:54:13 +0000 (03:54 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 03:54:13 +0000 (03:54 +0000)
commit315e700e50a7334c8ad4858c7e10aeaad9c68f64
treedd2bf9c5f624d4f39f3b541b24c83a3d9fcb71f6
parentefd5dc02f150bee9846e05d7e9b8960326a3222f
MFC r251635: illumos #3747 txg commit callbacks don't work

sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c:
Fix commit callbacks by moving them to the task's list.
Previously, list_move_tail() returned without doing anything because
the task list was passed as the source rather than destination.

cddl/contrib/opensolaris/cmd/ztest/ztest.c:
Check the commit callback threshold correctly.

Submitted by: will
Reviewed by: Matthew Ahrens <mahrens@delphix.com>,
Christopher Siden <christopher.siden@delphix.com>
Sponsored by: Spectra Logic

git-svn-id: svn://svn.freebsd.org/base/stable/9@252760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/cmd/ztest/ztest.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c