[LU-6260] more support for 3.16 linux kernel Created: 19/Feb/15 Updated: 15/Jan/16 Resolved: 30/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Bob Glossman (Inactive) | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
3.16 kernel |
||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Rank (Obsolete): | 17548 | ||||||||||||||||||||||||||||
| Description |
|
earlier One known issue first mentioned 15/Sep/14: With the switch to 3.16 now seeing new build failures, even in client only builds. example errors: CC [M] /home/bogl/lustre-release/lustre/llite/llite_capa.o
CC [M] /home/bogl/lustre-release/lustre/llite/rw26.o
/home/bogl/lustre-release/lustre/llite/rw26.c:700:9: error: initialization from incompatible pointer type [-Werror]
.direct_IO = ll_direct_IO_26,
^
/home/bogl/lustre-release/lustre/llite/rw26.c:700:9: error: (near initialization for ‘ll_aops.direct_IO’) [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [/home/bogl/lustre-release/lustre/llite/rw26.o] Error 1
make[5]: *** [/home/bogl/lustre-release/lustre/llite] Error 2
make[4]: *** [/home/bogl/lustre-release/lustre] Error 2
make[3]: *** [_module_/home/bogl/lustre-release] Error 2
make[3]: Leaving directory `/usr/src/kernels/3.16.2-200.fc20.x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/bogl/lustre-release'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bogl/lustre-release'
make: *** [all] Error 2
Recent comment in |
| Comments |
| Comment by Blake Caldwell [ 16/Apr/15 ] |
|
I recently ran Lustre with ldiskfs on Linux 3.18. The changes that were necessary are part of my github repo here: Most of the changes were rebased upstream Linux patches, which are referenced in my commits. The specific issue mentioned in this ticket was addressed by this commit: It needs quite a bit of cleanup, but hopefully will be a useful reference for this work. |
| Comment by Gerrit Updater [ 04/May/15 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/14665 |
| Comment by James A Simmons [ 05/May/15 ] |
|
Also in the 3.16 kernel we see the introduction of read_iter and write_iter. These later go on to replace the aio_write and aio_read functions. This change leads to the replacement of the generic_file_aio_XXX functions with the generic_file_XXX_iter functions in vvp_io.c. |
| Comment by Gerrit Updater [ 28/May/15 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/15028 |
| Comment by Gerrit Updater [ 28/May/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14665/ |
| Comment by Gerrit Updater [ 30/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15028/ |
| Comment by Peter Jones [ 30/Jul/15 ] |
|
So is it ok to mark this ticket as resolved now? |
| Comment by James A Simmons [ 30/Jul/15 ] |
|
Yes this work is finally done. |
| Comment by Peter Jones [ 30/Jul/15 ] |
|
Great! Thanks James |