Re: how to remove oldest files up to a limit efficiently

2008-07-09 Thread [EMAIL PROTECTED]
On Jul 9, 7:08 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > Dan Stromberg wrote: > > On Tue, 08 Jul 2008 15:18:23 -0700, [EMAIL PROTECTED] wrote: > > >> I need to mantain a filesystem where I'll keep only the most recently > >> used (MRU) files; least recently used ones (LRU) have to be removed to

Re: how to remove oldest files up to a limit efficiently

2008-07-09 Thread [EMAIL PROTECTED]
On Jul 9, 8:46 am, Dan Stromberg <[EMAIL PROTECTED]> wrote: > On Tue, 08 Jul 2008 15:18:23 -0700, [EMAIL PROTECTED] wrote: > > I need to mantain a filesystem where I'll keep only the most recently > > used (MRU) files; least recently used ones (LRU) have to be removed to > > leave space for newer o

Re: how to remove oldest files up to a limit efficiently

2008-07-09 Thread Terry Reedy
Dan Stromberg wrote: On Tue, 08 Jul 2008 15:18:23 -0700, [EMAIL PROTECTED] wrote: I need to mantain a filesystem where I'll keep only the most recently used (MRU) files; least recently used ones (LRU) have to be removed to leave space for newer ones. The filesystem in question is a clustered

Re: how to remove oldest files up to a limit efficiently

2008-07-08 Thread Dan Stromberg
On Tue, 08 Jul 2008 15:18:23 -0700, [EMAIL PROTECTED] wrote: > I need to mantain a filesystem where I'll keep only the most recently > used (MRU) files; least recently used ones (LRU) have to be removed to > leave space for newer ones. The filesystem in question is a clustered fs > (glusterfs) whi

how to remove oldest files up to a limit efficiently

2008-07-08 Thread [EMAIL PROTECTED]
I need to mantain a filesystem where I'll keep only the most recently used (MRU) files; least recently used ones (LRU) have to be removed to leave space for newer ones. The filesystem in question is a clustered fs (glusterfs) which is very slow on "find" operations. To add complexity there are more