Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2024 00:03:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 276002] nfscl: data corruption using both copy_file_range and mmap'd I/O
Message-ID:  <bug-276002-3630-wnpRBMoaUh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276002-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276002-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=3D276002

--- Comment #44 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Rick Macklem from comment #42)
If the buffer size is 1M (shrug), then to map any page from this buffer,
kernel would validate the whole buffer.  At least this is the default setup
where vfs.nfs.use_buf_pager is true.

In other words, it should be not possible to have a buffer consisting of
a single dirty page and rest of invalid pages.

--=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-276002-3630-wnpRBMoaUh>