<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20141128112740793686 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi,</div><div>The problem is resolved.</div><div>It is need to selected [make menuconfig]->[Global build settings]->[Compile the kernel with direct IO support].</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>zhenjun_cai@icloudaegis.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:zhenjun_cai@icloudaegis.com">zhenjun_cai@icloudaegis.com</a></div><div><b>发送时间:</b> 2014-11-27 15:48</div><div><b>收件人:</b> <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel</a></div><div><b>主题:</b> O_DIRECT not supported on openwrt?</div></div></div><div><div class="FoxDiv20141128112740793686">
<div><span></span>Hi,</div><div style=""><span style="background-color: rgb(255, 255, 255);"> I try to open file with O_DIRECT flag on openwrt, But error <span style="font-family: arial, 宋体, sans-serif; line-height: 24px; text-indent: 28px;">EINVAL</span><span style="font-family: arial, 宋体, sans-serif; line-height: 24px; text-indent: 28px;"> is returned. </span></span></div><div style=""><span style="line-height: 24px; text-indent: 28px; background-color: rgb(255, 255, 255);"> I have selected O_DIRECT support in kernel_menuconfig. </span></div><div style=""> Are there any other configuration about this?</div><div style=""><br></div><div style=""><span style="background-color: rgba(0, 0, 0, 0);"> Best Regards,</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>zhenjun_cai@icloudaegis.com</div></div></span></div>
</div></div></blockquote>
</body></html>