[LU-13839] support for RHEL 8.3 Created: 31/Jul/20 Updated: 28/Jan/21 Resolved: 09/Dec/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0, Lustre 2.12.6 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | llnl | ||
| Issue Links: |
|
||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
Red Hat Enterprise Linux 8.3 Beta, Now Available: |
| Comments |
| Comment by Jian Yu [ 04/Nov/20 ] |
|
Kernel version: 4.18.0-240.1.1.el8_3 |
| Comment by Olaf Faaland [ 04/Nov/20 ] |
|
RHEL 8.3 was released |
| Comment by Gerrit Updater [ 04/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40536 |
| Comment by Jian Yu [ 05/Nov/20 ] |
|
Build is blocked by |
| Comment by Gerrit Updater [ 06/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40558 |
| Comment by Jian Yu [ 07/Nov/20 ] |
|
Patches https://review.whamcloud.com/40554 and https://review.whamcloud.com/40536 for master branch are ready. |
| Comment by Jian Yu [ 07/Nov/20 ] |
|
Red Hat has been made aware of an issue on systems upgrading to RHEL 8.3 with fapolicyd and fips. Reference this solution prior to upgrading to RHEL 8.3: Workaround: |
| Comment by Jian Yu [ 12/Nov/20 ] |
|
https://access.redhat.com/solutions/5542661 has the solution for the above issue. |
| Comment by Gerrit Updater [ 13/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40558/ |
| Comment by Gerrit Updater [ 13/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40536/ |
| Comment by Gerrit Updater [ 21/Nov/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40729 |
| Comment by Jian Yu [ 30/Nov/20 ] |
|
RHEL 8.3 server build failed with the following errors: CC [M] /root/root/lustre-release/ldiskfs/dir.o
In file included from include/linux/rh_kabi.h:30,
from include/linux/fs.h:5,
from /root/root/lustre-release/ldiskfs/dir.c:25:
/root/root/lustre-release/ldiskfs/dir.c: In function ‘__ldiskfs_check_dir_entry’:
/root/root/lustre-release/ldiskfs/ldiskfs.h:2099:61: error: invalid type argument of ‘->’ (have ‘int’)
#define LDISKFS_DIR_REC_LEN(de) (__LDISKFS_DIR_REC_LEN((de)->name_len +\
^~
include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/root/root/lustre-release/ldiskfs/ldiskfs.h:2099:35: note: in expansion of macro ‘__LDISKFS_DIR_REC_LEN’
#define LDISKFS_DIR_REC_LEN(de) (__LDISKFS_DIR_REC_LEN((de)->name_len +\
^~~~~~~~~~~~~~~~~~~~~
/root/root/lustre-release/ldiskfs/dir.c:81:41: note: in expansion of macro ‘LDISKFS_DIR_REC_LEN’
else if (unlikely(next_offset > size - LDISKFS_DIR_REC_LEN(1) &&
^~~~~~~~~~~~~~~~~~~
/root/root/lustre-release/ldiskfs/dir.c:81:61: error: passing argument 1 of ‘ldiskfs_get_dirent_data_len’ makes pointer from integer without a cast [-Werror=int-conversion]
else if (unlikely(next_offset > size - LDISKFS_DIR_REC_LEN(1) &&
^
include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/root/root/lustre-release/ldiskfs/ldiskfs.h:2099:35: note: in expansion of macro ‘__LDISKFS_DIR_REC_LEN’
#define LDISKFS_DIR_REC_LEN(de) (__LDISKFS_DIR_REC_LEN((de)->name_len +\
^~~~~~~~~~~~~~~~~~~~~
/root/root/lustre-release/ldiskfs/dir.c:81:41: note: in expansion of macro ‘LDISKFS_DIR_REC_LEN’
else if (unlikely(next_offset > size - LDISKFS_DIR_REC_LEN(1) &&
^~~~~~~~~~~~~~~~~~~
In file included from /root/root/lustre-release/ldiskfs/dir.c:29:
/root/root/lustre-release/ldiskfs/ldiskfs.h:3531:75: note: expected ‘struct ldiskfs_dir_entry_2 *’ but argument is of type ‘int’
static inline int ldiskfs_get_dirent_data_len(struct ldiskfs_dir_entry_2 *de)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:315: /root/root/lustre-release/ldiskfs/dir.o] Error 1
make[5]: *** Waiting for unfinished jobs....
/root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c: In function ‘osd_extend_restart_trans’:
/root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c:1978:6: error: implicit declaration of function ‘ldiskfs_handle_has_enough_credits’; did you mean ‘ldiskfs_datasem_ensure_credits’? [-Werror=implicit-function-declaration]
if (ldiskfs_handle_has_enough_credits(handle, needed))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ldiskfs_datasem_ensure_credits
/root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c:1981:7: error: too few arguments to function ‘ldiskfs_journal_extend’
rc = ldiskfs_journal_extend(handle, needed - handle->h_buffer_credits);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/root/lustre-release/lustre/osd-ldiskfs/osd_internal.h:54,
from /root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c:56:
/root/root/lustre-release/ldiskfs/ldiskfs_jbd2.h:349:19: note: declared here
static inline int ldiskfs_journal_extend(handle_t *handle, int nblocks, int revoke)
^~~~~~~~~~~~~~~~~~~~~~
/root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c:1985:7: error: too few arguments to function ‘ldiskfs_journal_restart’
rc = ldiskfs_journal_restart(handle, needed);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/root/lustre-release/lustre/osd-ldiskfs/osd_internal.h:54,
from /root/root/lustre-release/lustre/osd-ldiskfs/osd_io.c:56:
/root/root/lustre-release/ldiskfs/ldiskfs_jbd2.h:356:19: note: declared here
static inline int ldiskfs_journal_restart(handle_t *handle, int nblocks,
^~~~~~~~~~~~~~~~~~~~~~~
CC [M] /root/root/lustre-release/lustre/osp/osp_sync.o
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:315: /root/root/lustre-release/lustre/osd-ldiskfs/osd_io.o] Error 1
make[6]: *** Waiting for unfinished jobs....
|
| Comment by Jian Yu [ 30/Nov/20 ] |
|
The LDISKFS_DIR_REC_LEN issue was resolved in linux-5.4/ext4-data-in-dirent.patch. |
| Comment by Jian Yu [ 30/Nov/20 ] |
|
In RHEL 8.3 kernel 4.18.0-240.1.1.el8_3:
All of the above conflicts are included in osd_extend_restart_trans(), which can be implemented with ext4_journal_ensure_credits() in the new kernel. The server support patch has been updated. |
| Comment by Gerrit Updater [ 07/Dec/20 ] |
|
James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40884 |
| Comment by Gerrit Updater [ 09/Dec/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40729/ |
| Comment by Peter Jones [ 09/Dec/20 ] |
|
Server and client support on 2.14 and client support on 2.12.6 |
| Comment by Andreas Dilger [ 11/Dec/20 ] |
|
Mr NeilBrown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40939 |
| Comment by Gerrit Updater [ 17/Dec/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40939/ |
| Comment by Gerrit Updater [ 28/Jan/21 ] |
|
James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41344 |