From: "Oliver Mattos" <oliver.mattos08@imperial.ac.uk>
To: "Simon Holm Thøgersen" <odie@cs.aau.dk>,
"Yien Zheng" <esprout@gmail.com>
Cc: "Jens Axboe" <jens.axboe@oracle.com>,
<linux-btrfs@vger.kernel.org>, "Josef Bacik" <jbacik@redhat.com>
Subject: Re: [PATCH] Btrfs: take block group fragmentation into account for allocation
Date: Mon, 9 Mar 2009 15:21:06 -0000 [thread overview]
Message-ID: <9F6FB775EC554CDBB1949CDCAC6F08EC@laptop> (raw)
In-Reply-To: <1236606993.7842.8.camel@odie.local>
> So the idea of the function is to return an integer in the range
> [0,100]?
Why are we using a range of 0 to 100 anyway? 100 seems like an arbitary
value for kernel space - why not just keep it as a value in the range
[0,2^32) ? That eliminates the arbitary constant of 100, and in some cases
could reduce the effects of rounding and allow finer control at no
additional expense.
next prev parent reply other threads:[~2009-03-09 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-08 14:42 [PATCH] Btrfs: take block group fragmentation into account for allocation Yien Zheng
2009-03-08 16:37 ` Jens Axboe
2009-03-09 2:03 ` Yien Zheng
2009-03-09 13:56 ` Simon Holm Thøgersen
2009-03-09 15:21 ` Oliver Mattos [this message]
2009-03-09 15:24 ` Josef Bacik
2009-03-09 17:29 ` jim owens
-- strict thread matches above, loose matches on Subject: below --
2009-03-06 19:30 Josef Bacik
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=9F6FB775EC554CDBB1949CDCAC6F08EC@laptop \
--to=oliver.mattos08@imperial.ac.uk \
--cc=esprout@gmail.com \
--cc=jbacik@redhat.com \
--cc=jens.axboe@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=odie@cs.aau.dk \
/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