<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 7:20 AM, 李迪 <span dir="ltr"><<a href="mailto:lidi@estor.com.cn" target="_blank">lidi@estor.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:宋体"><p style="margin:0px">Hi,<span style="font-family:arial;font-size:12px">Pranith:</span></p><p style="margin:0px"><span style="font-family:arial;font-size:12px"><br></span></p><p style="margin:0px"><span style="font-family:arial;font-size:12px"> </span><span style="font-family:arial;font-size:12px">Here is the patch </span><span style="font-family:arial;font-size:12px"><a href="https://review.gluster.org/#/c/15200/" target="_blank">https://review.gluster.org/#<wbr>/c/15200/</a> </span></p><p style="margin:0px"> </p><p style="margin:0px"> Thanks for your suggestions.</p></div></blockquote><div><br></div><div>That was fast :-). I have some important work for today and tomorrow. So I can start looking at this patch on Thursday.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:宋体"><br></div><div style="padding:5px;padding-left:0px;border-top:solid #999 1.0pt;font-family:arial;font-size:12px;margin-bottom:20px"><p style="margin:0px"><b>From:</b> "Pranith Kumar Karampuri <<a href="mailto:pkarampu@redhat.com" target="_blank">pkarampu@redhat.com</a>>"</p><p style="margin:0px"><b>To:</b> "李迪 <<a href="mailto:lidi@estor.com.cn" target="_blank">lidi@estor.com.cn</a>>"</p><p style="margin:0px"><b>CC:</b> "Xavier Hernandez <<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a>>","<wbr>Gluster Devel <<a href="mailto:gluster-devel@gluster.org" target="_blank">gluster-devel@gluster.org</a>>"</p><p style="margin:0px"><b>Sent:</b> 2016-08-11 10:21</p><p style="margin:0px"><b>Subject:</b> Re: [Gluster-devel] why ec fallocate is not supported</p></div><div dir="ltr"><div>We would definitely love patches. I think you should try to follow how ftruncate fop is implemented for a similar fop implementation.<br>Take a look at:<br>1) ec_gf_ftruncate<br>2) ec_ftruncate<br>3) ec_wind_ftruncate<br>4) ec_manager_truncate(truncate, ftruncate reuse this function)<br><br></div>Feel free to send any more questions you may have.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 9, 2016 at 12:42 PM, 李迪 <span dir="ltr"><<a href="mailto:lidi@estor.com.cn" target="_blank">lidi@estor.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If I want to implement it, is there any suggestions?<div><div><br><br><br>于 2016年08月09日 14:48, 李迪 写道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Xavier,<br><br> I want to use fallocate to reduce file system fragmentations, but ec can not support it now.<br><br> Why not support it?<br><br><br></blockquote><br><br>______________________________<wbr>_________________<br>Gluster-devel mailing list<br><a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br><a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-devel</a></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div></font></span></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</div></div>