This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 6290b4cf92963f64ffa447cdaba099812c80fbfb (commit)
from 171e0e45083def60803bab94038ed3104c887cff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6290b4cf92963f64ffa447cdaba099812c80fbfb
Author: Milos Nikic <[email protected]>
Date: Thu Feb 19 20:41:19 2026 -0800
trans: /dev/random remove atime/mtime updates to prevent metadata
write-amplification
Unlike /dev/null, /dev/random calls trivfs_set_atime and trivfs_set_mtime
with
every read/update which underneath calls file_utimens, spams and
completely ignores relatime.
If one wants to see this behavious "in action" one can just repeatedly call:
stat /dev/random
inside Hurd and every time one does that all three timestamps will come back
updated.
Worse if one instruments file_utimens one will see that just during the
login process we get hundreds of ATIME updates for /dev/random due to
background entropy.
With this patch, extraneous updates are removed and spam is drastically
reduced.
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
trans/random.c | 2 --
1 file changed, 2 deletions(-)
hooks/post-receive
--
Hurd