Whamcloud - gitweb
LU-2915 lfsck: LFSCK 1.5 technical debts (3)
authorFan Yong <yong.fan@whamcloud.com>
Sun, 19 May 2013 09:40:39 +0000 (17:40 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 13 Jun 2013 17:21:07 +0000 (13:21 -0400)
commit3e37d73b011ac1203c8cdd9f696652812bde5d2e
tree635fa9323a73684f869d868da0797c22fd83b059
parentf5491211ed7251a45e4e6916539cd2a2ab5e6038
LU-2915 lfsck: LFSCK 1.5 technical debts (3)

This patch resolves some LFSCK 1.5 technical debts, including:
1) Check and remove repeated linkea entries.
2) Merge some "goto" branches to make the code more readable.
3) Some comments about object's nlink inconsistency processing.

Test-Parameters: testlist=sanity-scrub,sanity-lfsck
Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ia2bf525cab6b94b87b7d88133393f9d2bb13031e
Reviewed-on: http://review.whamcloud.com/6344
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>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_linkea.h
lustre/include/obd_support.h
lustre/lfsck/lfsck_namespace.c
lustre/mdd/mdd_dir.c
lustre/obdclass/linkea.c
lustre/tests/sanity-lfsck.sh