diff mbox

[03/18] rbd: add lio specific data area

Message ID 1438161835-27960-3-git-send-email-mchristi@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mike Christie July 29, 2015, 9:23 a.m. UTC
From: Mike Christie <michaelc@cs.wisc.edu>

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>
---
 drivers/block/rbd.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index bc0466c..1df7bdd 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -303,6 +303,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 */
 
 	struct page		**copyup_pages;
 	u32			copyup_page_count;