Whamcloud - gitweb
LU-15487 mdd: print FID in mdd_dir_page_build() error 68/46368/4
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 26 Jan 2022 23:33:27 +0000 (16:33 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 May 2022 19:04:08 +0000 (19:04 +0000)
commit8bd1104a7b8ad0300e667f025aab17c0f93502f0
tree2d6ad767b58a9c1243309ea3387b2c04d3106563
parent1dfae156d1dbc11cfb77b2d35cbffb2da7f28137
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.

Minor code style and whitespace cleanups in related functions.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ic475f4a2c775871ff5af59a47e0966ba3eed7013
Reviewed-on: https://review.whamcloud.com/46368
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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