From cfb77eb51ea70f0b57494cb41c3f603f3d6125f0 Mon Sep 17 00:00:00 2001 From: vitaly Date: Thu, 25 Jun 2009 09:58:38 +0000 Subject: [PATCH] Branch HEAD b=18619 i=vitaly i=johann max rpc in flight panda's fix --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 7413509..e471690 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -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); } -- 1.8.3.1