Whamcloud - gitweb
b=22634 hold "mds_qonoff_sem" when call "lustre_read_quota()", and check parameter...
authorFan Yong <Yong.Fan@sun.com>
Tue, 27 Apr 2010 03:36:53 +0000 (11:36 +0800)
committerRobert Read <robert.read@oracle.com>
Tue, 27 Apr 2010 17:29:02 +0000 (10:29 -0700)
commit84b4aa04afe79ca78b271e2902b24fda7bb6356e
tree3d6884ca3c4555a181b76b9fd17542c28067f14f
parent234209056398f32c1f1ac301bfc3d1bee9582730
b=22634 hold "mds_qonoff_sem" when call "lustre_read_quota()", and check parameter properly in such function

1) replace "cfs_semaphore_t" with "cfs_rw_semaphore_t" for "mds_qonoff_sem" to enhance the parallel processing of quota related operations
2) hold "mds_qonoff_sem" when call "lustre_read_quota()", and check parameter properly in such function

i=robert.read
i=landen
lustre/include/obd.h
lustre/lvfs/fsfilt_ext3.c
lustre/lvfs/lustre_quota_fmt.c
lustre/quota/lproc_quota.c
lustre/quota/quota_check.c
lustre/quota/quota_interface.c
lustre/quota/quota_master.c