Whamcloud - gitweb
LU-2915 lfsck: LFSCK 1.5 technical debts (2)
authorFan Yong <yong.fan@whamcloud.com>
Sun, 19 May 2013 04:26:37 +0000 (12:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 13 Jun 2013 17:17:29 +0000 (13:17 -0400)
commitf5491211ed7251a45e4e6916539cd2a2ab5e6038
tree15333257b6174b1fffd9559c0ce3c761d76aa0c3
parent03a6a8b1e7ab1bc8051590dea522cbbe064e0a5e
LU-2915 lfsck: LFSCK 1.5 technical debts (2)

This patch resolves some LFSCK 1.5 technical debts, including:
1) LFSCK does NOT hold spin_lock when call dt iteration API(s).
2) Remove the hack of using dt_it_ops::put() method for events
   notification to low layer otable-based iteration.

Test-Parameters: testlist=sanity-scrub,sanity-lfsck
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ie16161370ac218860a74b23d853c4c378adce4ec
Reviewed-on: http://review.whamcloud.com/6343
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c
lustre/tests/sanity-scrub.sh