From: Mike Snitzer <snitzer@redhat.com>
To: dm-devel@redhat.com, ejt@redhat.com
Subject: Re: dm thin: relax hard limit on the maximum size of a metadata device
Date: Mon, 5 Mar 2012 09:04:21 -0500 [thread overview]
Message-ID: <20120305140421.GA25562@redhat.com> (raw)
In-Reply-To: <20120305102133.GB6431@ubuntu>
On Mon, Mar 05 2012 at 5:21am -0500,
Joe Thornber <thornber@redhat.com> wrote:
> Hi Mike,
>
> My concerns are:
>
> i) The current behaviour is upstream; by changing this aren't you
> making the tools writers life more complicated rather than less by
> making them support both interfaces?
It is an incremental improvement. Allows the kernel to be forgiving.
How does this impact some tool that took the special care to limit the
size of the device to METADATA_DEV_MAX_SECTORS (which is < 16G)?
I'm not imposing new or conflicting restrictions that would trip up any
existing/hypothetical tools.
> ii) 16G is a ludicrous amount of space to allocate for metadata (16M
> would be much better). Why are the tools trying to allocate this
> much? LVM2's unit of _allocation_ may be the extent, but this is
> separate from activation. If your extent size is 16G you can
> probably squeeze 1000 metadata areas into there.
>
> As a side issue it's not clear to me why anyone would want to use
> 16G extents? (eg, 16M extents lets them address 2^56 bytes of
> data in the VG). Maybe the sys admins mistakenly think they're
> getting performance benefits through having more contiguous data?
> [LVM2's allocation policies try and allocate contiguous extents
> anyway].
Whatever the tools may be doing is not my concern. Ideally the users
and tool authors understand that 16G is insane for thinp metadata. But
in the event that they use 16G would you rather we reject them?
I do think so, especially given that we've already documented that 16G
is the max.
> If you can reassure me about (i) and that your patch isn't encouraging
> poor tool code (ii), then I'll ack this patch.
OK... let me know if I passed ;)
Mike
next prev parent reply other threads:[~2012-03-05 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 21:32 [PATCH] dm thin: relax hard limit on the maximum size of a metadata device Mike Snitzer
2012-03-05 10:21 ` Joe Thornber
2012-03-05 14:04 ` Mike Snitzer [this message]
2012-03-05 14:19 ` Mike Snitzer
2012-03-06 10:09 ` Joe Thornber
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=20120305140421.GA25562@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=ejt@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.