[Bug 257368] ggate(d) misbehaving

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Jul 2021 00:19:48 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257368

--- Comment #3 from johannes_at_jo-t.de ---

$ truss zpool create testvolpool /dev/ggate0

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



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

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Jul 24 2021 - 00:19:48 UTC

Original text of this message