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/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/