Whamcloud - gitweb
Branch b1_8
authortianzy <tianzy>
Fri, 5 Jun 2009 08:05:12 +0000 (08:05 +0000)
committertianzy <tianzy>
Fri, 5 Jun 2009 08:05:12 +0000 (08:05 +0000)
commit77232b6898f8e922859570c7c3c481e5ff3dc3e9
tree39e50641647fa0e96e3619b9b96228f907726646
parenta7197ad3481e7af80ddbba864b6800c24e3484b0
Branch b1_8
I found a few issues after landing the patch for 18574.(some are caused by it, some are easier to
be reproduced by it)
1. in setquota, quota slaves will set their quota limitation to 1 and then get more quota. But in
this time, it's lqs size is the default value. If we have set a small quota limitation, we will
meet -EDQUOT. So we should adjust qunit firstly in this situation.
2. filter_quota_ctl(), we should promise there is no qunit is calculated or sent between
qctxt_wait_pending_dqacq() and fsfilt_quotactl(). Now I did this via a "fake" qunit.
b=18574
i=johann
i=fanyong
lustre/include/lustre/lustre_idl.h
lustre/quota/quota_adjust_qunit.c
lustre/quota/quota_context.c
lustre/quota/quota_ctl.c
lustre/quota/quota_internal.h
lustre/quota/quota_master.c
lustre/tests/sanity-quota.sh