<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:等线;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:等线;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:等线;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal" align="left" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F">Hello,I ported ltp to Android for testing. The diotest4 test on the Linux kernel 5.15 device failed. The file system was corrected when the test was run to test3. The correct values
 were passed to the next layer. How can I solve this problem? The same problem does not occur in other linux kernel versions.<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F">The following are logs, and the related traces in extra file.<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-bottom:12.0pt;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F">Testcase Result Exit Value<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-bottom:12.0pt;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F">dio01 PASS 0<br>
dio02 PASS 0<br>
dio03 PASS 0<br>
dio04 FAIL 33<br>
dio05 PASS 0<br>
dio06 PASS 0<br>
dio07 PASS 0<br>
dio08 PASS 0<br>
dio09 PASS 0<br>
dio10 FAIL 33<br>
dio11 PASS 0<br>
dio12 PASS 0<br>
dio13 PASS 0<br>
dio14 PASS 0<br>
dio15 PASS 0<br>
dio16 PASS 0<br>
dio17 PASS 0<br>
dio18 PASS 0<br>
dio19 PASS 0<br>
dio20 PASS 0<br>
dio21 PASS 0<br>
dio22 PASS 0<br>
dio23 PASS 0<br>
dio24 PASS 0<br>
dio25 PASS 0<br>
dio26 PASS 0<br>
dio27 PASS 0<br>
dio28 PASS 0<br>
dio29 PASS 0<br>
dio30 PASS 0<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="margin-bottom:12.0pt;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F">Total Tests: 30<br>
Total Skipped Tests: 0<br>
Total Failures: 2<br>
Kernel Version: 5.15.41-android13-8-o-g9e85b4b43c76<br>
Machine Architecture: aarch64<br>
Hostname: localhost<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="mso-margin-bottom-alt:auto;text-align:left;background:white">
<span lang="EN-US" style="font-family:"Segoe UI",sans-serif;color:#24292F"><<<test_start>>><br>
tag=dio04 stime=1640966855<br>
cmdline="diotest4"<br>
contacts=""<br>
analysis=exit<br>
<<<test_output>>><br>
diotest4 1 TPASS : Negative Offset<br>
diotest4 2 TPASS : removed<br>
diotest4 3 TFAIL : diotest4.c:114: read allows odd count. returns 1: Success<br>
diotest4 4 TFAIL : diotest4.c:129: write allows odd count.returns 1: Success<br>
diotest4 5 TFAIL : diotest4.c:180: Odd count of read and write<br>
diotest4 6 TPASS : Read beyond the file size<br>
diotest4 7 TPASS : Invalid file descriptor<br>
diotest4 8 TPASS : Out of range file descriptor<br>
diotest4 9 TPASS : Closed file descriptor<br>
diotest4 10 TPASS : removed<br>
diotest4 11 TCONF : diotest4.c:346: Direct I/O on /dev/null is not supported<br>
diotest4 12 TPASS : read, write to a mmaped file<br>
diotest4 13 TPASS : read, write to an unmapped file<br>
diotest4 14 TPASS : read from file not open for reading<br>
diotest4 15 TPASS : write to file not open for writing<br>
diotest4 16 TFAIL : diotest4.c:114: read allows nonaligned buf. returns 4096: Success<br>
diotest4 17 TFAIL : diotest4.c:129: write allows nonaligned buf.returns 4096: Success<br>
diotest4 18 TFAIL : diotest4.c:180: read, write with non-aligned buffer<br>
diotest4 19 TPASS : read, write buffer in read-only space<br>
diotest4 20 TPASS : read, write in non-existant space<br>
diotest4 21 TPASS : read, write for file with O_SYNC<br>
diotest4 0 TINFO : 2/15 test blocks failed<br>
<<<execution_status>>><br>
initiation_status="ok"<br>
duration=0 termination_type=exited termination_id=33 corefile=no<br>
cutime=1 cstime=0<br>
<<<test_end>>><br>
<<<test_start>>><br>
tag=dio10 stime=1640966859<br>
cmdline="diotest4 -b 65536"<br>
contacts=""<br>
analysis=exit<br>
<<<test_output>>><br>
diotest4 1 TPASS : Negative Offset<br>
diotest4 2 TPASS : removed<br>
diotest4 3 TFAIL : diotest4.c:114: read allows odd count. returns 1: Success<br>
diotest4 4 TFAIL : diotest4.c:129: write allows odd count.returns 1: Success<br>
diotest4 5 TFAIL : diotest4.c:180: Odd count of read and write<br>
diotest4 6 TPASS : Read beyond the file size<br>
diotest4 7 TPASS : Invalid file descriptor<br>
diotest4 8 TPASS : Out of range file descriptor<br>
diotest4 9 TPASS : Closed file descriptor<br>
diotest4 10 TPASS : removed<br>
diotest4 11 TCONF : diotest4.c:346: Direct I/O on /dev/null is not supported<br>
diotest4 12 TPASS : read, write to a mmaped file<br>
diotest4 13 TPASS : read, write to an unmapped file<br>
diotest4 14 TPASS : read from file not open for reading<br>
diotest4 15 TPASS : write to file not open for writing<br>
diotest4 16 TFAIL : diotest4.c:114: read allows nonaligned buf. returns 4096: Success<br>
diotest4 17 TFAIL : diotest4.c:129: write allows nonaligned buf.returns 4096: Success<br>
diotest4 18 TFAIL : diotest4.c:180: read, write with non-aligned buffer<br>
diotest4 19 TPASS : read, write buffer in read-only space<br>
diotest4 20 TPASS : read, write in non-existant space<br>
diotest4 21 TPASS : read, write for file with O_SYNC<br>
diotest4 0 TINFO : 2/15 test blocks failed<br>
<<<execution_status>>><br>
initiation_status="ok"<br>
duration=20 termination_type=exited termination_id=33 corefile=no<br>
cutime=623 cstime=937<br>
<<<test_end>>><br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<hr>
<div style="font-size: 12px;"><strong style="color: rgb(32, 31, 28); font-family: Arial;">OPPO
</strong></div>
<div style="margin:0cm;text-align:justify;font-size:9px;font-family:"微软雅黑",sans-serif;margin-bottom:15.6pt;">
<span style="font-size:9pt;font-family:"微软雅黑",serif;color:#cacac8;"><br>
本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人(包含个人及群组)使用。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容,并请立即以电子邮件通知发件人并删除本邮件及其附件。
<br>
网络通讯固有缺陷可能导致邮件被截留、修改、丢失、破坏或包含计算机病毒等不安全情况,OPPO对此类错误或遗漏而引致之任何损失概不承担责任并保留与本邮件相关之一切权利。
</span><span style="font-size:9pt;font-family:"微软雅黑",serif;color:#cacac8;"><strong><br>
除非明确说明,本邮件及其附件无意作为在任何国家或地区之要约、招揽或承诺,亦无意作为任何交易或合同之正式确认。 </span></strong><span style="font-size:9pt;font-family:"微软雅黑",serif;color:#cacac8;">发件人、其所属机构或所属机构之关联机构或任何上述机构之股东、董事、高级管理人员、员工或其他任何人(以下称“发件人”或“OPPO”)不因本邮件之误送而放弃其所享之任何权利,亦不对因故意或过失使用该等信息而引发或可能引发的损失承担任何责任。
</span><span style="font-size:9pt;font-family:"微软雅黑",serif;color:#cacac8;"><strong><br>
文化差异披露:因全球文化差异影响,单纯以YES\OK或其他简单词汇的回复并不构成发件人对任何交易或合同之正式确认或接受,请与发件人再次确认以获得明确书面意见。发件人不对任何受文化差异影响而导致故意或错误使用该等信息所造成的任何直接或间接损害承担责任。
</span></strong><span style="font-size:12px;font-family:"Arial",serif;color:#cacac8;"><br>
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial
 disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error,
 please notify the sender immediately by reply e-mail and then delete this message.
</span><span style="font-size:12px;font-family:"Arial",serif;color:#cacac8;"><br>
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that
 arise or may arise from such matter and reserves all rights in connection with the email.
</span><span style="font-size:12px;font-family:"Arial",serif;color:#cacac8;"><strong><br>
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract.
</span></strong><span style="font-size:12px;font-family:"Arial",serif;color:#cacac8;">The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or
 "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
</span><span style="font-size:12px;font-family:"Arial",serif;color:#cacac8;"><strong><br>
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion
 in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.
</span></strong></div>
</body>
</html>