Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] DRBD Trim/discard
Date: Fri, 18 Oct 2013 12:38:04 +0200	[thread overview]
Message-ID: <20131018103804.GT17724@soda.linbit> (raw)
In-Reply-To: <alpine.DEB.2.00.1310171558200.1745@ware.dreamhost.com>

On Thu, Oct 17, 2013 at 04:00:54PM -0700, Eric Wheeler wrote:
> 
> On Fri, 27 Sep 2013, Lars Ellenberg wrote:
> >On Thu, Sep 26, 2013 at 12:01:40PM -0700, Eric Wheeler wrote:
> >>We would like to run DRBD backed by thin-provisioned volumes (think
> >>ZFS or dm-thinp) which require discard support to dereference unused
> >>block allocations.
> >
> >We are integrating DISCARD / TRIM support into our currently
> >pending DRBD 8.4.4 release, right now. Code changes expected to be
> >pushed with the RC2, latest early next week.
> >
> >Thanks for testing and feedback,
> 
> I just sat down to look into TRIM support in the git tree, none of
> the commits in the shortlog are obvious. Has this already been
> committed? If so, do you have a commit number or alternate git tree
> that I can pull down?

You've been grepping for TRIM, I guess, where we used DISCARD ;-)

Look for "DISCARD" in the commit subjects.
I think it starts with
    drbd: prepare receiving side for REQ_DISCARD

Then a few more, and a few fixes for when exactly to expose QUEUE_FLAG_DISCARD.

Cheers,
	Lars


      reply	other threads:[~2013-10-18 10:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 19:01 [Drbd-dev] DRBD Trim/discard Eric Wheeler
2013-09-27 12:47 ` Lars Ellenberg
2013-10-17 23:00   ` Eric Wheeler
2013-10-18 10:38     ` Lars Ellenberg [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=20131018103804.GT17724@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.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