Whamcloud - gitweb
LU-12137 osd-ldiskfs: refactor osd_ios_ROOT_scan 03/35803/3
authorJames Simmons <jsimmons@infradead.org>
Thu, 15 Aug 2019 20:40:06 +0000 (16:40 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:03:35 +0000 (23:03 +0000)
commitc769ba3025c59f110c38c44552a05142705c94c3
tree9ccfa1bd31d7c09949162adc276fcf59f267baa8
parent77d53777e32c80047cb75293d5f9a4c0d23bbea8
LU-12137 osd-ldiskfs: refactor osd_ios_ROOT_scan

With the change of osd_ios_scan_one() to handle a NULL
dchild->d_inode we can migrate the scrub code after calling
osd_ios_scan_one(). This can help reduce the code indentation
as well as make the code clearer.

Change-Id: Ieb59aa85c8199a1f1a1bee5cbe633e52b8e92a9a
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35803
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_scrub.c