Re: [Gluster-devel] create restrictions xlator

2017-07-13 Thread Taehwa Lee
the issue is same as me almost. It looks better than my suggestion. but, It is planned on Gluster 4.0, isn’t it? Can I follow and develop this issue for 3.10 and master? I want to know what you need and what I can do - Taehwa Lee Gluesys Co.,Ltd.

Re: [Gluster-devel] create restrictions xlator

2017-07-13 Thread Amar Tumballi
Just by looking at the need, it looked like more of https://github.com/gluster/glusterfs/issues/236 Will the above change in posix itself be better? -Amar On Thu, Jul 13, 2017 at 12:04 PM, Taehwa Lee wrote: > I know that when free capacity for a brick is less than

Re: [Gluster-devel] create restrictions xlator

2017-07-13 Thread Taehwa Lee
I know that when free capacity for a brick is less than min-free-disk, create a link file. but, when all subvols’ free capacity are less than min-free-disk, just try to search the best subvol and do fops to the subvol. I think restriction is needed as option. so, i suggest that when all

Re: [Gluster-devel] create restrictions xlator

2017-07-13 Thread Nithya Balachandran
On 13 July 2017 at 11:46, Pranith Kumar Karampuri wrote: > > > On Thu, Jul 13, 2017 at 10:11 AM, Taehwa Lee > wrote: > >> Thank you for response quickly >> >> >> I went through dht_get_du_info before I start developing this. >> >> at that time, I

Re: [Gluster-devel] create restrictions xlator

2017-07-13 Thread Pranith Kumar Karampuri
On Thu, Jul 13, 2017 at 10:11 AM, Taehwa Lee wrote: > Thank you for response quickly > > > I went through dht_get_du_info before I start developing this. > > at that time, I think that this functionality should be independent module. > > > so, I will move this into DHT

Re: [Gluster-devel] create restrictions xlator

2017-07-12 Thread Pranith Kumar Karampuri
hey, I went through the patch. I see that statfs is always wound for create fop. So number of network operations increase and performance will be less even in normal case. I think similar functionality is in DHT, may be you should take a look at that? Check dht_get_du_info() which is used