Whamcloud - gitweb
LU-18687 compat: move wait/wait_bit to lustre_compat 12/59812/4
authorTimothy Day <timday@amazon.com>
Mon, 16 Jun 2025 16:33:45 +0000 (16:33 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jul 2025 03:56:02 +0000 (03:56 +0000)
commita8b207bf39c0f2b298b57272162d0352e84a3912
tree4e3b885e0e5b4612c381cdc1a06f2ef40a6e5f37
parent0922d5907365c3e999a8b2c9f236f59c3b75e8a8
LU-18687 compat: move wait/wait_bit to lustre_compat

Migrate the backported waiting code to
lustre_compat.

Eventually, all of the Lustre/LNet compatability code
will live in lustre_compat - maintaining a clear
separation from the functional code in Lustre and LNet.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I9ffaabf7d4665abb002f11599f993e776e7a38b6
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59812
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
include/lustre_compat/linux/wait.h [moved from libcfs/include/libcfs/linux/linux-wait.h with 79% similarity]
include/lustre_compat/linux/wait_bit.h [new file with mode: 0644]
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/linux/Makefile.am
libcfs/libcfs/Makefile.in
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-prim.c
lustre_compat/kernel/sched/Makefile [new file with mode: 0644]
lustre_compat/kernel/sched/wait.c [moved from libcfs/libcfs/linux/linux-wait.c with 67% similarity]
lustre_compat/kernel/sched/wait_bit.c [new file with mode: 0644]