From e1b4cc9a5a364525fa498d4dc29979fe5d2532be Mon Sep 17 00:00:00 2001 From: anserper Date: Fri, 20 Mar 2009 18:54:23 +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 dfaf4c55..9c869aa 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2390,7 +2390,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