Whamcloud - gitweb
LU-2153 quota: several fixes for reintegration
authorNiu Yawei <niu@whamcloud.com>
Tue, 16 Oct 2012 02:48:03 +0000 (22:48 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 Nov 2012 19:28:16 +0000 (15:28 -0400)
commit984f4ce51fd38caaf0bd2b706a130f7f17c51638
tree574ebdcf299aaa3a3ce0cb5cb363a900238eb52f
parent12fb8892bcde4bdd17e1dffcd1c4cfd852f28f22
LU-2153 quota: several fixes for reintegration

- On master side, never delete the id entry from the global/slave
  index, otherwise, those deleted entries will not be transfered
  during reintegration, and improved test_7a for this change;
- When start reintegration thread, if there is any pending
  updates, abort and try to start reintegration later;
- Set rq_no_retry_einprogress for quota request;
- When master found quota acquire for not enforced ID, return
  -ESRCH to slave instead of -EINPROGRESS;
- Check free inodes in test_2;

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I64037f6aff6be686250272eda53c027bf5ba47c2
Reviewed-on: http://review.whamcloud.com/4275
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
libcfs/include/libcfs/list.h
lustre/quota/qmt_entry.c
lustre/quota/qmt_handler.c
lustre/quota/qsd_reint.c
lustre/quota/qsd_request.c
lustre/quota/qsd_writeback.c
lustre/tests/sanity-quota.sh