[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dm-devel
Subject:    Re: [dm-devel] [PATCH 1/2 v3] dm: discard support for the linear
From:       Mike Snitzer <snitzer () redhat ! com>
Date:       2010-06-29 5:33:25
Message-ID: 20100629053324.GA16193 () redhat ! com
[Download RAW message or body]

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>

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic