[LU-12355] Support for linux kernel version 5.0 Created: 29/May/19 Updated: 08/Jun/21 Resolved: 10/Feb/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Shaun Tancheff | Assignee: | Shaun Tancheff |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 19.04 |
||
| Issue Links: |
|
||||||||||||||||
| Epic/Theme: | build | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Several API changes from 4.18 to 5.0
Trivial ib_device_ops function int ib_fmr_pool_unmap() -> void ib_fmr_pool_unmap() DECLARE_PCI_UNMAP_ADDR() dropped 4.16: kernel_sock_ioctl() helper function dropped Fix up inode_has_no_xattr() now that MS_* and SB_* flags have split.
4.18: kernel inode i_mtime, i_atime, i_ctime are timespec64 4.19: kernel ext4_iget() now takes a flags argument 4.20: iov_iter_type is defined breaking a macro only used by lustre Provide accessor wrapper for: kernel 5.0 commit ca79b0c211af63fa3276f0e3fd7dd9ada2439839 kernel 4.19 vfs 'atomic_open' changed signature. Use FMODE_CREATED flag instead of '*opened' argument. kernel 5.1 commit 3d252529480c68bfd6a6774652df7c8968b28e41 (commit 3d252529480 included in ubuntu 5.0 kernel) Provide .m4 macros and wrappers as needed. (Mostly trivial changes on top of changes for RHEL8).
|
| Comments |
| Comment by James A Simmons [ 31/May/19 ] |
|
Note I have a Ubuntu 18.10 system at home which I do build test on. It is a 5.0 kernel. The changes needed for client support are: totalram_pages -> totalram_pages() ib_fmr_pool_unmap() is a void return. ibh_ibdev->alloc_fmr => ibh_ibdev->ops.alloc_fmr inode_has_no_xattr() in lustre_compat.h is wrong. I think this is due to MS_NOSEC being renamed. MS_* flags renamed to SB_FLAGS sb->s_flags is now accessed by sb_***(sb) macros No more iov_for_each() selinux_is_enabled() is gone Various GSS changes
|
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35014 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35016 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35017 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35019 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35020 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35023 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35024 |
| Comment by Gerrit Updater [ 31/May/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35025 |
| Comment by Gerrit Updater [ 02/Jun/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35035 |
| Comment by Gerrit Updater [ 03/Jun/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35040 |
| Comment by Gerrit Updater [ 03/Jun/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35050 |
| Comment by Gerrit Updater [ 03/Jun/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35051 |
| Comment by Gerrit Updater [ 13/Jun/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35223 |
| Comment by Gerrit Updater [ 16/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35016/ |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35050/ |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35023/ |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35020/ |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35017/ |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35040/ |
| Comment by Gerrit Updater [ 12/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35025/ |
| Comment by Gerrit Updater [ 14/Jul/19 ] |
|
Shaun Tancheff (stancheff@cray.com) uploaded a new patch: https://review.whamcloud.com/35496 |
| Comment by Gerrit Updater [ 24/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35019/ |
| Comment by Gerrit Updater [ 02/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35496/ |
| Comment by Gerrit Updater [ 09/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35024/ |
| Comment by Gerrit Updater [ 09/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35035/ |
| Comment by Gerrit Updater [ 30/Sep/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36328 |
| Comment by Gerrit Updater [ 30/Sep/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36329 |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36328/ |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36329/ |
| Comment by Gerrit Updater [ 09/Oct/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36415 |
| Comment by Gerrit Updater [ 21/Nov/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36415/ |
| Comment by Gerrit Updater [ 06/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35051/ |
| Comment by Peter Jones [ 06/Dec/19 ] |
|
Everything open has landed - is there anything more still to come under this ticket or can we mark it as resolved? |
| Comment by James A Simmons [ 10/Feb/20 ] |
|
Everything has landed so this can be closed. |
| Comment by Gerrit Updater [ 04/May/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38479 |
| Comment by Gerrit Updater [ 04/May/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38480 |
| Comment by Gerrit Updater [ 27/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38479/ |
| Comment by Gerrit Updater [ 27/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38480/ |
| Comment by Gerrit Updater [ 23/Oct/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40376 |
| Comment by Gerrit Updater [ 23/Oct/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40379 |
| Comment by Gerrit Updater [ 08/Jun/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40376/ |
| Comment by Gerrit Updater [ 08/Jun/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40379/ |