Re: [Gluster-devel] why ec fallocate is not supported

2016-08-23 Thread 李迪
Hi,Pranith:      Here is the patch       https://review.gluster.org/#/c/15200/   Thanks for your suggestions.From: "Pranith Kumar Karampuri "To: "李迪 "CC: "Xavier Hernandez ","Gluster Devel "Sent: 2016-08-11

Re: [Gluster-devel] why ec fallocate is not supported

2016-08-10 Thread Pranith Kumar Karampuri
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

Re: [Gluster-devel] why ec fallocate is not supported

2016-08-09 Thread 李迪
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

[Gluster-devel] why ec fallocate is not supported

2016-08-09 Thread 李迪
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@gluster.org http://www.gluster.org/mailman/listinfo/gluster-devel