[Gluster-devel] portability

2014-05-15 Thread Emmanuel Dreyfus
outside of generic rules (.c.o:) -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] corrupted hash table

2014-05-17 Thread Emmanuel Dreyfus
} -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] corrupted hash table

2014-05-21 Thread Emmanuel Dreyfus
inode = tmp; 765 break; 766 } 767 } -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http

Re: [Gluster-devel] corrupted hash table

2014-05-21 Thread Emmanuel Dreyfus
Raghavendra Gowdappa rgowd...@redhat.com wrote: Is it possible to get valgrind reports Still no valgrind for NetBSD (or a test case which caused this crash)? It happens after some time, but I have no way to reproduce it quickly. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

[Gluster-devel] struct dirent in snapview-server.c

2014-06-01 Thread Emmanuel Dreyfus
the struct dirent comes from? Is it from a readdir() system call? In that case I need to translate the structure, but it may be wiser to do it earlier, i.e. just after readdir() call. Anyone can tell me how this is supposed to work? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] struct dirent in snapview-server.c

2014-06-01 Thread Emmanuel Dreyfus
. A look at the sources suggests it fills d_off in other places, but never use it. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster

Re: [Gluster-devel] Running gfid-mismatch.t on NetBSD

2014-07-03 Thread Emmanuel Dreyfus
Pranith Kumar Karampuri pkara...@redhat.com wrote: Yes this is the expected behavior. Then is the not ok 11 something I should see? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel

Re: [Gluster-devel] Small note on 'dd'�and cross platform block sizes

2014-07-11 Thread Emmanuel Dreyfus
Jeff Darcy jda...@redhat.com wrote: Does the BSD version also support status=none It seems to be msgfmt=quiet We can define a dd shell function that does /bin/dd status=none or /bin/dd msgfmt=quiet depending of the system -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] Small note on 'dd'?and cross platform block sizes

2014-07-11 Thread Emmanuel Dreyfus
Jeff Darcy jda...@redhat.com wrote: We can define a dd shell function that does /bin/dd status=none or /bin/dd msgfmt=quiet depending of the system That definitely looks like the way to go. Thanks! Or a shell alias. I see we already define some in tests/include.rc -- Emmanuel Dreyfus

[Gluster-devel] failing basic/afr/self-heal.t

2014-07-12 Thread Emmanuel Dreyfus
are flowing in glustershd.log, and there is a glusterfs --volfile-id gluster/glustershd running. That seems to suggest gluster volume status is broken, and it does not report the self heal daemon while it is working. Any hint on how to track that problem down? -- Emmanuel Dreyfus http

Re: [Gluster-devel] failing basic/afr/self-heal.t

2014-07-13 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: That seems to suggest gluster volume status is broken, and it does not report the self heal daemon while it is working. Any hint on how to track that problem down? A hint that the problem may be in glusterd: if I restart glusterd it reports the self

[Gluster-devel] P

2014-07-13 Thread Emmanuel Dreyfus
Hello I will be talking in EuroBSDcon 2014 about porting glusterFS to NetBSD. This is a conference with proceedings, hence I am writing a paper on the topic. I am looking for a glusterFS expert that could point errors about it. Any taker? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

[Gluster-devel] Paper about GlusterFS on NetBSD

2014-07-13 Thread Emmanuel Dreyfus
? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] P

2014-07-14 Thread Emmanuel Dreyfus
Raghavendra Gowdappa rgowd...@redhat.com wrote: I can help you out with the review of the paper. Here is it, please send a diff with your changes: http://ftp.espci.fr/shadow/manu/fuse.txt -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] Paper about GlusterFS on NetBSD

2014-07-14 Thread Emmanuel Dreyfus
Raghavendra Gowdappa rgowd...@redhat.com wrote: What is the time-line you want this to be reviewed within? I am busy this week. Is it ok if I can pick this up after this week? If it is very urgent I can try to allocate some time for it. Next week is fine, no problem. -- Emmanuel Dreyfus

Re: [Gluster-devel] glustershd status

2014-07-16 Thread Emmanuel Dreyfus
not send them now since I cannot test them. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] glustershd status

2014-07-17 Thread Emmanuel Dreyfus
. If it is stoped and started again, glustershd will never report back. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] NetBSD autobuild and cmockery2

2014-07-23 Thread Emmanuel Dreyfus
! What binaries should be linked with -lcmockery2 ? -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] NetBSD autobuild and cmockery2

