Re: [Tracker] [Announce] Tracker 0.6.2



On 9/4/07, jamie <jamiemcc blueyonder co uk> wrote:
...snip...
* Makes preliminary use of NO_ATIME (some disk access still uses fopen)

Granted I haven't looked at the code, but you might just replace fopen
with something like:

int fd = open(..., O_NOATIME...;
fdopen(fd)

That way, everything is noatime and you get the benefits of working
with filestreams. fclose will close the underlying file descriptor so
there are no worries about dangling fds. Sorry but I've been to busy
to dig into the tracker code.


-- 

Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]