From: Mark Fasheh <mark.fasheh@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] ocfs2: Local alloc window size changeable via mount option
Date: Mon Dec 10 13:39:52 2007 [thread overview]
Message-ID: <20071210213923.GV28607@ca-server1.us.oracle.com> (raw)
In-Reply-To: <1196467193-24983-2-git-send-email-sunil.mushran@oracle.com>
On Fri, Nov 30, 2007 at 03:59:53PM -0800, Sunil Mushran wrote:
> Local alloc is a performance optimiztion in ocfs2 in which a node
> takes a window of bits from the global bitmap and then uses that for
> all small local allocations. This window size is fixed to 8MB currently.
> This patch allows users to specify the window size in MB including
> disabling it by passing in 0. If the number specified is too large,
> the fs will use the default value of 8MB.
>
> mount -o localalloc=X /dev/sdX /mntpoint
>
> Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
> ---
> fs/ocfs2/localalloc.c | 41 +++++++++++++++++++++++++++++------------
> fs/ocfs2/ocfs2.h | 1 +
> fs/ocfs2/ocfs2_fs.h | 8 ++++++++
> fs/ocfs2/suballoc.c | 5 +++--
> fs/ocfs2/super.c | 17 +++++++++++++++++
> 5 files changed, 58 insertions(+), 14 deletions(-)
We need to update the "Mount options" list in
Documentation/filesystems/ocfs2.txt as well.
Otherwise, this looks fine.
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh@oracle.com
next prev parent reply other threads:[~2007-12-10 13:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-30 16:00 [Ocfs2-devel] ocfs2: Local alloc window size changeable via mount option Sunil Mushran
2007-11-30 15:59 ` [Ocfs2-devel] [PATCH 1/1] " Sunil Mushran
2007-12-10 13:39 ` Mark Fasheh [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-20 14:59 [Ocfs2-devel] ocfs2: mount option localalloc Sunil Mushran
2007-12-20 14:58 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Local alloc window size changeable via mount option Sunil Mushran
2007-12-20 17:16 ` Joel Becker
2007-12-20 18:56 ` Mark Fasheh
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=20071210213923.GV28607@ca-server1.us.oracle.com \
--to=mark.fasheh@oracle.com \
--cc=ocfs2-devel@oss.oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.