Whamcloud - gitweb
LU-17668 ptlrpc: create env in few more threads 42/54642/32
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 1 Apr 2024 11:37:32 +0000 (14:37 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 2 Jan 2025 20:46:38 +0000 (20:46 +0000)
commitd891becebb5d079a8fd26f7f89319c8b61ce5d7a
treed524cc6ace3c7bd84081f44badf45553ad69060b
parentaae909cf8fbc5ef3090c5385793370fa71360f42
LU-17668 ptlrpc: create env in few more threads

like evict thread, pinger, mount process.  This avoids cases
where there is no lu_env found for a thread:

  mdt_dom_lvbo_update()) ASSERTION( env ) failed

yet another case is when MDT destroys exports - we don't need to
re-allocate a new env (including thread infos for every layer) for
each export being destroyed.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Iff7b757ad34063a3596a34998489cc3c635a02d2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54642
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lockd.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/genops.c
lustre/obdclass/llog.c
lustre/obdclass/llog_internal.h
lustre/osp/osp_sync.c
lustre/ptlrpc/pinger.c
lustre/target/tgt_mount.c