[LU-12400] Support for linux kernel version 5.2 Created: 06/Jun/19  Updated: 22/Feb/21  Resolved: 10/Feb/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Improvement Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: LTS12

Issue Links:
Related
is related to LU-14463 stack traces not being printed to con... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Support for building lustre / ldiskfs with current upstream kernels

Added iov_iter_type needed to iterate over iovec
vm_fault_t used for (some) vm_operations_struct handlers
SunRPC cache hash lock is now a spinlock_t, readers are now all RCU

ldiskfs:
__ext4_find_entry became a helper function for ext4_find_entry
[breaking a few ldiskfs patches]

Multi-page bvec has landed, use bvec_iter_all

extfs_dirhash now requires a directory (for case-insensitive directories).

ib_sg_dma_address() and ib_sg_dma_len() are removed

With CONFIG_ARCH_STACKWALK stack_trace_save_tsk() is not exported.

y2038: SO_SNDTIMEO, SO_RCVTIMEO removed

legacy 'get_ds()' function is removed

Use the new vm_fault_t type (optional)

 



 Comments   
Comment by Gerrit Updater [ 15/Jun/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35237
Subject: LU-12400 lnet: SO_SNDTIMEO, SO_RCVTIMEO removed
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 06843d4a40355242cce9fc39604a9666147f0a2f

Comment by Gerrit Updater [ 15/Jun/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35238
Subject: LU-12400 osd-ldiskfs: get rid of legacy 'get_ds()' function
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 94f836548fdd139e3423bcbdca2e9459232299d0

Comment by Gerrit Updater [ 15/Jun/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35239
Subject: LU-12400 libcfs: save_stack_trace_tsk if ARCH_STACKWALK
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 58bad705f487baeb4f6372ced8997f95cd864035

Comment by James A Simmons [ 12/Jul/19 ]

Since we need to do really advance profiling of the ZFS issues we got the latest master running on Neil's 5.2.0-rc2+ branch with ZFS 0.8.1 as the back end. It came up and we can run actual test with it. Time for eBFP to debug some ZFS + Lustre issues.

Comment by Gerrit Updater [ 12/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35238/
Subject: LU-12400 osd-ldiskfs: get rid of legacy 'get_ds()' function
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 15f6148bea2baea8e199707645f968a7ddc50cc7

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35497
Subject: LU-12400 lnet: Infiniband sg_dma changes for linux 5.1
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9c97909c70d9ce02b5aab010e04f3d88cac38e64

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35498
Subject: LU-12400 osd-ldiskfs: support multi-page bvec
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 53717edb76601e0758d070bc69a9696736dde307

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35499
Subject: LU-12400 ptlrpc: Sun RPC changes for RCU locking
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 64623613b388a9bdeb53a11206e828bc05ca54b8

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35500
Subject: LU-12400 llite: Use the new vm_fault_t type
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 966d1c67224ffdf1424a5d976f343bb755dc6fb2

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35501
Subject: LU-12400 ldiskfs: Initial support for 5.2.0-mainline
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 55a5065b94ea97425051262bb89654dbd8e765c4

Comment by Gerrit Updater [ 14/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35502
Subject: LU-12400 ldiskfs: Case insensitive dirhash ext4fs_dirhash
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c7e09ba14073c3f086f45ee84fffed0b5b6ff0b8

Comment by Gerrit Updater [ 15/Jul/19 ]

Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35518
Subject: LU-12400 zfs: zfs mainline 0.8+ with mainline (5.2) kernel
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 407e668a71c1cb09f27f099d0c39c0112dff8398

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35237/
Subject: LU-12400 lnet: SO_SNDTIMEO, SO_RCVTIMEO removed
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a9be63cbb4764b0ad55a749ecb0222318778b233

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35239/
Subject: LU-12400 libcfs: save_stack_trace_tsk if ARCH_STACKWALK
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b49ce7aea81e22d7fa2af15744456a7dd751b973

Comment by Gerrit Updater [ 27/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35497/
Subject: LU-12400 lnet: Infiniband sg_dma changes for linux 5.1
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bbc2cf593b83f5f1822889ef5c910906aadbe735

Comment by Gerrit Updater [ 27/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35500/
Subject: LU-12400 llite: Use the new vm_fault_t type
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f2b224a48cb00f885b9df2cc56e349dae5f27f9e

Comment by Gerrit Updater [ 27/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35498/
Subject: LU-12400 osd-ldiskfs: support multi-page bvec
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fdd231b394699ae0fa53b387b3ab436c9e201b91

Comment by Gerrit Updater [ 16/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35499/
Subject: LU-12400 ptlrpc: Sun RPC changes for RCU locking
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 77d53777e32c80047cb75293d5f9a4c0d23bbea8

Comment by Gerrit Updater [ 30/Sep/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36330
Subject: LU-12400 lnet: Infiniband sg_dma changes for linux 5.1
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: afdce910749679a6d11f2d9c3aad13a5dae1d51f

Comment by Gerrit Updater [ 04/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35518/
Subject: LU-12400 zfs: zfs mainline 0.8+ with mainline (5.2) kernel
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 424f3d1ac0ce065b77058afb093f791275ecf999

Comment by Gerrit Updater [ 04/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36330/
Subject: LU-12400 lnet: Infiniband sg_dma changes for linux 5.1
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 7dd298fc7717143af5f30c44059fb678307a67a1

Comment by Joseph Gmitter (Inactive) [ 25/Nov/19 ]

Are there more patches coming?

Comment by Shaun Tancheff [ 25/Nov/19 ]

Everything is landed for master. ldiskfs changes were deferred/migrated to 5.4 as that is flagged as a longterm:

https://www.kernel.org/category/releases.html

 

Comment by Gerrit Updater [ 04/May/20 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38478
Subject: LU-12400 llite: Use the new vm_fault_t type
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: c09592fc8d80f5d3e7ce066c5569be9c3c02ed9e

Comment by Gerrit Updater [ 04/May/20 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38483
Subject: LU-12400 ptlrpc: Sun RPC changes for RCU locking
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: ddc396f141ea47023763e241eef8e3fc5931b345

Comment by Gerrit Updater [ 27/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38478/
Subject: LU-12400 llite: Use the new vm_fault_t type
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: a206d1ef12806cebc6c8d0aa010aa915114e8213

Comment by Gerrit Updater [ 27/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38483/
Subject: LU-12400 ptlrpc: Sun RPC changes for RCU locking
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: c3e1f86f3a50cfa3762b63fb0f058af5036238ad

Comment by Gerrit Updater [ 23/Oct/20 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40377
Subject: LU-12400 osd-ldiskfs: get rid of legacy 'get_ds()' function
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: fa5f2d7c374dfed6b4ea2ba27c4cada0f64326a1

Comment by Gerrit Updater [ 23/Oct/20 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40378
Subject: LU-12400 libcfs: save_stack_trace_tsk if ARCH_STACKWALK
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 05bf1e902469a6b9ac4407573991890c9cb25fd6

Generated at Sat Feb 10 02:52:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.