[LU-3675] Support for linux 3.10 kernel Created: 31/Jul/13  Updated: 02/Dec/13  Resolved: 02/Dec/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: James A Simmons Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3319 Adapt to 3.10 upstream kernel proc_di... Resolved
is related to LU-3373 ldiskfs patches for FC19 Resolved
Rank (Obsolete): 9489

 Description   

Tracker for 3.10 kernel support



 Comments   
Comment by Peter Jones [ 01/Aug/13 ]

Lai

You have been looking at some of these patches already

Peter

Comment by James A Simmons [ 01/Aug/13 ]

Patch http://review.whamcloud.com/#/c/5390 from LU-2800 handles a block device function change now for 3.10 for lloop.c.

Comment by Bob Glossman (Inactive) [ 25/Oct/13 ]

I've noticed an odd failure to autoload kernel modules on 3.10 kernels. I thought this might be related to the CONFIG_MODULE_FORCE_LOAD setting in the kernel config, but setting that on or off seems to make no difference. Causes a command like 'mount -t lustre ...' client mount to fail due to lustre modules not getting loaded.

In the short term for test purposes this isn't a big problem. Just need to do a manual 'modprobe lustre' before trying to do any client mounts. Longer term really need to find the cause & a solution.

Comment by James A Simmons [ 31/Oct/13 ]

With the patches from LU-3319 and http://review.whamcloud.com/#/c/5380 from LU-2800 I just mounted a ZFS server file system.

[root@spoon46 tests]# df
Filesystem 1K-blocks Used Available Use% Mounted on
unionfs 88763392 61317120 22938624 73% /
none 100 0 100 0% /dev/shm
none 2957192 25312 2931880 1% /tmp
nccsfiler3.ccs.ornl.gov:/vol/techint
1015021568 871888352 143133216 86% /autofs/na3_techint
172.30.248.91:/data/shared-root-homedir
57799680 34323456 20540416 63% /root
172.30.248.91:/chexport
46445568 32187392 11898880 74% /chexport
lustre-mdt1/mdt1 157440 3072 152320 2% /tmp/lustre/mds1
lustre-ost1/ost1 157440 1152 154240 1% /tmp/lustre/ost1
lustre-ost2/ost2 157440 1152 154240 1% /tmp/lustre/ost2
172.30.248.48@tcp0:/lustre
314880 2304 308480 1% /lustre/barry
[root@spoon46 tests]# uname -r
3.10.2

Comment by Bob Glossman (Inactive) [ 31/Oct/13 ]

James, excellent. I have also done some successful zfs only server builds recently, but haven't done any functional testing yet.

Any ETA on the few remaining osd-ldiskfs/osd_handler.c build blocking issues?

Comment by James A Simmons [ 31/Oct/13 ]

I have the proc seq_file coding done for osd-ldiskfs but their is a lbug dealing with the osp layer when I attempt to mount a OST. I haven't updated the filldir_t changes for osd-ldisk yet. Even with those issues fixed their are problems building osd-ldiskfs with the fc19 ldiskfs patch Yeng had provided. I say it could be ready by the end of next week.

Comment by Bob Glossman (Inactive) [ 31/Oct/13 ]

some additional fixes to osd-ldiskfs just today. see comments in LU-3373. don't know if those address some of your issues or not.

As far as I know the seq_file and readdir changes are still needed. Looking forward to seeing those. The end of next week sounds good to me. Wasn't looking for a cast in concrete promise, just some idea of when. Your answer is fine.

Comment by James A Simmons [ 01/Nov/13 ]

Yep the patch http://review.whamcloud.com/#/c/8116 from LU-3373 did the trick. I have something that can build but does it work is another question.

Comment by James A Simmons [ 02/Dec/13 ]

The patch from LU-2800 needed to support 3.10 kernels has been landed. Now only patches from LU-3319 are needed. We can close this ticket and focus on 3.11 kernel support now.

Comment by Peter Jones [ 02/Dec/13 ]

ok. Thanks James

Generated at Sat Feb 10 01:35:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.