Whamcloud - gitweb
set b_page in osc_brw_write, so that it will get kunmapped when complete
authorpschwan <pschwan>
Thu, 25 Jul 2002 23:34:29 +0000 (23:34 +0000)
committerpschwan <pschwan>
Thu, 25 Jul 2002 23:34:29 +0000 (23:34 +0000)
lustre/osc/osc_request.c

index f740a2e..d6c73d8 100644 (file)
@@ -689,6 +689,7 @@ static int osc_brw_write(struct lustre_handle *conn,
                 bulk->b_buf = (void *)(unsigned long)local[j].addr;
                 bulk->b_buflen = local[j].len;
                 bulk->b_xid = remote->xid;
+                bulk->b_page = pagearray[j];
         }
 
         if (desc->b_page_count != page_count)