Re: [PATCH 09/45] block discard: use bio set op accessor

Hannes Reinecke
2016-06-06T06:21:12Z

On 06/05/2016 09:31 PM, mchristi@redhat.com wrote:
> From: Mike Christie <mchristi@redhat.com>
>
> This converts the block issue discard helper and users to use
> the bio_set_op_attrs accessor and only pass in the operation flags
> like REQ_SEQURE.
>
> Signed-off-by: Mike Christie <mchristi@redhat.com>
> ---
> block/blk-lib.c | 13 +++++++------
> drivers/md/dm-thin.c | 2 +-
> include/linux/blkdev.h | 3 ++-
> 3 files changed, 10 insertions(+), 8 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)