Whamcloud - gitweb
LU-6142 ptlrpc: remove struct ptlrpc_bulk_page 79/35879/3
authorMr NeilBrown <neilb@suse.com>
Thu, 22 Aug 2019 05:18:04 +0000 (15:18 +1000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:01:35 +0000 (23:01 +0000)
This structure is never used, so remove it.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: I2a4fbfe2701636670801adcd0c2f2d991598f8f6
Reviewed-on: https://review.whamcloud.com/35879
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
lustre/include/lustre_net.h

index 2611c87..30fbde9 100644 (file)
@@ -1324,22 +1324,6 @@ do {                                                                          \
 } while (0)
 /** @} */
 
 } while (0)
 /** @} */
 
-/**
- * Structure that defines a single page of a bulk transfer
- */
-struct ptlrpc_bulk_page {
-       /** Linkage to list of pages in a bulk */
-       struct list_head bp_link;
-       /**
-        * Number of bytes in a page to transfer starting from \a bp_pageoffset
-        */
-       int              bp_buflen;
-       /** offset within a page */
-       int              bp_pageoffset;
-       /** The page itself */
-       struct page     *bp_page;
-};
-
 enum ptlrpc_bulk_op_type {
        PTLRPC_BULK_OP_ACTIVE =  0x00000001,
        PTLRPC_BULK_OP_PASSIVE = 0x00000002,
 enum ptlrpc_bulk_op_type {
        PTLRPC_BULK_OP_ACTIVE =  0x00000001,
        PTLRPC_BULK_OP_PASSIVE = 0x00000002,