Whamcloud - gitweb
Branch HEAD
authorvitaly <vitaly>
Thu, 25 Jun 2009 09:58:38 +0000 (09:58 +0000)
committervitaly <vitaly>
Thu, 25 Jun 2009 09:58:38 +0000 (09:58 +0000)
b=18619
i=vitaly
i=johann

max rpc in flight panda's fix

lustre/osc/osc_request.c

index 7413509..e471690 100644 (file)
@@ -2628,7 +2628,7 @@ static int osc_max_rpc_in_flight(struct client_obd *cli, struct lov_oinfo *loi)
         }
 
         if (!hprpc && !list_empty(&loi->loi_read_lop.lop_urgent)) {
-                oap = list_entry(loi->loi_write_lop.lop_urgent.next,
+                oap = list_entry(loi->loi_read_lop.lop_urgent.next,
                                  struct osc_async_page, oap_urgent_item);
                 hprpc = !!(oap->oap_async_flags & ASYNC_HP);
         }