Whamcloud - gitweb
b=23289 new API: cfs_waitq_add_exclusive_head
authorJian Yu <jian.yu@oracle.com>
Wed, 1 Dec 2010 12:16:21 +0000 (20:16 +0800)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 3 Dec 2010 19:22:46 +0000 (22:22 +0300)
commit40e312a8275ed9240e63f0ac023d8b7a38136f42
tree9cf077c0b8be0c21e2862e1b141287e5cad036aa
parentd750891e478804bc495ffa075d771d1816369958
b=23289 new API: cfs_waitq_add_exclusive_head

With this patch, we can reduce total number of active threads because
waitq is a LIFO list for exclusive waiting.

o=Liang Zhen
i=andreas.dilger
i=eric.mei
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/libcfs_prim.h
libcfs/libcfs/linux/linux-prim.c
libcfs/libcfs/user-prim.c
lustre/include/lustre_lib.h
lustre/mdt/mdt_capa.c
lustre/ptlrpc/service.c