Whamcloud - gitweb
LU-9040 scrub: handle group boundary properly (2) 59/26059/2
authorFan Yong <fan.yong@intel.com>
Sun, 6 Nov 2016 13:57:55 +0000 (21:57 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 26 Mar 2017 06:48:49 +0000 (06:48 +0000)
commit88c2664437b9110ee164aef176b1c126c23fdc1e
tree36cb5f25d3a687281a6ab630b80bd90f31fb2d13
parentc7785d49520bdf101cd0b1ea03ee236f66054eb5
LU-9040 scrub: handle group boundary properly (2)

In the osd_inode_iteration() logic, if the next/exec method
sets the iteration @offset variable just as group boundary:
the LDISKFS_INODES_PER_GROUP(sb), the original logic cannot
incrase the group#, as to the iteration repeats in the same
groupc for ever.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ie55d8ffaed2257baed9761a30c09c62e23105434
Reviewed-on: https://review.whamcloud.com/26059
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/osd-ldiskfs/osd_scrub.c