From: Mike Snitzer <snitzer@redhat.com>
To: dm-devel@redhat.com
Subject: Re: [PATCH 1/2 v3] dm: discard support for the linear target
Date: Tue, 29 Jun 2010 01:33:25 -0400 [thread overview]
Message-ID: <20100629053324.GA16193@redhat.com> (raw)
In-Reply-To: <20100629052546.GA15852@redhat.com>
On Tue, Jun 29 2010 at 1:25am -0400,
Mike Snitzer <snitzer@redhat.com> wrote:
> Allow discards to be passed through to a single device linear mapping.
> Introduce DM_TARGET_SUPPORTS_DISCARDS target features flag that each
> target must set once discard support is added.
>
> Verify table's underlying devices support discards prior to setting the
> associated DM device as capable of discards (via QUEUE_FLAG_DISCARD).
>
> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
I mistakenly dropped Joe's Reviewed-by after making agk's suggested
(minor) changes for v3:
- invert if..else logic in __clone_and_map_discard
- remove unnecessary uninitialized_var() in dm_table_supports_discards
Reviewed-by: Joe Thornber <thornber@redhat.com>
prev parent reply other threads:[~2010-06-29 5:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-26 20:31 [PATCH 1/2 v2] dm: discard support for the linear target Mike Snitzer
2010-06-26 20:31 ` [RFC PATCH 2/2] dm: add support for splitting discard requests Mike Snitzer
2010-06-27 9:47 ` Christoph Hellwig
2010-06-27 13:59 ` Mike Snitzer
2010-06-27 9:49 ` [PATCH 1/2 v2] dm: discard support for the linear target Christoph Hellwig
2010-06-27 13:41 ` Mike Snitzer
2010-06-29 5:25 ` [PATCH 1/2 v3] " Mike Snitzer
2010-06-29 5:33 ` Mike Snitzer [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=20100629053324.GA16193@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-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.