commit | 6d247d7f71d1fa4b66a5f4da7b1daa21510d529b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jan 27 09:51:45 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Fri Jan 27 15:08:35 2017 -0700 |
tree | 449921f154b9bd0176453478fdd7a8c6911be5ad | |
parent | 5ea708d15a928f7a479987704203616d3274c03b [diff] |
block: allow specifying size for extra command data 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@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>