public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Mingming Cao <cmm@us.ibm.com>
To: Akira Fujita <a-fujita@rs.jp.nec.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [RFC][PATCH 6/6] delalloc ENOSPC: improve percpu counter	accounting accurate
Date: Sun, 01 Jun 2008 19:30:25 -0700	[thread overview]
Message-ID: <1212373825.4368.74.camel@localhost.localdomain> (raw)
In-Reply-To: <48433CAA.1050209@rs.jp.nec.com>

On Mon, 2008-06-02 at 09:19 +0900, Akira Fujita wrote:
> Hi,
> 
> > Mingming Cao wrote:
> > percpu counter: update center counter when sum per-cpu counter
> >
> > From: Mingming cao <cmm@us.ibm.com>
> >
> > Delayed allocation need to check free blocks at every write time.
> > percpu_counter_read_positive() is not quit accurate
> >  but using percpu_counter_sum_positive() for every write
> > frequently is quite expensive.
> 
> I couldn't compile the latest ext4 patch qeueu.
> 
>   LD      fs/ext3/ext3.o
>   LD      fs/ext3/built-in.o
>   CC      fs/ext4/balloc.o
> fs/ext4/balloc.c: In function ‘ext4_has_free_blocks’:
> fs/ext4/balloc.c:1629: error: implicit declaration of function ‘percpu_counter_sum_positive_set’
> 
> 
> > +		    percpu_counter_sum_positive_set(&sbi->s_freeblocks_counter);
> 
> Maybe the above line which in percpucounter-add-sum-and-set-function.patch
> is percpu_counter_sum_and_set(&sbi->s_freeblocks_couter).
> 

oops. Updated patch queue, please check again.

Mingming
> Thanks,
> Akira Fujita
> --
> 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

--
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

  reply	other threads:[~2008-06-02  2:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01 23:36 [RFC][PATCH 6/6] delalloc ENOSPC: improve percpu counter accounting accurate Mingming Cao
2008-06-02  0:19 ` Akira Fujita
2008-06-02  2:30   ` Mingming Cao [this message]
2008-06-02  2:45     ` Akira Fujita

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=1212373825.4368.74.camel@localhost.localdomain \
    --to=cmm@us.ibm.com \
    --cc=a-fujita@rs.jp.nec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox