Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2021 00:19:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257368] ggate(d) misbehaving
Message-ID:  <bug-257368-227-tAfxAdmn1x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257368-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257368-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=3D257368

--- Comment #3 from johannes@jo-t.de ---

$ truss zpool create testvolpool /dev/ggate0

[...snipped...]
openat(AT_FDCWD,"/dev/ggate0",O_RDONLY,00)       =3D 7 (0x7)
fstat(7,{ mode=3Dcrw-r----- ,inode=3D76,size=3D0,blksize=3D4096 }) =3D 0 (0=
x0)
ioctl(7,DIOCGMEDIASIZE,0x7fffff281960)           =3D 0 (0x0)
mmap(0x0,266240,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D
42446731808768 (0x269ae65f1000)
pread(7,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,262144,0x0) =3D 262144 (0x400=
00)
pread(7,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,262144,0x40000) =3D 262144
(0x40000)
pread(7,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,262144,0xc7ff80000) =3D 262144
(0x40000)
pread(7,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,262144,0xc7ffc0000) =3D 262144
(0x40000)
close(7)                                         =3D 0 (0x0)



Looks fine to me... and shows no weird 2 GB read.

--=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-257368-227-tAfxAdmn1x>