LU-4505 quota: race of edquot updating
The slave edquot flag could be set mistakenly as following:
- slave A acquires quota from master, master found that the
user is running out of quota, set edquot in reply;
- another slave deletes files and release quota to master,
master clears edquot and notify all slaves by glimpse;
- glimpse reaches slave A before the reply of dqacq, so
edquot flag will be set on slave A at the end.
Given that edquot can't be fully trusted, it should only be
revalidated every 5 seconds on the sync acquire path.
Lustre-commit:
109fef5b053490549726f7b5abc9ba840d3a4ae0
Lustre-change: http://review.whamcloud.com/8954
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: I553bd1bc3aa6df6c449341e56564073043afd3da
Reviewed-on: http://review.whamcloud.com/9315
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>