2014-07-23 Thread Emmanuel Dreyfus
On Wed, Jul 23, 2014 at 01:09:57PM +, Emmanuel Dreyfus wrote: I need help here: that restores the build, but I also had to fiddle with CFLAGS and LIBS, and I am not sure I did it it in the intended way. I am probbaly wrong since now glusterd breaks on startup because of cmockery2: Guard

Re: [Gluster-devel] NetBSD autobuild and cmockery2

2014-07-23 Thread Emmanuel Dreyfus
be valid here? The change just disable cluster/ec when MMX is not there. If you have MMX you have cluster/ec. Why does cluster/ec depends on MMX, btw? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel

Re: [Gluster-devel] NetBSD autobuild and cmockery2

2014-07-23 Thread Emmanuel Dreyfus
in a GF(2^8) with modulus 0x11D using XOR's Optimization are desirable, but relying on a CPU-specific assembly seems wrong to me, as it kills portability (what about if you want to run on ARM?) -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] NetBSD autobuild and cmockery2

2014-07-23 Thread Emmanuel Dreyfus
if that pass autobuild. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] NetBSD autobuild and cmockery2

2014-07-24 Thread Emmanuel Dreyfus
Justin Clift jcl...@redhat.com wrote: As a thought is this hours or days or etc away? As we way in french Un tiens vaut mieux que deux tu l'auras, which translated into less now is better than perhaps more later -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] FreeBSD build added

2014-07-27 Thread Emmanuel Dreyfus
-- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] FreeBSD build added

2014-07-27 Thread Emmanuel Dreyfus
on an interesting target is even better. What CPU are we interesed in? -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] NetBSD and FreeBSD smoke tests are enabled

2014-07-28 Thread Emmanuel Dreyfus
for it. I will give it a try and report, but in the meantime I will disable it for release-3.6 I confirm it is broken for branch-3.6, and I do not find how to disable it for reelase-3.6 but not master. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel

Re: [Gluster-devel] NetBSD and FreeBSD smoke tests are enabled

2014-07-28 Thread Emmanuel Dreyfus
On Mon, Jul 28, 2014 at 12:34:50PM +, Emmanuel Dreyfus wrote: NetBSD builds master, but I am not sure NetBSD build release-3.6 right now, as I have not yet pulled up the latest fixes for it. I will give it a try and report, but in the meantime I will disable it for release-3.6 release-3.6

[Gluster-devel] glustershd detection after restart

2014-08-03 Thread Emmanuel Dreyfus
/646/console Anyone has some hinsight about why it breaks? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] glustershd detection after restart

2014-08-03 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: I posted an attempt to fix it here: http://review.gluster.com/8403 More thoughts on it: On glusterd startup, first attempt to connect to the socket gets ECONNREFUSED, and that works fine later once glustershd has setup its socket, things work fine

[Gluster-devel] $B1 in tests

2014-08-07 Thread Emmanuel Dreyfus
, which explains it goes wrong. But I do not find where it could be defined. Hence the questions: 1) Why $B1 instead of $B0? 2) How does it pass on Linux? 3) tests/snapshot.rc defines B1=$B0. Is it okay to move that to tests/include.rc ? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] $B1 in tests

2014-08-07 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Um, we also have $B2 to $B6, which are sometime correctly defined, sometime not. The places where definition exist suggest we should have B$i=/d/backends/$i And what about basic/mgmt_v3-locks.t ? It uses $B1, $B2, $B3, $H1, $H2 and $H3 without ever

Re: [Gluster-devel] $B1 in tests

2014-08-07 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: And what about basic/mgmt_v3-locks.t ? It uses $B1, $B2, $B3, $H1, $H2 and $H3 without ever defining them. Perhaps this is why that specific test randomly fails? I was wrong, this is defined in cluster.rc: eval H$i=${CLUSTER_PFX}.$i; (...) eval B$i=$B0

[Gluster-devel] 32/64 bits portability

2014-08-10 Thread Emmanuel Dreyfus
developer want to give it a try for the sake of portability. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] how does meta xlator work?

2014-08-10 Thread Emmanuel Dreyfus
Hi I am working on tests/basic/meta.t on NetBSD It fails because .meta/frames is empty, like all files in .meta. A quick investigation in source code shows that the function responsible for filling the code (frames_file_fill) is never called. How is it supposed to work? -- Emmanuel Dreyfus

