Whamcloud - gitweb
LU-14047 lustre: change EWOULDBLOCK to EAGAIN
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 14 Feb 2024 08:39:27 +0000 (00:39 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 3 Mar 2024 10:16:19 +0000 (10:16 +0000)
commit8909e5a09428da7e72609501dbd33cb4dd534528
tree34062cac08c5c8eceedc14ede025002da90d488a
parent26bbeb450c9e1c8cf4260e2c868027970cd707a8
LU-14047 lustre: change EWOULDBLOCK to EAGAIN

On linux, EWOULDBLOCK has always been defined as an alias for
EAGAIN. In the interest of readability we should not use two names for
the same thing. So change the remaining uses of EWOULDBLOCK to EAGAIN
and add EWOULDBLOCK||EAGAIN to spelling.txt.

Lustre-change: https://review.whamcloud.com/40307
Lustre-commit: a7f48e6c15e28617793d89958c79e9ed8cb73e65

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ib48b8a1e58bfa961d2a4ba411c038c476bfc300d
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54030
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
16 files changed:
lustre/doc/llapi_hsm_copytool_register.3
lustre/fld/fld_request.c
lustre/include/cl_object.h
lustre/ldlm/ldlm_extent.c
lustre/llite/glimpse.c
lustre/llite/vvp_page.c
lustre/obdclass/cl_io.c
lustre/osc/osc_io.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/osp/osp_precreate.c
lustre/ptlrpc/client.c
lustre/ptlrpc/errno.c
lustre/ptlrpc/sec.c
lustre/tests/llapi_hsm_test.c
lustre/tests/mpi/parallel_grouplock.c