Whamcloud - gitweb
LU-2587 quota: bump version after migration
authorNiu Yawei <niu@whamcloud.com>
Tue, 8 Jan 2013 10:39:56 +0000 (05:39 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 23 Jan 2013 17:59:22 +0000 (12:59 -0500)
commit92c9855dfc4300a1559312b6f8c5423fc2c6846c
tree57d8f29f25d2414c9736ffcef5576c166e56175f
parent536464e609c46a3950d7742bc3860b87d6bfc726
LU-2587 quota: bump version after migration

The global index version should be bumped to 2 if migration
happened, otherwise, the global index copy version on slave will
be same as the global index's (both equal to 1 after creation),
and the migrated limits will fail to be reintegrated.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I2d596a33e2eb4495dfbb7bd63d37199297a9b214
Reviewed-on: http://review.whamcloud.com/4969
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Hudson
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osd-ldiskfs/osd_quota.c