Re: [Gluster-devel] how does meta xlator work?

2014-08-11 Thread Emmanuel Dreyfus
that reads happens anyway. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] how does meta xlator work?

2014-08-11 Thread Emmanuel Dreyfus
. While there I see there is a FUSE_FOPEN_KEEP_CACHE and FUSE_FOPEN_NONSEEKABLE. I assume the later means seek should return an error (which one?), but what does the first one do? There is no real documentation about this aside from Linux kernel sources... -- Emmanuel Dreyfus http://hcpnet.free.fr

Re: [Gluster-devel] how does meta xlator work?

2014-08-12 Thread Emmanuel Dreyfus
good enough. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] how does meta xlator work?

2014-08-13 Thread Emmanuel Dreyfus
Harshavardhana har...@harshavardhana.net wrote: Can you point me to the change? would like to test it out. These are only NetBSD fixes: http://ftp.espci.fr/shadow/manu/iodirect2.patch netbsd0.cloud.gluster.org runs with them right now. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

[Gluster-devel] in dict.c, this gets replace by environment

2014-08-13 Thread Emmanuel Dreyfus
0xbb140648: 0xbf7fff63 0xbf7fff70 (gdb) x/1s 0xbf7ffeed 0xbf7ffeed: MAIL=/var/mail/root (gdb) x/1s 0xbf7fff01 0xbf7fff01: BLOCKSIZE=1k (gdb) x/1s 0xbf7fff0e 0xbf7fff0e: PWD=/autobuild/glusterfs Oddly, rebooting the machine fixes the problem. -- Emmanuel Dreyfus http

[Gluster-devel] READDIR bug in NFS server (wasl: mount.t oddity)

2014-08-15 Thread Emmanuel Dreyfus
Sorry for the missing subject, here it is. On Thu, Aug 14, 2014 at 02:10:16PM +, Emmanuel Dreyfus wrote: I observe a strange thing with tests/basic/mount.t on NetBSD. It hangs on TEST 23 (line 66): ! rm /mnt/glusterfs/1/newfile I came to the conclusion this is a bug in GlusterFS NFS

Re: [Gluster-devel] READDIR bug in NFS server (wasl: mount.t oddity)

2014-08-15 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Fixing this is not straightforward. The eof field is set in the NFS reply frame by nfs3_fill_readdir3res() when op_errno is ENOENT. Here is below the kind of backtrace to nfs3_fill_readdir3res() I get when mounting the NFS filesystem. Further debugging

Re: [Gluster-devel] READDIR bug in NFS server (wasl: mount.t oddity)

2014-08-15 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Here local-op_errno = 0 and op_errno = 2 (ENOENT). I suspect op_ret is not set correctly. I will explore further later. Here is a possible fix: http://review.gluster.org/8493 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] in dict.c, this gets replace by environment

2014-08-19 Thread Emmanuel Dreyfus
0xbb75a500 in get_new_dict_full (size_hint=1) at dict.c:50 #7 0xbb75a60b in dict_new () at dict.c:101 #8 0x080508d1 in cli_quotad_clnt_rpc_init () at cli.c:531 #9 0x08050def in main (argc=4, argv=0xbf7fec58) at cli.c:705 -- Emmanuel Dreyfus m...@netbsd.org

[Gluster-devel] NetBSD patch backlog

2014-08-20 Thread Emmanuel Dreyfus
Hi I accumulated a few NetBSD patches that were all validated but still await review. Anyone would like to help moving them forward? Everything is there: http://review.gluster.org/#/q/owner:%22Emmanuel+Dreyfus%22+status:open,n,z -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] Change in glusterfs[master]: Regression test portability: mktemp

2014-08-20 Thread Emmanuel Dreyfus
Harshavardhana har...@harshavardhana.net wrote: ERROR: Could not clone repository Using git over ssh often fails, is it the same problem? I never investigated, but using HTTP is reliable. I often have to run rfc.sh three or four times before it works. -- Emmanuel Dreyfus http://hcpnet.free.fr

[Gluster-devel] rpc-coverage.t questions

2014-08-28 Thread Emmanuel Dreyfus
hooha $PFX/dir/file sleep 1'); +echo hooha $PFX/dir/file +sleep 1 +msg=$(sh -c 'tail $PFX/dir/file') -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http

