Whamcloud - gitweb
LU-12895 mdt: check if object exists first 29/36629/5
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 31 Oct 2019 11:33:45 +0000 (20:33 +0900)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:12:33 +0000 (01:12 +0000)
commitca68e3d677a371497586167a2318268db1d94cab
tree29423d9d3cf4ce2f1a736a814a3fa05b55c09b9d
parentcedc7f361a6e7c9770bc22b60dafff0d365f073c
LU-12895 mdt: check if object exists first

Make sure object exists before trying to get its attr.

Test-Parameters: clientselinux mdtcount=4 envdefinitions=ONLY=185a testlist=sanity,sanity,sanity,sanity
Test-Parameters: clientselinux mdtcount=4 testlist=sanity,recovery-small,sanity-sec
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Idb2cd5d6e3fdf7998040b933be54a001a0e5391b
Reviewed-on: https://review.whamcloud.com/36629
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/tests/sanity.sh