Re: [Gluster-devel] question on crypt xlator

2014-10-15 Thread Emmanuel Dreyfus
Edward Shishkin wrote: > I am sorry, but it seems that the fastest option would be to pass > me root permissions on your machine. So I can set gdb breakpoints > to find out what is going wrong. Please, explore such possibility, > and let me know the result. You can experiment on netbsd0.cloud.gl

Re: [Gluster-devel] question on crypt xlator

2014-10-15 Thread Justin Clift
- Original Message - > I am sorry, but it seems that the fastest option would be to pass > me root permissions on your machine. So I can set gdb breakpoints > to find out what is going wrong. Please, explore such possibility, > and let me know the result. Feel free to spin up another NetB

Re: [Gluster-devel] question on crypt xlator

2014-10-15 Thread Edward Shishkin
On Wed, 15 Oct 2014 04:22:37 +0200 m...@netbsd.org (Emmanuel Dreyfus) wrote: Hello Emmanuel, > Edward Shishkin wrote: > > > Thanks for the report, > > I am still not sure that symlinks are the culprit. > > Um, you link on a symlink? That could be the answer: Linux links on > the symlink whil

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

2014-10-15 Thread J. Bruce Fields
On Wed, Oct 15, 2014 at 07:42:25PM +0200, Emmanuel Dreyfus wrote: > J. Bruce Fields wrote: > > > You're assuming no filesystem uses -1 as a cookie? > > Might be true, but it's taking a small chance. > > Latest version does not work like this anymore: when EOF is reached, > current offset is reco

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

2014-10-15 Thread Emmanuel Dreyfus
J. Bruce Fields wrote: > (It'd still be better to figure out how to get stable directory cookies, > possibly using some other interface, but that's a preexisting problem > not introduced by c65d4ea8a10a). getdents(2) seems the way to go. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netb

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

2014-10-15 Thread Emmanuel Dreyfus
J. Bruce Fields wrote: > You're assuming no filesystem uses -1 as a cookie? > Might be true, but it's taking a small chance. Latest version does not work like this anymore: when EOF is reached, current offset is recorded in pfd->dir_eof, and we fire EINVAL if seekdir() failed to set the offset a

Re: [Gluster-devel] Reminder: Weekly GlusterFS Community Meeting

2014-10-15 Thread Kaleb S. KEITHLEY
Hmmm, we seem to have not sent meeting minutes for the past couple of meetings. :-( Minutes: http://meetbot.fedoraproject.org/gluster-meeting/2014-10-15/gluster-meeting.2014-10-15-12.03.html http://meetbot.fedoraproject.org/gluster-meeting/2014-10-15/gluster-meeting.2014-10-15-12.03.txt http

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

2014-10-15 Thread J. Bruce Fields
On Mon, Oct 13, 2014 at 08:57:11AM +, Emmanuel Dreyfus wrote: > On Mon, Oct 13, 2014 at 01:42:38PM +0530, Pranith Kumar Karampuri wrote: > > >No bug here, just suboptimal behavior, both in glusterfs and NetBSD FUSE. > > oh!, but shouldn't it get op_ret = 0 instead of op_ret -1, op_errno EINVAL?

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

2014-10-15 Thread J. Bruce Fields
On Tue, Oct 14, 2014 at 03:43:49PM -0400, bfields wrote: > On Sun, Oct 12, 2014 at 10:09:01AM +0200, Emmanuel Dreyfus wrote: > > When quota xlator is enabled, bricks get this: > > > > [2014-10-12 07:56:03.090516] E [posix.c:4874:posix_fill_readdir] > > 0-patchy-posix: seekdir(-1154801456) failed o

Re: [Gluster-devel] glusterfs replica volume self heal lots of small file very very slow!!why?how to improve?

2014-10-15 Thread Pranith Kumar Karampuri
On 10/08/2014 07:50 PM, Joe Julian wrote: To the author: You're cross posting user questions in the devel mailing list. You're not asking development questions. Please don't do that. To Pranith et al: On 10/8/2014 1:45 AM, justgluste...@gmail.com wrote: * then I config :* *cluster.self-he

Re: [Gluster-devel] glusterfs replica volume self heal lots of small file very very slow!!why?how to improve?

2014-10-15 Thread Pranith Kumar Karampuri
On 10/08/2014 02:15 PM, justgluste...@gmail.com wrote: Hi all: I do the following test: I create a glusterfs replica volume (replica count is 2 ) with two server node(server A and server B),use XFS as the underlying filesystem, then mount the volume in client node, then, I shut down

[Gluster-devel] valgrind logs for glusterfs-3.4 memory leak

2014-10-15 Thread Kaleb S. KEITHLEY
As mentioned in the Gluster Community Meeting on irc today, here are the glusterfs client side valgrind logs. By 'glusterfs client side' I specifically mean the glusterfs fuse bridge daemon on the client. http://download.gluster.org/pub/gluster/glusterfs/dynamic-analysis/valgrind-3.4-memleak/

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

2014-10-15 Thread J. Bruce Fields
On Wed, Oct 15, 2014 at 01:26:19PM +0200, Emmanuel Dreyfus wrote: > Anand Avati wrote: > > > Is there a way to get hold of the directory entry cookies used by NFS > > readdir from user-space? some sort of a NetBSD specific syscall (like > > getdents of Linux)? > > NetBSD has getdents(2) too, but

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

2014-10-15 Thread J. Bruce Fields
On Wed, Oct 15, 2014 at 04:22:36AM +0200, Emmanuel Dreyfus wrote: > J. Bruce Fields wrote: > > > Is the result on non-Linux really to fail any readdir using an offset > > not returned from the current open? > > Yes, but thatnon-Linux behabvior is POSIX compliant. Linux just happens > to do more

Re: [Gluster-devel] Documentation of features in 3.6

2014-10-15 Thread Vijay Bellur
Forgot to add - the below list is by no means comprehensive. If you have contributed, reviewed or merged a new feature in release-3.6 that has no updates in admin-guide, please add them to the list or even better, please send out a documentation patch :). Thanks! Vijay On Wed, Oct 15, 2014 at 5:2

[Gluster-devel] Documentation of features in 3.6

2014-10-15 Thread Vijay Bellur
Hi All, We are aiming to document all new features, CLIs, perceivable behavior change or troubleshooting procedures for new features in admin-guide before 3.6.0 GA happens. Here is a list of features from 3.6 that already have documentation on their usage updated in admin guide: 1. Disperse -

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

2014-10-15 Thread Emmanuel Dreyfus
Anand Avati wrote: > Is there a way to get hold of the directory entry cookies used by NFS > readdir from user-space? some sort of a NetBSD specific syscall (like > getdents of Linux)? NetBSD has getdents(2) too, but it returns buffer of struct dirent that have no NFS cookies. On Linux, getdents

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

2014-10-15 Thread Anand Avati
On Tue, Oct 14, 2014 at 7:22 PM, Emmanuel Dreyfus wrote: > J. Bruce Fields wrote: > > > Is the result on non-Linux really to fail any readdir using an offset > > not returned from the current open? > > Yes, but thatnon-Linux behabvior is POSIX compliant. Linux just happens > to do more than the

Re: [Gluster-devel] quota

2014-10-15 Thread Raghavendra G
On Wed, Oct 15, 2014 at 12:01 PM, Prashanth Pai wrote: > I'm not sure if this is related but worth taking note of: write-behind > when sees a shorter write, it chooses to ignore ENOSPC or EDQUOT that it > received from the brick and will return a generic EIO sometimes. > https://bugzilla.redhat.c