[LU-9183] Support for linux 4.9 kernels Created: 06/Mar/17 Updated: 02/Aug/18 Resolved: 19/Jul/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.1, Lustre 2.11.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
This ticket will track the needed changes to enable lustre support with linux kernels 4.9.X |
| Comments |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25816 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25817 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25818 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25819 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25821 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25822 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25826 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25827 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25838 |
| Comment by Gerrit Updater [ 06/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25840 xattr inode operations |
| Comment by Bob Glossman (Inactive) [ 06/Mar/17 ] |
|
if I'm not mistaken one of your patches is a dup of
|
| Comment by Dmitry Eremin (Inactive) [ 06/Mar/17 ] |
|
yes, thanks Bob. I will see those from |
| Comment by Gerrit Updater [ 08/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25892 |
| Comment by Gerrit Updater [ 08/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25893 |
| Comment by Gerrit Updater [ 13/Mar/17 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/25965 |
| Comment by Dmitry Eremin (Inactive) [ 13/Mar/17 ] |
|
With last patch all sanity tests passed with 4.9.13-200.fc25.x86_64 kernel in CLIENTONLY mode. |
| Comment by Dmitry Eremin (Inactive) [ 13/Mar/17 ] |
|
Doug, you can checkout https://review.whamcloud.com/25965 patch (this branch contain your patch also) and build it with 4.9 kernel. It will works. |
| Comment by Doug Oucharek (Inactive) [ 14/Mar/17 ] |
|
Thanks Dmitry. Hopefully I'll get a chance to build and run the fix this week. |
| Comment by Doug Oucharek (Inactive) [ 15/Mar/17 ] |
|
Just tried to build the above patch against the 4.10 kernel. Get this error right away: CC [M] /root/lustre-release/libcfs/libcfs/linux/linux-debug.o /root/lustre-release/libcfs/libcfs/linux/linux-debug.c: In function ‘lbug_with_loc’: /root/lustre-release/libcfs/libcfs/linux/linux-debug.c:120:9: error: *implicit declaration of function ‘*set_task_state’ [-Werror=implicit-function-declaration] set_task_state(current, TASK_UNINTERRUPTIBLE); ^ cc1: all warnings being treated as errors
|
| Comment by Bob Glossman (Inactive) [ 15/Mar/17 ] |
|
Doug, |
| Comment by Dmitry Eremin (Inactive) [ 16/Mar/17 ] |
|
I have ported to linux 4.9 kernel only. |
| Comment by Dmitry Eremin (Inactive) [ 17/Mar/17 ] |
|
With latest patch all sanity tests are passed in client only mode on Fedora Core with 4.9.13 kernel.
|
| Comment by Doug Oucharek (Inactive) [ 17/Mar/17 ] |
|
I have a VM where I have linux-staging checked out and have built 4.10.0-rc7 and installed it. I then cloned lustre-release and did a pull of your change (as given above). I then tried to build Lustre with: > sh ./autogen.sh > ./configure --disable-server --with-linux=/root/linux-staging > make -j4 The make is failing due to issues in linux-debug.c and llite/dcache.c. Am I doing something wrong here? |
| Comment by Dmitry Eremin (Inactive) [ 17/Mar/17 ] |
|
yes, please build and install 4.9.13 kernel and all will compile without problems. |
| Comment by Doug Oucharek (Inactive) [ 17/Mar/17 ] |
|
There is that big a difference between 4.9 and 4.10? Ok. |
| Comment by Bob Glossman (Inactive) [ 18/Mar/17 ] |
|
Dmitry, All the kernel code seems to build ok, but the client build including utils doesn't succeed. |
| Comment by James A Simmons [ 20/Mar/17 ] |
|
Bob |
| Comment by Gerrit Updater [ 19/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25816/ |
| Comment by Gerrit Updater [ 28/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25817/ |
| Comment by Gerrit Updater [ 28/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25818/ |
| Comment by Gerrit Updater [ 01/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25822/ |
| Comment by Gerrit Updater [ 05/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25827/ |
| Comment by Gerrit Updater [ 09/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25819/ |
| Comment by Gerrit Updater [ 09/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25826/ |
| Comment by Gerrit Updater [ 16/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25838/ |
| Comment by Gerrit Updater [ 16/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25893/ |
| Comment by Gerrit Updater [ 23/May/17 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/27240 |
| Comment by Gerrit Updater [ 24/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25892/ |
| Comment by James A Simmons [ 04/Jun/17 ] |
|
Dmitry you will need https://review.whamcloud.com/#/c/27422 as well for your testing |
| Comment by Gerrit Updater [ 19/Jul/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27240/ |
| Comment by Gerrit Updater [ 19/Jul/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25965/ |
| Comment by Peter Jones [ 19/Jul/17 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 19/Jul/17 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/28110 |
| Comment by Gerrit Updater [ 03/Aug/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28110/ |
| Comment by Gerrit Updater [ 03/Aug/17 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/28342 |
| Comment by Gerrit Updater [ 10/Aug/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28342/ |