Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-23 Thread Lian, George (NSB - CN/Hangzhou)
Hi, I tested both patchset1 and patchset2 of https://review.gluster.org/20549, the ctime issue seems both be there. And I use my test c program and “dd” program, the issue both be there. But when use the patch of https://review.gluster.org/#/c/20410/11, My test C program and “dd” to an exist

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-22 Thread Raghavendra Gowdappa
On Mon, Jul 23, 2018 at 8:40 AM, Lian, George (NSB - CN/Hangzhou) < george.l...@nokia-sbell.com> wrote: > Hi, > > > > I tested both patchset1 and patchset2 of https://review.gluster.org/20549, > the ctime issue seems both be there. > > And I use my test c program and “dd” program, the issue both

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-22 Thread Raghavendra Gowdappa
On Sun, Jul 22, 2018 at 1:41 PM, Raghavendra Gowdappa wrote: > George, > > Sorry. I sent you a version of the fix which was stale. Can you try with: > https://review.gluster.org/20549 > > This patch passes the test case you've given. > Patchset 1 solves this problem. However, it ran into dbench

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-22 Thread Raghavendra Gowdappa
George, Sorry. I sent you a version of the fix which was stale. Can you try with: https://review.gluster.org/20549 This patch passes the test case you've given. regards, Raghavendra On Fri, Jul 20, 2018 at 2:59 PM, Lian, George (NSB - CN/Hangzhou) < george.l...@nokia-sbell.com> wrote: > Hi, >

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-20 Thread Lian, George (NSB - CN/Hangzhou)
Hi, Sorry, there seems still have issue. We use “dd” application of linux tools instead of my demo program, and if the file is not exist before dd, the issue still be there. The test command is rm -rf /mnt/test/file.txt ; dd if=/dev/zero of=/mnt/test/file.txt bs=512 count=1 oflag=sync;stat

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-20 Thread Lian, George (NSB - CN/Hangzhou)
>>>We recently identified an issue with stat-prefetch. Fix can be found at: >>>https://review.gluster.org/#/c/20410/11 >>>Can you let us know whether this helps? The patch can resolve this issue, I have verified in Gluster 4.2(master trunk branch) and Gluster 3.12.3! Thanks & Best Regards,

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-20 Thread Raghavendra Gowdappa
On Fri, Jul 20, 2018 at 1:22 PM, Lian, George (NSB - CN/Hangzhou) < george.l...@nokia-sbell.com> wrote: > >>>We recently identified an issue with stat-prefetch. Fix can be found at: > > >>>https://review.gluster.org/#/c/20410/11 > > > > >>>Can you let us know whether this helps? > > > > > > The

[Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-19 Thread Lian, George (NSB - CN/Hangzhou)
Hi, Gluster Experts, In glusterfs version 3.12.3, There seems a “fstat” issue for ctime after we use fsync, We have a demo execute binary which write some data and then do fsync for this file, it named as “tt”, Then run tar command right after “tt” command, it will always error with “tar:

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-19 Thread Raghavendra Gowdappa
On Thu, Jul 19, 2018 at 2:29 PM, Lian, George (NSB - CN/Hangzhou) < george.l...@nokia-sbell.com> wrote: > Hi, Gluster Experts, > > > > In glusterfs version 3.12.3, There seems a “fstat” issue for ctime after > we use fsync, > > We have a demo execute binary which write some data and then do fsync

Re: [Gluster-devel] The ctime of fstat is not correct which lead to "tar" utility error

2018-07-19 Thread Pranith Kumar Karampuri
+Ravi On Thu, Jul 19, 2018 at 2:29 PM, Lian, George (NSB - CN/Hangzhou) < george.l...@nokia-sbell.com> wrote: > Hi, Gluster Experts, > > > > In glusterfs version 3.12.3, There seems a “fstat” issue for ctime after > we use fsync, > > We have a demo execute binary which write some data and then