file locks in 2.4.18
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
Hi Stephan,
Quoted 5 lines · On Tue, 28 May 2002 16:33:58 +0200 Stephan von Krawczynski <[email protected]>…
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.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/