I built Lustre 1.6.7.2 on Fedora7 using a patched version of kernel 2.6.22.14-72. I built the patched kernel using the patches supplied with the Lustre tarfile. When I cat /proc/fs/luster/version, I get the following output: Luster: 1.6.7.2 Kernel: patchless_client Build: 1.6.7.2-19691231190000-PRISTINE-.usr.src.redhat.BUILD.kernel-2.6.22.linux -2.6.22.x86_64-2.6.22.14-72.lustre_1.6.7.2.fc7 The file luster_version.h in the kernel build tree contains the following: #define LUSTRE_KERNEL_VERSION 47 The version number should be 47 for Kernel, not patchless_client. Any idea why I get patchless_client instead? Denis Charland, ing. | P. Eng. Administrateur de Syst?mes UNIX | UNIX Systems Administrator T?l. | tel. (450) 641-5078 Fax (450) 641-5106 Courriel | E-mail : denis.charland at cnrc-nrc.gc.ca<mailto:denis.charland at cnrc-nrc.gc.ca> Institut des mat?riaux industriels | Industrial Materials Institute Conseil national de recherches Canada | National Research Council Canada 75, de Mortagne, Boucherville, Qu?bec, Canada, J4B 6Y4 Gouvernement du Canada | Government of Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100930/9a09dc5c/attachment.html
On Thu, Sep 30, 2010 at 05:20:27PM -0400, Charland, Denis wrote:> Any idea why I get patchless_client instead?Some kernel patches (e.g. VFS intent patches) used to be required to mount a lustre system. Lustre 1.6 removed this dependency and introduced patchless client support for recent kernels. Since the performance of the patchless client turned out to be quite good, we decided to use it as a default and to remove the client-side patches from our kernel patch series. To sum up, all lustre clients are patchless now, even if you use the patched kernel which only includes server-side patches. Cheers, Johann
> To sum up, all lustre clients are patchless now, even if you use the > patched > kernel which only includes server-side patches. >But I compiled a server version of Lustre, not a client version, and I''m running it on a Lustre server. Does it mean that the server considers that it''s running on an unpatched kernel? I''m running Lustre 1.6.3 on an older FC4 cluster running a patched version of kernel 2.6.12 and I get 47 for "Kernel" in /proc/fs/lustre/version. Denis
On Fri, Oct 01, 2010 at 10:15:57AM -0400, Charland, Denis wrote:> But I compiled a server version of Lustre, not a client version, and I''m running itYes, but this also includes the client component, although you don''t use it.> on a Lustre server. Does it mean that the server considers that it''s running on > an unpatched kernel?No, not at all. It just means that the VFS intent patches are not applied, which is totally expected. We don''t support patchless server yet.> I''m running Lustre 1.6.3 on an older FC4 cluster running a patched version of kernel > 2.6.12 and I get 47 for "Kernel" in /proc/fs/lustre/version.The VFS intent patches have only be removed for kernels >= 2.6.16. Johann