LU-3041 lfsck: improve lfsck.sh on b1_8

The test directory of lfsck.sh contains some files referencing same
object, which could cause error when removing the directory on test
cleanup. Also, in lfsck.sh we shouldn't use debugfs to remove objects,
that'll cause quota usage inconsistence warning in e2fsck.

This patch is a backport of commit 622148 and 2df010, and it also
includes part of the patch of LU-3133 and LU-3180.

Test-Parameters: testlist=lfsck

Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: I6fd5db0c921e744f12a92676eb906d730b9c3d10
Reviewed-on: http://review.whamcloud.com/5968
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
LU-1410 test: Allow sanity test 200 to work with one OST

The sanity test is failing test 200 with one OST. When
the test adds machines to the pool it is not passing
valid arguments.

Changing TGTPOOL_FIRST=0 is allowing the test to run.

Signed-off-by: Keith Mannthey <keith@whamcloud.com>
Change-Id: I0709429e7888d0b3d90a0160778ca6224d9cb12e
Reviewed-on: http://review.whamcloud.com/3731
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
LU-1378 seq: swab lu_seq_range before accessing it

In seq_client_rpc, it should swab lu_seq_range after getting
it from the reply.

Signed-off-by: Di Wang <di.wang@intel.com>
Change-Id: I8a2118e1895d2c89430961997dbad4a3f20a6762
Reviewed-on: http://review.whamcloud.com/2655
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>