linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: Andrew Morton <akpm@osdl.org>, Christoph Hellwig <hch@lst.de>
Cc: viro@ftp.linux.org.uk, linux-fsdevel@vger.kernel.org,
	linux-mm@kvack.org, William Lee Irwin III <wli@holomorphy.com>
Subject: RE: [PATCH 1/4] hugetlbfs: move free_inodes accounting
Date: Wed, 21 Sep 2005 23:37:55 -0700	[thread overview]
Message-ID: <B05667366EE6204181EABE9C1B1C0EB508378531@scsmsx401.amr.corp.intel.com> (raw)

Andrew Morton wrote on Wednesday, September 21, 2005 11:11 PM
> Does anyone remember why we have special-case handling in there for
> (sbinfo->free_inodes < 0)?

We encode -1 in sbinfo->free_inodes at the time of mount to indicate
unlimited nr_inodes for hugetlbfs mount point.  For unlimited nr_inodes
mount option, we won't update free_inodes field.  (unlimited nr_inodes
option could be an overkill for hugetlbfs)

- Ken

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2005-09-22  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22  6:37 Chen, Kenneth W [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-21  9:21 Christoph Hellwig
2005-09-21 19:10 ` Andrew Morton
2005-09-21 19:34 ` Dave Hansen

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=B05667366EE6204181EABE9C1B1C0EB508378531@scsmsx401.amr.corp.intel.com \
    --to=kenneth.w.chen@intel.com \
    --cc=akpm@osdl.org \
    --cc=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=viro@ftp.linux.org.uk \
    --cc=wli@holomorphy.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