[Bug 252331] zfs over ggate terminates ggated with 0 length read
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 1 16:44:45 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252331
Bug ID: 252331
Summary: zfs over ggate terminates ggated with 0 length read
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: ota at j.email.ne.jp
When ZFS is used over ggate devises, ggated somehow receives 0 length read and
results in terminating ggatec and ggated connection.
How to reproduce:
% mdconfig -a -t swap -s 1GB
md0
% echo 127.0.0.1 RW /dev/md0 > /tmp/ggated.conf
% ggated /tmp/ggated.conf
% ggatec create -orw 127.0.0.1 /dev/md0
ggate0
% zpool create -m /mnt/test test /dev/ggate0
% cp -pr /usr/src/ /mnt/test/
ggate connection is dropped randomly.
After running truss, I discovered that ggated read 0 length input from a socket
and closes the connection although ggatec does not write 0 length over the
connection. As a result, ggatec terminates its connection as well and zfs/cp
hangs.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list