Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-15583 client: introduce whitelist mode into libpil4dfs (#14812)
Since daos_init() is expensive to call, it could be beneficial to bypass interception and forward IO requests to dfuse in short-lived applications. Whitelist mode is enabled as default. Users can set env "D_IL_BYPASS_LIST" to disable interception in individual applications, export D_IL_BYPASS_LIST="app_a:app_b:app_c:app_d" Consequently, IO requests are handled by dfuse. User supplied list is appended to a built-in list. Whitelist mode could be disabled by set env "D_IL_NO_BYPASS" 1. Interception is forced on in current process and all children processes. This env is only for testing. Important libpil4dfs env variables are always inherited in children processes now and env variable "D_IL_ENFORCE_EXEC_ENV" is not used anymore. Signed-off-by: Lei Huang <lei.huang@intel.com>
- Loading branch information