From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] DRBD Trim/discard
Date: Fri, 27 Sep 2013 14:47:48 +0200 [thread overview]
Message-ID: <20130927124748.GD16596@soda.linbit> (raw)
In-Reply-To: <alpine.DEB.2.00.1309261150420.47088@ware.dreamhost.com>
On Thu, Sep 26, 2013 at 12:01:40PM -0700, Eric Wheeler wrote:
> Hello all,
>
>
> 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. (I searched around for DRBD trim/discard support
> with little commentary except the reference [1] below which does not
> apply to our use case.)
>
>
> Is discard support on the roadmap?
>
> What are the technical considerations for implementation?
>
> I'm guessing this would be a relatively simple patch, just need to
> add a discard flag to the wire protocol and pass that to the backing
> device (after calculating the metadata offset, if any).
>
> If you can comment on the desired implementation of such a feature
> and point me in the right direction I may be able to write a patch
> and test.
>
> Any help you can offer would be greatly appreciated!
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,
Cheers,
Lars
next prev parent reply other threads:[~2013-09-27 12:47 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 [this message]
2013-10-17 23:00 ` Eric Wheeler
2013-10-18 10:38 ` Lars Ellenberg
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=20130927124748.GD16596@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 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.