Whamcloud - gitweb
LU-2142 scrub: reset completed scrub position if retrigger
authorFan Yong <yong.fan@whamcloud.com>
Thu, 11 Oct 2012 09:42:29 +0000 (17:42 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 12 Oct 2012 22:23:17 +0000 (18:23 -0400)
commit773c6672533f680f51c2632cefb4249a6190d269
treeacabb46e203ec4a17009da85b0bd70c104c505d0
parent0d8a372d30572077fbf943c7d3f32e3d5d7ee3d5
LU-2142 scrub: reset completed scrub position if retrigger

If former OI scrub has been completed, and the user wants to run
the OI scrub again, then reset the OI scrub to make it to rescan
the device from the beginning.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I5b8e9ee51ccbf95ed131b963389c4ecfb92b9035
Reviewed-on: http://review.whamcloud.com/4250
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osd-ldiskfs/osd_scrub.c