summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
408c61b)
o=liang
i=vitaly
i=zam
as liblustre is 1-threaded we should not prevert normal requests
from being processed if only 1 thread is left
*/
static int ptlrpc_server_allow_normal(struct ptlrpc_service *svc, int force)
{
*/
static int ptlrpc_server_allow_normal(struct ptlrpc_service *svc, int force)
{
+#ifndef __KERNEL__
+ if (1) /* always allow to handle normal request for liblustre */
+ return 1;
+#endif
if (force ||
svc->srv_n_active_reqs < svc->srv_threads_running - 2)
return 1;
if (force ||
svc->srv_n_active_reqs < svc->srv_threads_running - 2)
return 1;