* file locks in 2.4.18
@ 2002-05-28 14:33 Stephan von Krawczynski
2002-05-29 2:48 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Stephan von Krawczynski @ 2002-05-28 14:33 UTC (permalink / raw)
To: linux-kernel
Hello,
what is the preferred way to increase the maximum number of locks per file in
2.4.18 (and above :-)? Is this fs-type-dependant? My concern is reiserfs 3.6. I
found out the hard way that there is a max of around 128 currently...
Regards,
Stephan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: file locks in 2.4.18
2002-05-28 14:33 file locks in 2.4.18 Stephan von Krawczynski
@ 2002-05-29 2:48 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2002-05-29 2:48 UTC (permalink / raw)
To: Stephan von Krawczynski; +Cc: linux-kernel
Hi Stephan,
On Tue, 28 May 2002 16:33:58 +0200 Stephan von Krawczynski <skraw@ithnet.com> wrote:
>
> what is the preferred way to increase the maximum number of locks per
> file in 2.4.18 (and above :-)? Is this fs-type-dependant? My concern is
> reiserfs 3.6. I found out the hard way that there is a max of around 128
> currently...
Are you referring to fcntl locks? If so what are the symptoms of not
being able to get a lock? As far as I am aware, there should be no limit
on the number of locks per file (except memory, of course). There is a
per process limit on the number of file locks, but it is infinite by default.
The file system can place restrictions on file locking, but I am
pretty sure that reiserfs does not.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-29 2:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-28 14:33 file locks in 2.4.18 Stephan von Krawczynski
2002-05-29 2:48 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox