+123
−43
Loading
In order to enhance the operational aspect, it is more convenient to expose the underlying errors instead of generic EIO. This improvement enables quick detection of issues such as out-of-space errors or incorrect permissions. Additionally, this patch addresses error codes from `daos_xxx()` and `dfs_xxx()` API calls. The latter always returns positive `errno`, while the former returns a subset of `DER_XXX` that requires conversion to the POSIX equivalent. Signed-off-by:Denis Barakhtanov <denis.barahtanov@croit.io> Change-Id: I3f3302c2e1b591448bf5e96f4daf3af5dd8847f1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18457 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>