r=eeb,adilger,nic(original author)
Insert cond_resched in ptlrpc_main to give other threads a chance to use some cp
u.
Details : dev_clear_rdonly(bdev) must be called in kill_bdev() instead of
blkdev_put().
+Severity : minor
+Bugzilla : 11706
+Description: service threads may hog cpus when ther eis a lot of requests
+ coming
+Details : Insert cond_resched to give other threads a chance to use some of
+ the cpu
+
--------------------------------------------------------------------------------
2007-05-03 Cluster File Systems, Inc. <info@clusterfs.com>
lc_watchdog_disable(watchdog);
+ cond_resched();
+
l_wait_event_exclusive (svc->srv_waitq,
((thread->t_flags & SVC_STOPPING) != 0 &&
svc->srv_n_difficult_replies == 0) ||