add support for configurable max allocated requests and local req cache
[archipelago] / xseg / peers / kernel / xsegbd.h
index 3e1c763..416ecce 100644 (file)
@@ -44,8 +44,9 @@ struct xsegbd_device {
        struct list_head node;
        char target[XSEGBD_TARGET_NAMELEN + 1];
        uint32_t targetlen;
-       atomic_t usercount;
-       wait_queue_head_t wq;
 };
 
+void __xsegbd_get(struct xsegbd_device *xsegbd_dev);
+void __xsegbd_put(struct xsegbd_device *xsegbd_dev);
+struct xsegbd_device *__xsegbd_get_dev(unsigned long id);
 #endif