Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-06-06 Thread Xavier Hernandez
luster.com <mailto:raghaven...@gluster.com>> Cc: "Gluster Devel" <gluster-devel@gluster.org <mailto:gluster-devel@gluster.org>> Sent: Wednesday, June 1, 2016 11:57:12 AM Subject: Re: [Gluster-devel] dht mkdir preop check, a

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-06-06 Thread Raghavendra G
talab.es> >>> To: "Pranith Kumar Karampuri" <pkara...@redhat.com>, "Raghavendra G" < >>> raghaven...@gluster.com> >>> Cc: "Gluster Devel" <gluster-devel@gluster.org> >>> Sent: Wednesday, June 1, 2016 11:57:12 AM >&

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-06-01 Thread Raghavendra Gowdappa
el@gluster.org> > Sent: Wednesday, June 1, 2016 11:57:12 AM > Subject: Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable > afr subvols > > Oops, you are right. For entry operations the current version of the > parent directory is not checked, just to avoid this proble

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-06-01 Thread Xavier Hernandez
Oops, you are right. For entry operations the current version of the parent directory is not checked, just to avoid this problem. This means that mkdir will be sent to all alive subvolumes. However it still selects the group of answers that have a minimum quorum equal or greater than #bricks

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-05-31 Thread Raghavendra G
I've filed a bug at [1] to track issue in afr. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341429 On Tue, May 31, 2016 at 2:17 PM, Raghavendra G wrote: > > > On Tue, May 31, 2016 at 12:37 PM, Xavier Hernandez > wrote: > >> Hi, >> >> On

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-05-31 Thread Pranith Kumar Karampuri
Just checked ec code. Looks okay. All entry fops are also updating metadata and data part of the xattr. On Tue, May 31, 2016 at 12:37 PM, Xavier Hernandez wrote: > Hi, > > On 31/05/16 07:05, Raghavendra Gowdappa wrote: > >> +gluster-devel, +Xavi >> >> Hi all, >> >> The

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-05-31 Thread Xavier Hernandez
Hi, On 31/05/16 07:05, Raghavendra Gowdappa wrote: +gluster-devel, +Xavi Hi all, The context is [1], where bricks do pre-operation checks before doing a fop and proceed with fop only if pre-op check is successful. @Xavi, We need your inputs on behavior of EC subvolumes as well. If I

Re: [Gluster-devel] dht mkdir preop check, afr and (non-)readable afr subvols

2016-05-30 Thread Raghavendra Gowdappa
+gluster-devel, +Xavi Hi all, The context is [1], where bricks do pre-operation checks before doing a fop and proceed with fop only if pre-op check is successful. @Xavi, We need your inputs on behavior of EC subvolumes as well. [1] http://review.gluster.org/13885 regards, Raghavendra -