Blob Blame History Raw
From 1e8cbf1f16b57d212d77028a727048ffaf0e2a90 Mon Sep 17 00:00:00 2001
From: Mike Christie <michaelc@cs.wisc.edu>
Date: Wed, 29 Jul 2015 04:23:40 -0500
Subject: [PATCH] rbd: add lio specific data area
References: fate#318836
Patch-mainline: Not yet, SES2 clustered LIO/RBD

The LIO RBD backend is going to make img_request calls, so this patch
adds a pointer so it can store its cmd for completions.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: David Disseldorp <ddiss@suse.de>
---
 drivers/block/rbd.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -305,6 +305,7 @@ struct rbd_img_request {
 
 	struct request		*rq;		/* block request */
 	struct rbd_obj_request	*obj_request;	/* obj req initiator */
+	void			*lio_cmd_data;	/* lio specific data */
 
 	spinlock_t		completion_lock;/* protects next_completion */
 	u32			next_completion;