dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	"lvm-devel@redhat.com" <lvm-devel@redhat.com>,
	"dm-devel@redhat.com" <dm-devel@redhat.com>
Subject: Re: [linux-lvm] ??????: New LVM2 release 2.02.89: Thinly-provisioned logical?volumes
Date: Mon, 30 Jan 2012 09:30:48 -0500	[thread overview]
Message-ID: <20120130143048.GA11766@infradead.org> (raw)
In-Reply-To: <20120130094336.GA4264@ubuntu>

On Mon, Jan 30, 2012 at 09:43:37AM +0000, Joe Thornber wrote:
> On Mon, Jan 30, 2012 at 06:29:54AM +0000, Kirby Zhou wrote:
> > Can the thinly-provisioned logical volume automatically return its owned space to the pool?
> > I mean, if I create a huge file on the logical volume, then delete it, will the logical volume actual space size be reduced automatically?
> > If not, how can it be shrinked?
> 
> 
> Discard support is currently in testing.  Should go upstream soon.

Note that you'll also need filesystem support for that, too.  Currently
no filesystem enables online discard by default, and at least directly
on SSDs the impact is rather bad on all Linux filesystems.

  reply	other threads:[~2012-01-30 14:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27  2:57 New LVM2 release 2.02.89: Thinly-provisioned logical volumes Alasdair G Kergon
2012-01-30  6:29 ` 答复: " Kirby Zhou
2012-01-30  9:43   ` [linux-lvm] 答复: New LVM2 release 2.02.89: Thinly-provisioned logical?volumes Joe Thornber
2012-01-30 14:30     ` Christoph Hellwig [this message]
2012-01-31  9:52 ` [linux-lvm] New LVM2 release 2.02.89: Thinly-provisioned logical volumes Busby.Cheung
2012-01-31 13:23   ` Alasdair G Kergon
2012-02-01  1:42   ` Busby.Cheung
2012-02-01  8:40   ` Busby.Cheung
2012-02-01 12:41     ` Alasdair G Kergon
2012-02-02  1:36     ` Busby.Cheung
2012-02-02  9:41       ` Zdenek Kabelac
2012-02-03  2:54       ` Busby.Cheung

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=20120130143048.GA11766@infradead.org \
    --to=hch@infradead.org \
    --cc=dm-devel@redhat.com \
    --cc=linux-lvm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).