Re: Max open files....

Christopher R. Hertel (crh@NTS.Umn.EDU)
Mon, 20 Apr 1998 16:52:41 -0500 (CDT)

From:	"Christopher R. Hertel" <crh@NTS.Umn.EDU>
Message-Id: <199804202152.QAA25195@unet.unet.umn.edu>
Subject: Re: Max open files....
To:	jallison@whistle.com (Jeremy Allison)
Date:	Mon, 20 Apr 1998 16:52:41 -0500 (CDT)
In-Reply-To: <353B8B82.42877E5C@whistle.com> from "Jeremy Allison" at Apr 20, 98 10:53:06 am

Can you help me understand this? There would be a cache that would keep
the most recently used files open, so we'd only lose the locks that apply
to files that are closed. I'll need to keep track of file position, open
mode, etc. so that the file is re-opened correctly when re-activated. I
could, I suppose, also keep track of desired locks and re-apply them.

Another option would be to *not* close files that have locks open. I
don't know enough about op-locks to know how much trouble this would
cause. In other words, would we exceed open file limits by keeping
op-locked files open. If so, then we already have a problem.

Chris -)-----

> Well I don't want to do file idling (it ends all hope
> of oplock synchronization between Samba and nfs) and
> Andrew does :-). That's the issue really :-) :-). We
> need to make a decision one way or another as to whether
> it's a good idea or not.
>
> Cheers,
>
> Jeremy.

-- 
Christopher R. Hertel -)-----                   University of Minnesota
crh@nts.umn.edu              Networking and Telecommunications Services