[LU-15543] Support for kernel 5.14.21 Created: 10/Feb/22  Updated: 18/Sep/23  Resolved: 18/Sep/23

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Updates for Linux 5.14.21

Linux v5.14-rc2-19-g188c299e2a26
ext4: Support for checksumming from journal triggers

ext4_journal_get_write_access() now has 4 arguments, provide
a compat wrapper for older kernels.

Linux: v5.11-rc5-9-g309dca309fc3
block: store a block_device pointer in struct bio
created bio_set_dev macro
Linux: v5.15-rc6-127-gcf6d6238cdd3
block: turn macro helpers into inline functions
created inline function(s).

Provide a bio_set_dev implementation if one is not provided
by the kernel.

Linux v5.12-rc1-20-ga8affc03a9b3
block: rename BIO_MAX_PAGES to BIO_MAX_VECS

Provide a fallback for older kernels when BIO_MAX_VECS is
not defined

v5.13-rc6-67-g2f064a59a11f
sched: Change task_struct::state
v5.13-rc6-64-gd6c23bb3a2ad
sched: Add get_current_state()

Provide a get_current_state() replacement for older kernels
where it is not available.

EXT4_DIR_REC_LEN and EXT4_DIR_ENTRY_LEN requires inode parent dir's
inode.

ext4fs_dirhash requires inode parent dir's inode, use a wrapper
for older kernels.

Updated patch series for Linux 5.14.21 based on 5.10

Patches dropped due to upstream ext4 landings:
linux-5.9/ext4-simple-blockalloc.patch
rhel8.3/ext4-xattr-disable-credits-check.patch
base/ext4-projid-xattrs.patch
linux-5.8/ext4-enc-flag.patch



 Comments   
Comment by Gerrit Updater [ 11/Feb/22 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46503
Subject: LU-15543 ldiskfs: Linux kernel 5.14.21 server support
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: dff1e70cd4a4a86181b649c09e01825a2d0f2359

Comment by Gerrit Updater [ 10/Nov/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49112
Subject: LU-15543 ldiskfs: rename BIO_MAX_PAGES to BIO_MAX_VECS
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 3876857afd5d64f8bc52f6dab0976dca3310bb40

Comment by Shaun Tancheff [ 18/Sep/23 ]

All changes have migrated to new tickets and fixes have landed

Generated at Sat Feb 10 03:19:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.