Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-26 Thread Raghavendra Gowdappa
- Original Message - > From: "Xavier Hernandez" > To: "Emmanuel Dreyfus" > Cc: "Raghavendra Gowdappa" , "Gluster Devel" > > Sent: Wednesday, November 26, 2014 2:05:58 PM > Subject: Re: Wrong behavior on fsync of md-cache ? > > On 11/25/2014 06:45 PM, Xavier Hernandez wrote: > > On 11

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-26 Thread Xavier Hernandez
On 11/25/2014 06:45 PM, Xavier Hernandez wrote: On 11/25/2014 02:25 PM, Emmanuel Dreyfus wrote: On Tue, Nov 25, 2014 at 01:42:21PM +0100, Xavier Hernandez wrote: It seems to fail only in NetBSD. I'm not sure what priority it has. Emmanuel is trying to create a regression test for new patches th

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Xavier Hernandez
On 11/25/2014 02:25 PM, Emmanuel Dreyfus wrote: On Tue, Nov 25, 2014 at 01:42:21PM +0100, Xavier Hernandez wrote: It seems to fail only in NetBSD. I'm not sure what priority it has. Emmanuel is trying to create a regression test for new patches that checks all tests in tests/basic, and tests/bas

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Emmanuel Dreyfus
On Tue, Nov 25, 2014 at 01:42:21PM +0100, Xavier Hernandez wrote: > It seems to fail only in NetBSD. I'm not sure what priority it has. Emmanuel > is trying to create a regression test for new patches that checks all tests > in tests/basic, and tests/basic/ec/quota.t hits this issue. FWIW, I just

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Emmanuel Dreyfus
Xavier Hernandez wrote: > An alternative would be to temporarily remove or change this test to > avoid the problem. That would help on that test, but I suspect the same problem is responsible for other spurious failures. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org _

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Xavier Hernandez
On 11/25/2014 12:59 PM, Raghavendra Gowdappa wrote: - Original Message - From: "Xavier Hernandez" To: "Raghavendra Gowdappa" Cc: "Gluster Devel" , "Emmanuel Dreyfus" Sent: Tuesday, November 25, 2014 2:05:25 PM Subject: Re: Wrong behavior on fsync of md-cache ? On 11/25/2014 07:38

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Raghavendra Gowdappa
- Original Message - > From: "Xavier Hernandez" > To: "Raghavendra Gowdappa" > Cc: "Gluster Devel" , "Emmanuel Dreyfus" > > Sent: Tuesday, November 25, 2014 2:05:25 PM > Subject: Re: Wrong behavior on fsync of md-cache ? > > On 11/25/2014 07:38 AM, Raghavendra Gowdappa wrote: > > ---

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Emmanuel Dreyfus
On Tue, Nov 25, 2014 at 09:35:25AM +0100, Xavier Hernandez wrote: > Anyway it seems that there's a difference between linux and NetBSD because > this test only fails on NetBSD. Is it possible that linux's fuse > implementation delays the fsync request until all pending writes have been > answered ?

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-25 Thread Xavier Hernandez
On 11/25/2014 07:38 AM, Raghavendra Gowdappa wrote: - Original Message - From: "Xavier Hernandez" To: "Raghavendra Gowdappa" Cc: "Gluster Devel" , "Emmanuel Dreyfus" Sent: Tuesday, November 25, 2014 12:49:03 AM Subject: Re: Wrong behavior on fsync of md-cache ? I think the problem i

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-24 Thread Raghavendra Gowdappa
- Original Message - > From: "Xavier Hernandez" > To: "Raghavendra Gowdappa" > Cc: "Gluster Devel" , "Emmanuel Dreyfus" > > Sent: Tuesday, November 25, 2014 12:49:03 AM > Subject: Re: Wrong behavior on fsync of md-cache ? > > > > On 24.11.2014 18:53, Raghavendra Gowdappa wrote: >

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-24 Thread Xavier Hernandez
On 24.11.2014 18:53, Raghavendra Gowdappa wrote: > - Original Message - > >> From: "Xavier Hernandez" To: "Gluster Devel" , "Raghavendra Gowdappa" Cc: "Emmanuel Dreyfus" Sent: Monday, November 24, 2014 11:05:57 PM Subject: Wrong behavior on fsync of md-cache ? Hi, I have an issue i

Re: [Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-24 Thread Raghavendra Gowdappa
- Original Message - > From: "Xavier Hernandez" > To: "Gluster Devel" , "Raghavendra Gowdappa" > > Cc: "Emmanuel Dreyfus" > Sent: Monday, November 24, 2014 11:05:57 PM > Subject: Wrong behavior on fsync of md-cache ? > > Hi, > > I have an issue in ec caused by what seems an incorrec

[Gluster-devel] Wrong behavior on fsync of md-cache ?

2014-11-24 Thread Xavier Hernandez
Hi, I have an issue in ec caused by what seems an incorrect behavior in md-cache, at least in NetBSD (on linux this doesn't seem to happen). The problem happens when multiple writes are sent in parallel and one of them fails with an error. After the error, an fsync is issued, before all pend