From: Theodore Tso <tytso@mit.edu>
To: aneesh.kumar@linux.vnet.ibm.com
Cc: linux-ext4@vger.kernel.org
Subject: Re: [Bug 12829] kernel complains on ENOSPC
Date: Mon, 6 Apr 2009 14:58:23 -0400 [thread overview]
Message-ID: <20090406185823.GE7376@mit.edu> (raw)
In-Reply-To: <20090310163824.6C767108042@picon.linux-foundation.org>
Aneesh,
What's the status of this patch; do you think we still need it? If
so, can you add a proper commit log and signed-off-by, tell me that
you've tested it, etc.?
Thanks!!
- Ted
On Tue, Mar 10, 2009 at 09:38:24AM -0700, bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=12829
>
>
>
>
>
> ------- Comment #4 from aneesh.kumar@linux.vnet.ibm.com 2009-03-10 09:38 -------
> This patch will not fix the problem. But i guess we need this change
>
> -aneesh
>
> diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
> index 4415bee..671f215 100644
> --- a/fs/ext4/mballoc.c
> +++ b/fs/ext4/mballoc.c
> @@ -4652,11 +4652,11 @@ out1:
> if (ar->len < inquota)
> DQUOT_FREE_BLOCK(ar->inode, inquota - ar->len);
> out3:
> - if (!ar->len) {
> + if (ar->len < reserv_blks) {
> if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag)
> /* release all the reserved blocks if non delalloc */
> percpu_counter_sub(&sbi->s_dirtyblocks_counter,
> - reserv_blks);
> + reserv_blks - ar->len);
> }
>
> trace_mark(ext4_allocate_blocks,
>
>
> --
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-04-06 18:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 22:33 [Bug 12829] New: kernel complains on ENOSPC bugme-daemon
2009-03-06 23:02 ` [Bug 12829] " bugme-daemon
2009-03-09 5:16 ` Aneesh Kumar K.V
2009-03-06 23:28 ` bugme-daemon
2009-03-09 5:17 ` bugme-daemon
2009-03-10 16:38 ` bugme-daemon
2009-04-06 18:58 ` Theodore Tso [this message]
2009-04-07 14:31 ` Aneesh Kumar K.V
2009-04-07 16:15 ` Theodore Tso
2009-05-19 19:24 ` bugzilla-daemon
2010-03-15 20:23 ` bugzilla-daemon
[not found] <bug-12829-13602@https.bugzilla.kernel.org/>
2012-05-30 14:33 ` bugzilla-daemon
2012-05-30 14:33 ` bugzilla-daemon
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=20090406185823.GE7376@mit.edu \
--to=tytso@mit.edu \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=linux-ext4@vger.kernel.org \
/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.