Whamcloud - gitweb
LU-8289 utils: add ll_decode_linkea tool 44/20444/15
authorLi Xi <lixi@ddn.com>
Thu, 6 Oct 2016 23:13:47 +0000 (19:13 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 20 Oct 2016 10:37:02 +0000 (10:37 +0000)
commit11a138cb9d005ef0180421bd17542071b63e18d9
tree6f4256a1b1ce4bb203a2235808434a769facfceb
parent7a814e94e065551ab79e2ba75df9626e4940efc5
LU-8289 utils: add ll_decode_linkea tool

A MDT recovered by fsck might contain some files under lost+found
directory of ldiskfs. And in order to get the right path to move
them to, the xattr of trusted.link could be used to extract the
parent FIDs.

This path adds an new tool ll_decode_linkea to dump the parent FIDs
of a file.

Test-Parameters: trivial
Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I1da6ea78ab2f9e2db8fbdfdcfb8690c57e9eb2b0
Reviewed-on: http://review.whamcloud.com/20444
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/Makefile.am
lustre/doc/ll_decode_linkea.8 [new file with mode: 0644]
lustre/tests/sanity.sh
lustre/tests/test-framework.sh
lustre/utils/.gitignore
lustre/utils/Makefile.am
lustre/utils/ll_decode_linkea.c [new file with mode: 0644]