From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 3/5] ocfs2: use allocation reservations for directory data
Date: Fri, 19 Mar 2010 18:25:54 -0700 [thread overview]
Message-ID: <20100320012554.GI15539@mail.oracle.com> (raw)
In-Reply-To: <20100320001425.GL11402@wotan.suse.de>
On Fri, Mar 19, 2010 at 05:14:25PM -0700, Mark Fasheh wrote:
> Yeah, it'll work. My concern was that we'd be cannibalizing those too much
> since the window sizes are optimized for file data. It's only a hunch though
> that directories might want smaller windows - I didn't get much data on
> directory growth since my focus was on file data.
I expect that directories won't use their entire reservation.
I'm just not sure it matters. Half of the files we create won't either.
If we actually are doing a lot of creating (untar, etc), we'll
eventually canabalize the reservation attached to the directory anyway.
So I don't know why directories have to have smaller reservations. Just
let the expire/canabalize code handle it.
I'd be interested to see how an untar of a kernel tree or any
long-running workload that is helped by reservations changes when a
directory is reserving the same space as a file.
Joel
--
"War doesn't determine who's right; war determines who's left."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2010-03-20 1:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-17 6:59 [Ocfs2-devel] [PATCH 0/5] Ocfs2 allocation reservations Mark Fasheh
2010-03-17 6:59 ` [Ocfs2-devel] [PATCH 1/5] ocfs2: " Mark Fasheh
2010-03-19 22:40 ` Joel Becker
2010-03-19 23:56 ` Mark Fasheh
2010-03-17 6:59 ` [Ocfs2-devel] [PATCH 2/5] ocfs2: use allocation reservations during file write Mark Fasheh
2010-03-17 6:59 ` [Ocfs2-devel] [PATCH 3/5] ocfs2: use allocation reservations for directory data Mark Fasheh
2010-03-19 22:43 ` Joel Becker
2010-03-20 0:14 ` Mark Fasheh
2010-03-20 1:25 ` Joel Becker [this message]
2010-03-20 3:47 ` Mark Fasheh
2010-03-20 6:18 ` Joel Becker
2010-03-21 23:26 ` Mark Fasheh
2010-03-22 20:41 ` Joel Becker
2010-03-17 6:59 ` [Ocfs2-devel] [PATCH 4/5] ocfs2: allocate btree internal block groups from the global bitmap Mark Fasheh
2010-03-17 6:59 ` [Ocfs2-devel] [PATCH 5/5] ocfs2: remove ocfs2_local_alloc_in_range() Mark Fasheh
2010-03-17 20:17 ` [Ocfs2-devel] [PATCH 0/5] Ocfs2 allocation reservations 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=20100320012554.GI15539@mail.oracle.com \
--to=joel.becker@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.