[LU-14195] Support for linux kernel version 5.10 Created: 08/Dec/20  Updated: 21/Jan/24

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

Type: Improvement Priority: Minor
Reporter: Neil Brown Assignee: Neil Brown
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15726 Introduce / use min journal credit fo... Closed
is related to LU-12511 Prepare lustre for adoption into the ... Open
is related to LU-15635 ext4_(inc|dec)_count removed handle_t... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Changes needed to support Linux 5.10 include:

  • kzfree() is gone - renamed to kfree_sensitive()
  • KERNEL_DS and set_fs()/get_fs() not available and not needed.
  • ext4_handle_has_enough_credits() gone, use jbd2_handle_buffer_credits()
  • EXT4_GET_BLOCKS_KEEP_SIZE and EXT4_INODE_EOFBLOCKS gone
  • ldiskfs patches need refresh
  • commit 6212804f2d78 causes module building to fail (again).


 Comments   
Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40907
Subject: LU-14195 build: Adjust Makefile for Linux build changes.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 929d6c63d10b0336d632d1aff4d88344aa057723

Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40908
Subject: LU-14195 libcfs: switch to kfree_sensitive
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 66ec483e0a70160af4f4a79f301d79b071f9f5c8

Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40909
Subject: LU-14195 osd: don't use set_fs() for ->fiemap() calls.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f1cc278df6c1047da9ce37a3ec76587568c723e8

Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40910
Subject: LU-14195 lustre: remove 'fs' from 'struct lvfs_run_ctxt'
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 956152421be4160a32996ed4ee766ab56a4c1aba

Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40912
Subject: LU-14195 ldiskfs: update osd-ldiskfs for Linux 5.10
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fa5c89df1327813f8a41d22c9d8edc8874ad805e

Comment by Gerrit Updater [ 09/Dec/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/40913
Subject: LU-14195 ldiskfs: update patches for Linux 5.10
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6ffb70533291ee82e17e1151f696b6a15e1d0d9c

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40907/
Subject: LU-14195 build: Adjust Makefile for Linux build changes.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9b9e19ca50491f2b74a9bb99f63591147b91bdd5

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40909/
Subject: LU-14195 osd: don't use set_fs() for ->fiemap() calls.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d0337cab8e845efcdbfb9e26e573feb18f28e303

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40910/
Subject: LU-14195 lustre: remove 'fs' from 'struct lvfs_run_ctxt'
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: de60e7767c0e3ba38f4de37e46328012780b6d19

Comment by Gerrit Updater [ 06/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40908/
Subject: LU-14195 libcfs: switch to kfree_sensitive
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 67d17dd590f913643f5adc8aced369221faccf05

Comment by Gerrit Updater [ 06/May/21 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/43559
Subject: LU-14195 lnet: improve compat code for IPV6_V6ONLY sock opt
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4912a3fba32efebaf9a4352ab1ee05d670294ea5

Comment by Gerrit Updater [ 19/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43559/
Subject: LU-14195 lnet: improve compat code for IPV6_V6ONLY sock opt
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6d111ff0dde182bfbdf0a7ab10df812ab43e2ddd

Comment by Gerrit Updater [ 07/Jul/21 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44165
Subject: LU-14195 llite: add force_uaccess_

{begin,end}

helpers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 597a8a1e0c4c09b86b7d4e860cdcd6a3fedcb6dc

Comment by Gerrit Updater [ 13/Oct/21 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45219
Subject: LU-14195 obdclass: change list_sort to use const pointers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 01ef4ea77d6798bfb7d9c94b3a4dc809838c07b0

Comment by Gerrit Updater [ 27/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45219/
Subject: LU-14195 obdclass: change list_sort to use const pointers
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e612dcbbdd208ff0919a8c108448bbfa846e8ee6

Comment by Gerrit Updater [ 06/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/40913/
Subject: LU-14195 ldiskfs: update patches for Linux 5.10
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c93a3e5b15b72afc1eeb3f7754c15e078d098769

Comment by Gerrit Updater [ 21/Mar/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46876
Subject: LU-14195 libcfs: test for nla_strscpy
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3e60d727b2315f4ecbe06bc8156430032e921a2b

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46876/
Subject: LU-14195 libcfs: test for nla_strscpy
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b762319d5ad0884adfb2f79c956a798fba665566

Comment by James A Simmons [ 11/Jun/22 ]

Need to finish off ldiskfs support at this kernel leve.

Comment by Gerrit Updater [ 23/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47705
Subject: LU-14195 libcfs: test for nla_strscpy
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 16f0dcef85b2a56652489c8866562927d88ecde2

Comment by Gerrit Updater [ 05/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47705/
Subject: LU-14195 libcfs: test for nla_strscpy
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 59994aba261d2540e97c3463dc2a7f87c95d0a16

Comment by Shaun Tancheff [ 21/Jan/24 ]

If anyone has a 5.10 kernel handy it believe the ldiskfs support works now ... so I think this can be closed.

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