Re: [Gluster-devel] rpc-coverage.t questions

2014-08-29 Thread Emmanuel Dreyfus
On Thu, Aug 28, 2014 at 10:10:34PM -0700, Harshavardhana wrote: Same changes i did for FreeBSD, these are applicable for OSX too - Thanks +1 :-) I will submit later today. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster

[Gluster-devel] NetBSD port passes POSIX test suite

2014-09-05 Thread Emmanuel Dreyfus
like to pullup the glusterFS changes to release-3.6 once everything is in master, but when was release-3.6 branched? It would help to spot the changes to pullup. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org

Re: [Gluster-devel] NetBSD port passes POSIX test suite

2014-09-05 Thread Emmanuel Dreyfus
Harshavardhana har...@harshavardhana.net wrote: release-3.6 is already done some time ago - you have to post all the patches to release-3.6 branch. How much time ago? It would help to knowif I have to consider e.g. patches from 18th august. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

Re: [Gluster-devel] NetBSD port passes POSIX test suite

2014-09-05 Thread Emmanuel Dreyfus
Vijay Bellur vbel...@redhat.com wrote: release-3.6 was branched on 17th July. That is a lot of patches to pull-up. What is the planned release date for 3.6? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing

[Gluster-devel] basic/afr/gfid-self-heal.t on release-3.6/NetBSD

2014-09-05 Thread Emmanuel Dreyfus
tests pass both master/NetBSD and release-3.6/NetBSD Any hint? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] basic/afr/gfid-self-heal.t on release-3.6/NetBSD

2014-09-06 Thread Emmanuel Dreyfus
that change to release-3.6? The patch will not apply cleanly, it requires previous changes, but perhaps it is worth working on it? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org

[Gluster-devel] Brick replace

2014-09-06 Thread Emmanuel Dreyfus
:44.041636] I [client.c:2215:client_rpc_notify] 0-patchy-replace-brick: disconnected from patchy-replace-brick. Client process will keep trying to connect to glusterd until brick's port is available Any hint of where to look at? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

[Gluster-devel] truncating grouplist

2014-09-06 Thread Emmanuel Dreyfus
a group list is truncated if my system cannot handle the missing groups anyway. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster

[Gluster-devel] Another transaction is in progress

2014-09-06 Thread Emmanuel Dreyfus
:glusterd_lock] 0-management: Unable to get lock for uuid: 078015de-2186-4bd7-a4d1-017e39c16dd3, lock held by: 078015de-2186-4bd7-a4d1-017e39c16dd3 This UUID is a brick whose log file will not tell anything particular. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] Another transaction is in progress

2014-09-07 Thread Emmanuel Dreyfus
a glusterd restart. I will try with release-3.6 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Another transaction is in progress

2014-09-07 Thread Emmanuel Dreyfus
Atin Mukherjee amukh...@redhat.com wrote: I still have the message after a glusterd restart. I will try with release-3.6 Can you restart the originator glusterd node as well? After restarting all glusterfsd and glusterd, it recovers. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

Re: [Gluster-devel] Brick replace

2014-09-07 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: I try getting tests/basic/pump.t to pass on NetBSD, but after a few experiments, it seems the brick replace functionality is just broken. I found the problem(s). First there are hardcoded /bin/umount path in glusterd, which works on Linux but not other

Re: [Gluster-devel] Lazy umount emulation

2014-09-09 Thread Emmanuel Dreyfus
must happen in a lazy manner. And since *BSD do not have a /etc/mtab, there is really no requirement. I will resubmit a change without lazy umount emulation. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org

Re: [Gluster-devel] Lazy umount emulation

2014-09-09 Thread Emmanuel Dreyfus
latest patch to fix replace-brick on NetBSD. http://review.gluster.org/#/c/8649/ Please review. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] How does GD_SYNCOP work?

2014-09-10 Thread Emmanuel Dreyfus
on the stack in gd_syncop_mgmt_brick_op(), Anyone has an idea of what is going on? -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] more patch review request

2014-09-10 Thread Emmanuel Dreyfus
http://review.gluster.org/8649 http://review.gluster.org/8596 backports to release-3.6 http://review.gluster.org/8629 http://review.gluster.org/8631 http://review.gluster.org/8636 -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-11 Thread Emmanuel Dreyfus
by Emmanuel. Though have a robust kqueue() which may need some work. If you have a Linux build at hand it should be easy to test: rebuild with configure --disable-epoll and try to run self_heald.t -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-11 Thread Emmanuel Dreyfus
behavior here? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Change in glusterfs[master]: Do not hardcode umount(8) path, Do not umount too early.

