mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Stephan von Krawczynski <skraw@ithnet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: file locks in 2.4.18
Date: Wed, 29 May 2002 12:48:44 +1000	[thread overview]
Message-ID: <20020529124844.7adb15b4.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20020528163358.51e33760.skraw@ithnet.com>

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/

      reply	other threads:[~2002-05-29  2:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 14:33 Stephan von Krawczynski
2002-05-29  2:48 ` Stephen Rothwell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020529124844.7adb15b4.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skraw@ithnet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®