Whamcloud - gitweb
LU-15487 mdd: print FID in mdd_dir_page_build() error
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 26 Jan 2022 23:33:27 +0000 (16:33 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Mar 2022 17:10:40 +0000 (17:10 +0000)
commit7c8d2bc433a8cb6b8ceed4d8d84167de19cbd392
tree1d211f89b2e2edb8e0fc969b30573850fd8df7c7
parentddcac417f89da7f03e989954afdf9fc32d69a25a
LU-15487 mdd: print FID in mdd_dir_page_build() error

Print the MDT name and FID in mdd_dir_page_build() when an error
is hit.  Because this changes the callback function signature,
also update dt_index_page_build() to print a more useful message.

Add OBD_FAIL_MDS_DIR_PAGE_WALK to allow triggering this codepath
to see if this is the source of problems in error handling.

Lustre-change: https://review.whamcloud.com/46368
Lustre-commit: TBD

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ic475f4a2c775871ff5af59a47e0966ba3eed7013
Reviewed-on: https://review.whamcloud.com/46335
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46370
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
lustre/include/dt_object.h
lustre/include/obd_support.h
lustre/mdd/mdd_object.c
lustre/obdclass/dt_object.c
lustre/ptlrpc/nodemap_storage.c