2014-09-11 Thread Emmanuel Dreyfus
(), there is no more pending activity and umount succeeds without lazy unmount. That is the Do no umount too early part of my patchset. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-11 Thread Emmanuel Dreyfus
-socket.management: not connected (priv-connected = -1) [2014-09-12 04:19:35.266139] E [rpcsvc.c:1249:rpcsvc_submit_generic] 0-rpc-service: failed to submit message (XID: 0x1, Program: GlusterD svc cli, ProgVers: 2, Proc: 31) to rpc-transport (socket.management) -- Emmanuel Dreyfus http://hcpnet.free.fr

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-12 Thread Emmanuel Dreyfus
On Fri, Sep 12, 2014 at 06:31:55AM +0200, Emmanuel Dreyfus wrote: It is fine for me that glusterd_bricks_select_heal_volume() finds 3 bricks, they are the 3 remaining alive bricks. However I am surprised to see the first in the list having rpc-conn.name = management. It should be a brick name

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-12 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: I will not look for why this offset is corrupted. s/not/now/ of course... -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http

Re: [Gluster-devel] How does GD_SYNCOP work?

2014-09-13 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Here is the problem: once readdir() has reached the end of the directory, on Linux, telldir() will report the last entry's offset, while on NetBSD, it will report an invalid offset (it is in fact the offset of the next entry beyond the last one, which

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-13 Thread Emmanuel Dreyfus
behavior to match xlator/storage/posix? There is also xlator/features/snapview-server that may be affected. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-14 Thread Emmanuel Dreyfus
see it calls opendir/closedir on each readdir. Do we know the answer to Avati's question about how readdir works for nfs handles? Not yet. I asked in the relevant mailing list and I still await for a reply. I suspect we hit a dark area within a grey area :-) -- Emmanuel Dreyfus http

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-14 Thread Emmanuel Dreyfus
Pranith Kumar Karampuri pkara...@redhat.com wrote: If we hit a dead-end there we should make this change in self-heald.c Keep us posted. Sure. In the meantime I am stil linterested by your change about non anonymous fd in features/index -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-15 Thread Emmanuel Dreyfus
unspecified behavior. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-15 Thread Emmanuel Dreyfus
doing? I do not have the answer yet, stay tuned. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] How to fix wrong telldir/seekdir usage

2014-09-18 Thread Emmanuel Dreyfus
in userland, and adding a node will not invalidate them. I have to run tess to confirm, though. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] GlusterFest Test Week

2014-09-18 Thread Emmanuel Dreyfus
to merge for 2.6.0, or is 3.6.1 the target here? -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] Lazy umount emulation

2014-09-20 Thread Emmanuel Dreyfus
is for rmdir) What is the preferred way? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Lazy umount emulation

2014-09-21 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: 2) spawn an independant process. I could write a external program in contrib that does the job, on lazy umount request, just fork and execute it. Since the external program runs with the privilege of whoever calls it, there is no security issue. I gave

Re: [Gluster-devel] CentOS 7: Gluster Test Framework testcases failure

2014-09-25 Thread Emmanuel Dreyfus
start by the first failing test, and run it by hand line by line to see where it first chokes. Best candidates are race conditions and 32/64 bits issues. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster

[Gluster-devel] opendir gets Stale NFS file handle

2014-09-29 Thread Emmanuel Dreyfus
, data@entry=error reading variable: Cannot access memory at address 0xb9b2cfd4) at io-threads.c:214 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org

Re: [Gluster-devel] io-threads problem? (was: opendir gets Stale NFS file handle)

2014-09-30 Thread Emmanuel Dreyfus
with that on a production machine where data should not be deleted like that. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] io-threads problem? (was: opendir gets Stale NFS file handle)

2014-09-30 Thread Emmanuel Dreyfus
not observe it anymore. I will report if it comes back. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] posix-compliance smoke test on netbsd7

2014-10-06 Thread Emmanuel Dreyfus
Hello I am enabling posix-compliance smoke tests on netbsd7. The build may be failing a bit on that node for the next hours until I fix every bit. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster

Re: [Gluster-devel] posix-compliance smoke test on netbsd7

