<div dir="ltr"><div>Hello,</div><div><br></div><div>I&#39;m trying to build a Lustre client on OpenVZ kernel (version: 042stab120.5, based on RHEL 6.8 kernel 2.6.32-642.6.1.el6), and some bugs occured: </div><div><br></div><div>(1) When build version v2_8_59_0 in git tag repo of Lustre, I encountered the following errors:</div><div>&quot;</div><div>LD [M] /opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/fld/ fld.o</div><div>CC [M] /opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/lloop.o</div><div>In file included from /opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/lloop.c:109:</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1469: error: conflicting types for &#39;iov_iter_iovec&#39;</div><div>include/linux/fs.h:765: note: previous definition of &#39;iov_iter_iovec&#39; was here</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h: In function &#39;iov_iter_iovec&#39;:</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1472: error: &#39;const struct iov_iter&#39; has no member named &#39;iov&#39;</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1473: error: &#39;const struct iov_iter&#39; has no member named &#39;iov&#39;</div><div>cc1: warnings being treated as errors</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1473: error: type defaults to &#39;int&#39; in declaration of &#39;_min2&#39;</div><div>...</div><div>&quot;</div><div><br></div><div>(2) When build old version v2_8_50_0 in git tag repo of Lustre, the following errors display: </div><div>&quot;</div><div>CC [M] /opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_lock.o</div><div>CC [M] /opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.o</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c: In function &#39;vvp_mmap_locks&#39;:</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c:423: error: &#39;struct iov_iter&#39; has no member named &#39;iov&#39;</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c: In function &#39;vvp_io_advance&#39;:</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c:514: error: &#39;struct iov_iter&#39; has no member named &#39;iov&#39;</div><div>...</div><div>&quot;</div><div><br></div><div>Files with full error context are attached.</div><div><br></div><div>So, How can I fix the problem? Is this a bug which need to be fixed?</div><div><br></div><div>Thanks! Any suggestion is appreciated!</div><div><br></div><div>Best Wishes!</div></div>