[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] slow update/status on NFS
From: |
Richard Levitte |
Subject: |
Re: [Monotone-devel] slow update/status on NFS |
Date: |
Wed, 23 May 2007 15:27:00 +0200 (CEST) |
In message <address@hidden> on Wed, 23 May 2007 15:22:37 +0200, Markus
Schiltknecht <address@hidden> said:
markus> Richard Levitte wrote:
markus> > If you have to, just give the cached status a limited life
markus> > time...
markus>
markus> Uh... yeah, sure. But how, that's the question?
Have a time_t that gets initialised when stat() is used, then compare
it with the result of time() at any use, and if the difference is
larger than NNN seconds, do a new stat() first. getting the output of
time() should be a fairly cheap operation.
I can't really say if this is really needed, since most paths should
be fairly short-lived objects...
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
- Re: [Monotone-devel] slow update/status on NFS, (continued)
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Ulf Ochsenfahrt, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS,
Richard Levitte <=
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Matt Johnston, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Ethan Blanton, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Zack Weinberg, 2007/05/24
- [Monotone-devel] Re: slow update/status on NFS, Pavel Cahyna, 2007/05/29