From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] allocation: Allow "fuzzy" allocation when specifying size in percent
Date: Tue, 11 Feb 2014 11:28:27 +0100 [thread overview]
Message-ID: <52F9FB4B.80400@redhat.com> (raw)
In-Reply-To: <1392074997.17667.6.camel@f16>
Dne 11.2.2014 00:29, Jonathan Brassow napsal(a):
> This patch is still a bit rough around the edges and needs accompanying
> tests before in can be checked-in. If there are no objections to it,
> I'll clean it up a bit more and add the tests.
>
> brassow
>
>
> Introduce a new parameter called "fuzzy_alloc" that is set when the
> desired size of a new LV is specified in percentage terms. If set,
> the allocation code tries to get as much space as it can but does not
> fail if can at least get some.
>
> One of the practical implications is that users can now specify 100%FREE
> when creating RAID LVs, like this:
> ~> lvcreate --type raid5 -l 100%FREE -n lv vg
>
> (The stripe count is computed implicitly due to a previous patch, and
> the full size of the PVs in the VG is used.)
>
I wouldn't call it 'fuzzy' - I guess we've discussed something like -
extent exact or up-to given number of extents allocation
Zdenek
prev parent reply other threads:[~2014-02-11 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 23:29 [PATCH] allocation: Allow "fuzzy" allocation when specifying size in percent Jonathan Brassow
2014-02-11 10:28 ` Zdenek Kabelac [this message]
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=52F9FB4B.80400@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-devel@redhat.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.