Whamcloud - gitweb
LU-18162 obdclass: init LU device after alloc 84/58784/5
authorTimothy Day <timday@amazon.com>
Mon, 14 Apr 2025 19:03:18 +0000 (19:03 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:20:39 +0000 (02:20 +0000)
commit973b5f1fed3d69b29ef5dcaa4fc283b07e85d13d
tree154086893132028b939d398485397e700a624a61
parent8ec47c389dfdaf323d4ab558432cf3c0d10b00aa
LU-18162 obdclass: init LU device after alloc

During obd_setup, ldto_device_alloc will be called if it
is defined. Initialize each lu device after it is allocated.
This isn't currently used by any existing LU device. This is
intended for future LU device conversions.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I859e467971db4335ae98fbc57643be8e1a261694
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58784
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd_class.h