Long Ma
2014-03-14 22:18:23 UTC
Hi everyone,
I noticed something odd in current metaslab code. In the metaslab.c file,
the "metaslab_group_tasksq" is created in the metaslab_group_create
function but it is not destroyed in the metaslab_group_destroy function.
I first noticed this problem by doing zpool import. Threadlist shows that
there is an increasing amount of metaslab_group_tasksq being created but
never destroyed.
Repeated use of zpool import will eventually cause the system to hit the
max thread limit.
This is the changeset at which the create_taskq is added into the
metaslab.c:
https://github.com/illumos/illumos-gate/commit/0713e232b7712cd27d99e1e935ebb8d5de61c57d
Did anyone else ever encounter this issue?
Please let me know,
Long Ma
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com
I noticed something odd in current metaslab code. In the metaslab.c file,
the "metaslab_group_tasksq" is created in the metaslab_group_create
function but it is not destroyed in the metaslab_group_destroy function.
I first noticed this problem by doing zpool import. Threadlist shows that
there is an increasing amount of metaslab_group_tasksq being created but
never destroyed.
Repeated use of zpool import will eventually cause the system to hit the
max thread limit.
This is the changeset at which the create_taskq is added into the
metaslab.c:
https://github.com/illumos/illumos-gate/commit/0713e232b7712cd27d99e1e935ebb8d5de61c57d
Did anyone else ever encounter this issue?
Please let me know,
Long Ma
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com