Whamcloud - gitweb
b=24188 rehash patch makes oops in quota_search_lqs
authorLanden <zhiyong.tian@oracle.com>
Thu, 25 Nov 2010 09:03:37 +0000 (17:03 +0800)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 26 Nov 2010 22:58:21 +0000 (01:58 +0300)
commit9364f1f12c830985b4d262c6a963bc0949facd17
treee1d813e382de7f54b2ee9522e7d081898e3d2094
parent5700f5bc3c5bb0e65ca84f34c7b642066d8489e2
b=24188 rehash patch makes oops in quota_search_lqs

Problem is: we should do "cfs_hash_getref(qctxt->lqc_lqs_hash)"
when we search and create a new quota hash entry.
This patch does some optimization for lquota code so that lquota
can take one less reference for lqs.

i=landen
i=vitaly.fertman
lustre/include/lustre_quota.h
lustre/quota/quota_adjust_qunit.c
lustre/quota/quota_context.c