Whamcloud - gitweb
b=21556 release cpu if needed while removing extents
authorJohann Lombardi <johann@sun.com>
Fri, 4 Jun 2010 10:19:47 +0000 (12:19 +0200)
committerJohann Lombardi <johann@sun.com>
Fri, 4 Jun 2010 10:19:47 +0000 (12:19 +0200)
commit93962ee39a6d48380b8487b81fc20514cda074cf
tree3deb52f0e262fa2124d47b49616b728c7ab82bee
parent1aa2de0afe612bd98648ca45739680a198607966
b=21556 release cpu if needed while removing extents

i=oleg
i=vitaly

cache_remove_extents_from_lock() can hog cpu for too long.
add a call to cond_resched().
lnet/include/libcfs/darwin/darwin-prim.h
lnet/include/libcfs/linux/linux-prim.h
lnet/include/libcfs/user-prim.h
lnet/include/libcfs/winnt/winnt-prim.h
lustre/ChangeLog
lustre/osc/cache.c