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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to