Whamcloud - gitweb
LU-13004 modules: replace lnet_kiov_t with struct bio_vec
[fs/lustre-release.git] / lnet / include / lnet / lib-types.h
index ad80165..ee2dc20 100644 (file)
@@ -168,7 +168,7 @@ struct lnet_msg {
        unsigned int          msg_offset;
        unsigned int          msg_niov;
        struct kvec          *msg_iov;
-       lnet_kiov_t          *msg_kiov;
+       struct bio_vec       *msg_kiov;
 
        struct lnet_event       msg_ev;
        struct lnet_hdr         msg_hdr;
@@ -218,7 +218,7 @@ struct lnet_libmd {
        struct lnet_handle_md    md_bulk_handle;
        union {
                struct kvec      iov[LNET_MAX_IOV];
-               lnet_kiov_t      kiov[LNET_MAX_IOV];
+               struct bio_vec   kiov[LNET_MAX_IOV];
        } md_iov;
 };
 
@@ -276,7 +276,7 @@ struct lnet_lnd {
         * credit if the LND does flow control. */
        int (*lnd_recv)(struct lnet_ni *ni, void *private, struct lnet_msg *msg,
                        int delayed, unsigned int niov,
-                       struct kvec *iov, lnet_kiov_t *kiov,
+                       struct kvec *iov, struct bio_vec *kiov,
                        unsigned int offset, unsigned int mlen, unsigned int rlen);
 
        /* lnet_parse() has had to delay processing of this message
@@ -857,7 +857,7 @@ struct lnet_rtrbufpool {
 struct lnet_rtrbuf {
        struct list_head         rb_list;       /* chain on rbp_bufs */
        struct lnet_rtrbufpool  *rb_pool;       /* owning pool */
-       lnet_kiov_t              rb_kiov[0];    /* the buffer space */
+       struct bio_vec           rb_kiov[0];    /* the buffer space */
 };
 
 #define LNET_PEER_HASHSIZE   503               /* prime! */