|
From: | Samuel Thibault |
Subject: | set_mtime/set_atime in term/users.c, really needed? |
Date: | Wed, 27 Jul 2011 01:52:33 +0200 |
User-agent: | Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Hello, I've noticed that term/users.c calls set_atime/mtime for each and every io_write/read performed on a tty. This means for instance that each keypress on the console or via ssh will dirty the tty node and eventually lead to a disk write for the underlying node a few seconds later. Do we really need to update mtime/atime for ttys? It seems overkill to me. Samuel
[Prev in Thread] | Current Thread | [Next in Thread] |