Whamcloud - gitweb
b=21106 retry page_gang_lookup.
authorEric Mei <Eric.Mei@Sun.COM>
Thu, 4 Mar 2010 01:04:36 +0000 (17:04 -0800)
committerRobert Read <rread@sun.com>
Thu, 4 Mar 2010 01:04:36 +0000 (17:04 -0800)
commit9f604f5da06a2aa428388905ca9158b128e5016c
treed61215b52c51752dba4c94c43258ca3a30f352d1
parent77a5896c94f30149e4c511ec83e9aada90153d38
b=21106 retry page_gang_lookup.

If client cached a huge number of page, cl_lock_page_out() may hog CPU
for too long time without releasing, especially with high debug grade.
This patch break this process with voluntary resched.

r=jay
r=wangdi
lustre/include/cl_object.h
lustre/obdclass/cl_lock.c
lustre/obdclass/cl_page.c
lustre/osc/osc_lock.c