tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: zfs question about atime update
> On Mar 17, 2026, at 5:36 AM, Takashi YAMAMOTO <yamt9999%gmail.com@localhost> wrote:
>
> hi,
>
> our zfs has a logic to flush atime updates in zfs_netbsd_sync:
>> /*
>> * On NetBSD, we need to push out atime updates. Solaris does
>> * this during VOP_INACTIVE, but that does not work well with the
>> * BSD VFS, so we do it in batch here.
>> */
>
> does anyone here remember why it "doesn't work well with the BSD VFS"?
>
> i'm running a kernel with a local patch to put it back to VOP_INACTIVE.
> i haven't noticed anything wrong with it so far.
Indeed, seems like a fine place to do it. In fact, I’d go so far as to say it should be done even lazier than INACTIVE; do it in RECLAIM.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index