From a6f9125c0cf42cbfb4c26d9f2afad57d1f387806 Mon Sep 17 00:00:00 2001 From: anserper Date: Fri, 20 Mar 2009 18:59:05 +0000 Subject: [PATCH] b=16891 i=Vitaly Fertman i=Johann Lombardi fix for osc_max_rpc_in_flight --- 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 60def2c..7233e60 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2560,7 +2560,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