From b1bf093ce6e9bd0d5d2c2520fe651a05416510be Mon Sep 17 00:00:00 2001 From: Jeremy Filizetti Date: Wed, 22 Dec 2010 11:21:00 +0800 Subject: [PATCH] b=23081 Move llap page to tail instead of head. i=adilger i=johann --- lustre/llite/rw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/llite/rw.c b/lustre/llite/rw.c index acd9264..ccd6a42 100644 --- a/lustre/llite/rw.c +++ b/lustre/llite/rw.c @@ -830,8 +830,8 @@ static struct ll_async_page *llap_from_page_with_lockh(struct page *page, pd=ll_pglist_double_lock(sbi, old_cpu, &old_pd); } - list_move(&llap->llap_pglist_item, - &pd->llpd_list); + list_move_tail(&llap->llap_pglist_item, + &pd->llpd_list); old_pd->llpd_gen++; if (pd->llpd_cpu != old_cpu) { pd->llpd_count++; -- 1.8.3.1