<div dir="ltr"><div>Hello,</div><div><br></div><div>I'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>"</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 'iov_iter_iovec'</div><div>include/linux/fs.h:765: note: previous definition of 'iov_iter_iovec' was here</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h: In function 'iov_iter_iovec':</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1472: error: 'const struct iov_iter' has no member named 'iov'</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/llite_internal.h:1473: error: 'const struct iov_iter' has no member named 'iov'</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 'int' in declaration of '_min2'</div><div>...</div><div>"</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>"</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 'vvp_mmap_locks':</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c:423: error: 'struct iov_iter' has no member named 'iov'</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c: In function 'vvp_io_advance':</div><div>/opt/src/lustre_testvz/lustre_new/lustre-r161012/lustre/llit e/vvp_io.c:514: error: 'struct iov_iter' has no member named 'iov'</div><div>...</div><div>"</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>