[lustre-discuss] Patch of Lustre-2.16.1 to Linux kernel 6.12.57
Tung-Han Hsieh
tunghan.hsieh at gmail.com
Fri Dec 19 19:08:21 PST 2025
Greetings,
Recently we were requested to install Lustre client to a new machine,
installed Debian-13.2 (trixie), with Linux kernel 6.12.57. We install it
from compiling the source code. During installation, we encountered a lot
of compiling errors, due to changes of kernel API from version 5.X.X to
6.12.X. We struggled quite a lot to update the code of Lustre, and finally
came out a patch, as shown in the attachment. I would like to submit this
patch to the Lustre developer team for review and test, and finally being
committed to the future versions of Lustre. This is very important, because
as newer machines shipped, we are forced to install newer versions of Linux
OS, and Linux kernel. We hope that Lustre file system could work well in
these new environments.
The steps of compiling Lustre in our new machine is following:
1. Use "apt install" to install necessary code building packages, such
as build-essential, gcc,
make, autoconf,
libyaml-dev, uuid-dev, libblkid-dev, libnl-3-dev, libudev-dev, libkeyutils-dev,
libmount-dev, python3-dev, libnl-genl-3-dev, libtool, ...., etc.
2. Install the kernel source, which is the version of the current running
kernel:
apt install linux-headers-6.12.57+deb13-amd64
3. Download Lustre source 2.16.1 (the newest version we have found), and
apply the patch
shown in the attachment.
4. Start code building:
cd lustre-2.16.1
./configure --prefix=/opt/lustre
--with-linux=/usr/src/linux-headers-6.12.57+deb13-amd64
--disable-server --enable-mpitests=no
make
make install
Now we can mount the Lustre file system with this command:
mount -t lustre -o flock <mds_IP>@tcp:/chome /home
where Lustre servers run Lustre-2.15.3. From the preliminary tests, it
seems OK. But we are not confident that our patch is OK. We still need to
test more extensively. So we hope that Lustre developer team could help to
review this patch.
Best Regards,
T.H.Hsieh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20251220/3154be2f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lustre-2.16.1-Linux-6.12.57.patch
Type: application/octet-stream
Size: 17801 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20251220/3154be2f/attachment-0001.obj>
More information about the lustre-discuss
mailing list