Date: Sun, 23 Jun 2019 20:54:36 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 238700] mmap bug when using file-systems with small blocks and seeking randomly to read from the file descriptor before mapping Message-ID: <bug-238700-3630-Xj3gsTNpBb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238700-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-238700-3630@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=238700 --- Comment #3 from Alan <alan.murtagh@vorteil.io> --- (In reply to Conrad Meyer from comment #1) The entirety of the code I posted is new. Sorry, I was unclear. The "before" and "after" sections in my code snippet do not refer to "before my change" and "after my change". Rather, the before section is for loading in blocks before the read region and the after section is for loading in blocks afterwards. The purpose of these sections is to ensure that when loading a block that would be partway through a page, extra blocks are loaded into the cache before and after as necessary. (In reply to Konstantin Belousov from comment #2) I cannot reproduce the issue in UFS. I can't reproduce it in ext2 with 4KiB blocks either, so I think you're right about why. -- 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-238700-3630-Xj3gsTNpBb>
