Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2018 19:03:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229986] Virtualbox + zfs scrub + gstat leads to deadlock
Message-ID:  <bug-229986-227-P4SqQ8qCAM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229986-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229986-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229986

--- Comment #2 from Martin Birgmeier <d8zNeCFG@aon.at> ---
I just noticed that the same hang happens when trying to stop the ctld.

Scenario:
- Machine recently upgrade to 11.2, but with https://reviews.freebsd.org/D7=
538
because of excessive swapping
- Machine with raidz2 pool with 6 1.5 TB partitions
- Machine acts as iSCSI server to remote VirtualBox instances
- Run "zpool scrub" on the pool
- In another terminal window, gstat is running
- Stop the iSCSI server using "service ctld stop"

Result:
- gstat hangs
- "service ctld stop" does not terminate

Expected result:
- gstat should continue running
- "service ctld stop" should return

Scenario continued:
- Pause the scrub with "zpool scrub -p"

Result:
- After a few seconds, gstat continues and "service ctld stop" terminates

Remark:
- Both the VBox client running directly on the machine as well as the ctld
serve zvols, so maybe it is related to that.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229986-227-P4SqQ8qCAM>