Whamcloud - gitweb
LU-18554 llite: improve *_env_thread_* names 27/57427/4
authorPatrick Farrell <paf0187@gmail.com>
Fri, 13 Dec 2024 18:17:47 +0000 (13:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Jan 2025 18:43:17 +0000 (18:43 +0000)
commita1a6e9f43b60baf422dbe3faa65cecd71d4eba4d
treeea144a3bb767d16b689001d994df2c2cfca65cc0
parent4a7db8f29b7f3e9962b5260b3bd51a4f3685dcbb
LU-18554 llite: improve *_env_thread_* names

There are a number of {vvp, osc}_env_thread_{struct}
helpers, all of which clear the struct (memset( 0 ))
before returning the pointer.

These names are confusing, improve them so I can stop
making the mistake of assuming they just help get the struct
from the env.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I0bdd8857d8ff076aac0872f8355317f800bfcaa5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57427
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/llite/file.c
lustre/llite/glimpse.c
lustre/llite/lcommon_cl.c
lustre/llite/lcommon_misc.c
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c
lustre/llite/rw.c
lustre/llite/rw26.c
lustre/llite/vvp_internal.h
lustre/llite/vvp_io.c
lustre/osc/osc_cache.c
lustre/osc/osc_internal.h
lustre/osc/osc_lock.c
lustre/osc/osc_page.c