[LU-8056] Support for linux 4.5 kernels Created: 22/Apr/16 Updated: 06/Mar/17 Resolved: 22/Aug/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | James A Simmons | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Lustre built against linux kernel version 4.5.X |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
This ticket will track the needed changes to enable lustre support with linux kernels 4.5.X |
| Comments |
| Comment by Peter Jones [ 25/Apr/16 ] |
|
Thanks for opening a ticket to track this activity James |
| Comment by Gerrit Updater [ 05/May/16 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/20009 |
| Comment by Gerrit Updater [ 16/May/16 ] |
|
Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/20221 |
| Comment by Gerrit Updater [ 16/May/16 ] |
|
Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/20222 |
| Comment by Gerrit Updater [ 16/May/16 ] |
|
Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/20223 |
| Comment by Gerrit Updater [ 16/May/16 ] |
|
Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/20224 |
| Comment by Gerrit Updater [ 16/May/16 ] |
|
Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/20225 removed in 4.5 |
| Comment by Gerrit Updater [ 03/Jun/16 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/20619 |
| Comment by Gerrit Updater [ 14/Jun/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20009/ |
| Comment by Alexey Shvetsov [ 18/Jun/16 ] |
|
Hi! I tryed running lustre 2.8.0 and 2.8.54 with patches using kernel 4.4, and 4.5 from mainline and lts mainline with in-kernel IB stack drivers. [ 24.133660] Lustre: Lustre: Build Version: 2.8.54_1_g9b478d6 |
| Comment by James A Simmons [ 20/Jun/16 ] |
|
Your server side is at 2.1 which is to old. You need to run a minimum 2.5 server. |
| Comment by Alexey Shvetsov [ 23/Jun/16 ] |
|
It seems not related to server side cause if i use stock centos 7.2 kernel then it works |
| Comment by Alexey Shvetsov [ 25/Jun/16 ] |
|
Just to add... It seems like a kernel bug what comes after linux 4.1. Since mainline kernel 4.1.27 with lustre 2.8.0 and 2.8.54 works just fine =\ |
| Comment by Alexey Shvetsov [ 28/Jun/16 ] |
|
Seems i was wrong.. 2.8.5x doesnt work with 4.1.27 (either dont build because of bio changes, or builds but doent work i.e. can write only 32M) |
| Comment by Alexey Shvetsov [ 28/Jun/16 ] |
|
Git bissect of lustre master shows that client fails after http://review.whamcloud.com/#/c/19368/ was landed Tests was done with 4.1.27 mainline lts kernel |
| Comment by Alexey Shvetsov [ 28/Jun/16 ] |
|
alexxy@scc-106-02 ~/Src/lustre $ git bisect log
|
| Comment by James A Simmons [ 29/Jun/16 ] |
|
Thanks for tracking this down. This is a serious bug that could impact more than just newer kernel users. This points to the ptlrpc layer as the problem and not LNet/ko2iblnd which is good since the upstream kernel client has the same LNet stack as the Intel/OpenSFS branch. Since it is easy to reproduce can you collect debug logs. Run the command 'lctl set_param debug=all" and then lctl dk > /tmp/dump.log. Then post the log here. We will gladly work on this problem. |
| Comment by Gerrit Updater [ 05/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20221/ |
| Comment by Gerrit Updater [ 05/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20619/ |
| Comment by Alexey Shvetsov [ 06/Jul/16 ] |
|
Dump log from lustre |
| Comment by Gerrit Updater [ 11/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20222/ |
| Comment by Gerrit Updater [ 11/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20223/ |
| Comment by Gerrit Updater [ 11/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20224/ |
| Comment by Gerrit Updater [ 20/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20225/ removed in 4.5 |
| Comment by James A Simmons [ 20/Jul/16 ] |
|
One last patch to push for the ChangeLog. |
| Comment by Gerrit Updater [ 20/Jul/16 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/21453 |
| Comment by Gerrit Updater [ 20/Jul/16 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/21454 |
| Comment by James A Simmons [ 20/Jul/16 ] |
|
I gave the latest master a run using ZFS with a linux 4.5.7 kernel and found new regression. One of the changes for the 4.5 kernel is the removal of GFP_IOFS. In the past I submitted a patch to remove this flag in the server code but I was told it was needed. Now in newer kernels the lack of GFP_IOFS needs to be addressed. |
| Comment by Gerrit Updater [ 27/Jul/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21453/ |
| Comment by Gerrit Updater [ 06/Aug/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21454/ |
| Comment by Peter Jones [ 06/Aug/16 ] |
|
So is there more work to come tracked under this ticket? |
| Comment by James A Simmons [ 06/Aug/16 ] |
|
One more patch is needed. |
| Comment by Gerrit Updater [ 08/Aug/16 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/21781 |
| Comment by Gerrit Updater [ 22/Aug/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21781/ |
| Comment by Gerrit Updater [ 22/Aug/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21970/ |
| Comment by James A Simmons [ 22/Aug/16 ] |
|
Support fot linux 4.5 kernels is complete. |