From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/2 v2] ocfs2: make xattr extension work with new local alloc reservation.
Date: Fri, 9 Jul 2010 14:56:33 -0700 [thread overview]
Message-ID: <20100709215633.GB4520@mail.oracle.com> (raw)
In-Reply-To: <1278658392-22009-1-git-send-email-tao.ma@oracle.com>
On Fri, Jul 09, 2010 at 02:53:11PM +0800, Tao Ma wrote:
> The old ocfs2_xattr_extent_allocation is too optimistic about
> the clusters we can get. So actually if the file system is
> too fragmented, ocfs2_add_clusters_in_btree will return us
> with EGAIN and we need to allocate clusters once again.
>
> So this patch change it to a while loop so that we can allocate
> clusters until we reach clusters_to_add.
>
> Signed-off-by: Tao Ma <tao.ma@oracle.com>
Let me know if and when these patches pass the xattr test suite.
IRC is fine. They look good, so they're queued up.
Joel
--
Life's Little Instruction Book #356
"Be there when people need you."
Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2010-07-09 21:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 6:53 [Ocfs2-devel] [PATCH 1/2 v2] ocfs2: make xattr extension work with new local alloc reservation Tao Ma
2010-07-09 6:53 ` [Ocfs2-devel] [PATCH 2/2 v2] ocfs2: Make xattr reflink " Tao Ma
2010-07-12 18:33 ` Joel Becker
2010-07-09 21:56 ` Joel Becker [this message]
2010-07-12 18:33 ` [Ocfs2-devel] [PATCH 1/2 v2] ocfs2: make xattr extension " Joel Becker
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=20100709215633.GB4520@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.