Date: Sun, 26 Oct 2025 19:02:01 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Alan Somers <asomers@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 6d408ac49073 - main - fusefs: add a regression test for a cluster_read bug Message-ID: <aP5UCe8WmE4Palts@kib.kiev.ua> In-Reply-To: <CAOtMX2inFjLj0CcQ=i6D8ert4aEyYNjKLZ0FmsSn1vxFpcqeZw@mail.gmail.com> References: <202510231341.59NDf5as007410@gitrepo.freebsd.org> <aPs1Ab7AU0x-Llad@kib.kiev.ua> <CAOtMX2inFjLj0CcQ=i6D8ert4aEyYNjKLZ0FmsSn1vxFpcqeZw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Sun, Oct 26, 2025 at 10:53:05AM -0600, Alan Somers wrote: > On Fri, Oct 24, 2025 at 2:13 AM Konstantin Belousov <kostikbel@gmail.com> > wrote: > > > On Thu, Oct 23, 2025 at 01:41:05PM +0000, Alan Somers wrote: > > > The branch main has been updated by asomers: > > > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=6d408ac490730614b3ed0ebd3caffcd23f303fb4 > > > > > > commit 6d408ac490730614b3ed0ebd3caffcd23f303fb4 > > > Author: Alan Somers <asomers@FreeBSD.org> > > > AuthorDate: 2025-10-23 13:40:56 +0000 > > > Commit: Alan Somers <asomers@FreeBSD.org> > > > CommitDate: 2025-10-23 13:40:56 +0000 > > > > > > fusefs: add a regression test for a cluster_read bug > > > > > > VOP_BMAP is purely advisory. If VOP_BMAP returns an error during > > > readahead, cluster_read should still succeed, because the actual data > > > was still read just fine. > > No, VOP_BMAP() is not advisory. But read-ahead beyond the first buffer is. > > The BMAP in question is to translate lblk for read-ahead buffer. > > > > > The FUSE_WRITE request _always_ includes the file's nodeid and offset. So > unlike, say, UFS, FUSE_BMAP is only used to make decisions about > clustering, to compute the amount of readahead. So I suppose I should've > said that "FUSE_BMAP is purely advisory". Thanks for the correction. I would say that the specific instance of the VOP_BMAP() call is allowed to fail.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aP5UCe8WmE4Palts>
