Whamcloud - gitweb
b=23081 Move llap page to tail instead of head.
authorJeremy Filizetti <jfilizetti@sms-fed.com>
Wed, 22 Dec 2010 03:21:00 +0000 (11:21 +0800)
committerAndrew Perepechko <andrew.perepechko@oracle.com>
Wed, 22 Dec 2010 20:18:42 +0000 (23:18 +0300)
i=adilger
i=johann

lustre/llite/rw.c

index acd9264..ccd6a42 100644 (file)
@@ -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++;