tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fsync_range and O_RDONLY
On Thu, Feb 18, 2021 at 06:56:00PM -0500, Greg Troxel wrote:
> > And report any errors to me, so if you're a database and I'm feeling
> > nasty I can maybe mess with you that way. So I'm not sure it's a great
> > idea.
> >
> > Right now fsync error reporting is a trainwreck though.
>
> I think that's the real problem; if I open for write and fsync, then I
> should get status back that lets me know about my writes, regardless of
> who else asked for sync. Once that's fixed, then the 'others asking
> for sync' is much less of a big deal.
> I know, ENOPATCH.
Yeah, that's highly nontrivial. More on that in a moment...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index