2014-10-06 Thread Emmanuel Dreyfus
On Mon, Oct 06, 2014 at 01:25:55PM +0200, Emmanuel Dreyfus wrote: I am enabling posix-compliance smoke tests on netbsd7. The build may be failing a bit on that node for the next hours until I fix every bit. It works now. Now real change set was harmed by the tests. However, other machines

Re: [Gluster-devel] question on crypt xlator

2014-10-09 Thread Emmanuel Dreyfus
(line 61): diff -u /mnt/glusterfs/0/testfile-symlink /tmp/patchy-goodfile diff: /mnt/glusterfs/0/testfile-symlink: Invalid argument not ok 26 RESULT 26: 2 2) What endianess does your machine have? Little endian (i386) -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] question on crypt xlator

2014-10-10 Thread Emmanuel Dreyfus
) and it passed the test with success: EXPECT_WITHIN $UMOUNT_TIMEOUT Y force_umount $M0 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo

[Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-12 Thread Emmanuel Dreyfus
* that was not obtained by opendir(), or that was closedir() and then opendir() again. Can someone explain me what directory walks are introduced by quota, and where opendir/readdir/closedir happen for that? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-12 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: This means something either seekdir on a DIR * that was not obtained by opendir(), or that was closedir() and then opendir() again. Can someone explain me what directory walks are introduced by quota, and where opendir/readdir/closedir happen

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-12 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Erratum: it happens because it attempts to seekdir to the offset obtained for last record. But I still have to find what code is sending the request. Here is the king of debug trace I have: [quota.c:3959:quota_readdirp] 0-XXXmanu: fd = 0xbb242818

Re: [Gluster-devel] jdarcy status (October 2014)

2014-10-12 Thread Emmanuel Dreyfus
it is not easily portable. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-12 Thread Emmanuel Dreyfus
Emmanuel Dreyfus m...@netbsd.org wrote: Erratum: it happens because it attempts to seekdir to the offset obtained for last record. But I still have to find what code is sending the request. This is a find(1) probably forked by quota-crawld glusterd. In fact running a find . in the fs

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-13 Thread Emmanuel Dreyfus
and NetBSD FUSE. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-13 Thread Emmanuel Dreyfus
))) +if ((!readdir (dir) (errno == 0))) { /* Indicate EOF */ errno = ENOENT; +/* Set invalid offset for later detection */ +this_entry-d_off = INVALID_DIRENT_OFFSET; +} out: return count; } -- Emmanuel Dreyfus m

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-13 Thread Emmanuel Dreyfus
of the buffer. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-13 Thread Emmanuel Dreyfus
On Mon, Oct 13, 2014 at 02:58:12PM +0530, Pranith Kumar Karampuri wrote: I do not know :-(. Send the patch out for review, may be someone with this knowledge can do the review... Here it is: http://review.gluster.org/8926 -- Emmanuel Dreyfus m...@netbsd.org

Re: [Gluster-devel] quota

2014-10-13 Thread Emmanuel Dreyfus
bug? I assume it is expected but undesirable behavior: couldn't we check for quota space left, and avoid write behind if we aregoing to hit the barrier? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-14 Thread Emmanuel Dreyfus
On Mon, Oct 13, 2014 at 10:04:33AM +, Emmanuel Dreyfus wrote: Here it is: http://review.gluster.org/8926 It passed regression, please review. Linux behavior is unaltered. -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster-devel mailing list Gluster

Re: [Gluster-devel] quota

2014-10-14 Thread Emmanuel Dreyfus
On Tue, Oct 14, 2014 at 11:55:31AM -0400, Justin Clift wrote: Would you be ok to fix the embedded tabs and trailing whitespace in that? :) That's a computer's job. Perahps it could be done automaticaly? -- Emmanuel Dreyfus m...@netbsd.org ___ Gluster

Re: [Gluster-devel] question on crypt xlator

2014-10-14 Thread Emmanuel Dreyfus
the attached version of crypt.t and report results? It passes. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel mailing list Gluster-devel@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Invalid DIR * usage in quota xlator

2014-10-14 Thread Emmanuel Dreyfus
will work on non-Linux platforms in that case. Differrent case: seekdir/telldir operate at libc level on data cached in userland. NFS READDIR operates on data in the kernel. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org ___ Gluster-devel

  1   2   3   4   5   6   >