[Gluster-devel] why ec fallocate is not supported

Pranith Kumar Karampuri pkarampu at redhat.com
Thu Aug 11 02:21:18 UTC 2016


We would definitely love patches. I think you should try to follow how
ftruncate fop is implemented for a similar fop implementation.
Take a look at:
1) ec_gf_ftruncate
2) ec_ftruncate
3) ec_wind_ftruncate
4) ec_manager_truncate(truncate, ftruncate reuse this function)

Feel free to send any more questions you may have.

On Tue, Aug 9, 2016 at 12:42 PM, 李迪 <lidi at estor.com.cn> wrote:

>  If I want to implement it, is there any suggestions?
>
>
>
> 于 2016年08月09日 14:48, 李迪 写道:
>
>> Hi Xavier,
>>
>>     I want to use fallocate to reduce file system fragmentations, but ec
>> can not support it now.
>>
>>     Why not support it?
>>
>>
>>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>



-- 
Pranith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160811/341216f8/attachment.html>


More information about the Gluster-devel mailing list