Whamcloud - gitweb
LU-13690 mdd: remove warnings in obd_lookup() 71/38971/2
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 17 Jun 2020 21:07:58 +0000 (16:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jun 2020 08:12:45 +0000 (08:12 +0000)
commit5eabb3dadcad5d86ff41417a9ae186b62b6c4d76
treea0b1dbce29ed6be99d8bd1657c7c0bff7560ed80
parent23a6e1ed8eec2c07653ed07c35bb109ecb87a5b7
LU-13690 mdd: remove warnings in obd_lookup()

In obf_lookup() remove CWARN()s about invalid FID formats. Return
-ENOENT instead of -EINVAL for invalid FIDs. This removes noisy
console messages around volatile file handling in .lustre/fid/.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ia76f0da38baa86b8d1173cfe0ede52e275f68a28
Reviewed-on: https://review.whamcloud.com/38971
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdd/mdd_device.c