Date: Sat, 29 May 2021 21:12:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 256205] lseek() with SEEK_HOLE some times wrongly reports holes on ZFS Message-ID: <bug-256205-227-QMIc1nS5qG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256205-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256205 --- Comment #4 from Jörg Schilling <schily@schily.net> --- Does this only happen with a clone or also with a snapshot? Since a clone is writable, it is expected to contain a copy of the node instead of a reference to it that is used with a snapshot. It would be interesting to know why some of the access operations (e.g for a vanilla read) work to deliver correct content but other operations fail. BTW: I just created a simple sparse file using echo and dd that does not seem to be affected by the problem. So it seems to be a zfs bug that is triggered by the specific way the linker did write the file that is affected. This is how I created the simple sparse: echo 123 > bla dd if=Makefile conv=notrunc oseek=32k of=bla -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256205-227-QMIc1nS5qG>
