Whamcloud - gitweb
LU-12895 mdt: check if object exists first 32/37032/3
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 31 Oct 2019 11:33:45 +0000 (20:33 +0900)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Jan 2020 23:44:07 +0000 (23:44 +0000)
commite3d4d6b91434c72e39196ec795abe3fb8631100a
treefa7f3cc65db842422bbff5c6aac06b54c05a4d06
parentf9340d5eb4c8e74909a1aec206844dc4d0f30ec1
LU-12895 mdt: check if object exists first

Make sure object exists before trying to get its attr.

Lustre-change: https://review.whamcloud.com/36629
Lustre-commit: ca68e3d677a371497586167a2318268db1d94cab

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/37032
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdt/mdt_handler.c