[dm-devel] [PATCH 03/16] block: allow specifying size for extra command data

Hannes Reinecke hare at suse.de
Tue Jan 24 08:10:53 UTC 2017


On 01/23/2017 04:29 PM, Christoph Hellwig wrote:
> This mirrors the blk-mq capabilities to allocate extra drivers-specific
> data behind struct request by setting a cmd_size field, as well as having
> a constructor / destructor for it.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  block/blk-core.c       | 59 ++++++++++++++++++++++++++++++++++++++++----------
>  block/blk-flush.c      |  5 ++---
>  block/blk-sysfs.c      |  7 ++++--
>  include/linux/blkdev.h |  7 ++++++
>  4 files changed, 61 insertions(+), 17 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare at 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)




More information about the dm-devel mailing list