From: Mike Christie <[email protected]>

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 <[email protected]>
---
 drivers/block/rbd.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to