Whamcloud - gitweb
LU-2142 scrub: reset completed scrub position if retrigger
authorFan Yong <yong.fan@whamcloud.com>
Thu, 11 Oct 2012 11:19:28 +0000 (19:19 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Oct 2012 21:53:56 +0000 (17:53 -0400)
commit6daa2b3f3841eaccbc88c6ff184ab573f654b054
tree60756a9de1b1027fb75d174bafe6e70f15af91f7
parent481f78de9f5946e0dcfee2afae75bf0c2804941d
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: I9b067f50df81461702c7f3db0eadd2bf3ebf5699
Reviewed-on: http://review.whamcloud.com/4252
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osd-ldiskfs/osd_scrub.c