4 messages in ru.sysoev.nginxdiff for opening files with O_NOATIME
FromSent OnAttachments
Yusuf GoolamabbasAug 31, 2006 8:18 pm.diff
Igor SysoevAug 31, 2006 10:06 pm 
Yusuf GoolamabbasSep 1, 2006 1:51 am.diff
Igor SysoevSep 1, 2006 2:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:diff for opening files with O_NOATIMEActions...
From:Yusuf Goolamabbas (yusu@public.gmane.org)
Date:Aug 31, 2006 8:18:34 pm
List:ru.sysoev.nginx
Attachments:

Linux since 2.6.8 supports O_NOATIME in open(2). This does not update the file last access time (st_atime in the inode) when the file is read(2). Cherokee <http://www.0x50.org/> does similar things

This might help in static file serving so I cooked up this patch. I did a grep -r RDONLY in the nginx src and didn't think there were issues if atime updates were disabled for various cases or should I create a patch specific to ngx_http_static_module.c

Regards, Yusuf