[LU-15220] Linux kernel 5.14 support Created: 12/Nov/21 Updated: 14/Jul/22 Resolved: 26/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
Main changes needed to support Linux kernel 5.14 include:
|
| Comments |
| Comment by Gerrit Updater [ 14/Nov/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45566 |
| Comment by Gerrit Updater [ 07/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45777 |
| Comment by Gerrit Updater [ 09/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45812 |
| Comment by Gerrit Updater [ 09/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45814 |
| Comment by Gerrit Updater [ 09/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45815 |
| Comment by Jian Yu [ 09/Dec/21 ] |
|
Two more patches left. |
| Comment by Jian Yu [ 22/Dec/21 ] |
|
Hi Patrick, |
| Comment by Gerrit Updater [ 23/Dec/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45815/ |
| Comment by Patrick Farrell [ 23/Dec/21 ] |
|
Jian, Oof, this is actually pretty complicated. I see Neil changed the code here with https://review.whamcloud.com/#/c/40827/ . That basically makes this function pointless in these kernels - the entire point is to avoid taking the xarray lock for each page... Hmm. OK, here is my suggested solution for compatibility, since we have already lost the desired xarray lock behavior. I will look at restoring that, but in the meantime: For kernels which do not have account_page_dirtied, which should also include kernels which do not have __set_page_dirty, the right thing to do is replace all of the code in vvp_set_pagevec_dirty with a loop calling __set_page_dirty_nobuffers on the pages in the pagevec. |
| Comment by Gerrit Updater [ 23/Dec/21 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45927 |
| Comment by Patrick Farrell [ 23/Dec/21 ] |
|
Jian, Can you take that patch and test it on the newer kernels? I don't have the right environments available. Thanks! |
| Comment by Jian Yu [ 23/Dec/21 ] |
|
Sure, Patrick. Thank you. |
| Comment by Gerrit Updater [ 11/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45814/ |
| Comment by Shuichi Ihara [ 17/Jan/22 ] |
|
yujian does head of https://review.whamcloud.com/#/c/45566/ contain all considerations of linux-5.14? |
| Comment by Jian Yu [ 17/Jan/22 ] |
|
Hi Ihara, |
| Comment by Gerrit Updater [ 20/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45927/ |
| Comment by Gerrit Updater [ 20/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45812/ |
| Comment by Gerrit Updater [ 21/Jan/22 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46269 |
| Comment by Gerrit Updater [ 21/Jan/22 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46270 |
| Comment by Gerrit Updater [ 26/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45777/ |
| Comment by Gerrit Updater [ 26/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45566/ |
| Comment by Gerrit Updater [ 26/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46269/ |
| Comment by Gerrit Updater [ 26/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46270/ |
| Comment by Peter Jones [ 26/Jan/22 ] |
|
Landed for 2.15 |