summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stripe init 'block-size' pattern parsing bug fixed.2.0.1Amar Tumballi2009-05-081-59/+78
| | | | | | ref: http://savannah.nongnu.org/bugs/?26416 Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* scheduler-nufa: fix initialization of refresh-intervalRaghavendra G2009-05-081-8/+10
| | | | | | | | - refresh-interval was being reported as not provided in the options even when configured. - fixes bug reported in rt #1007 Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Set op_errno properly in afr_flush.Vikas Gorur2009-05-081-0/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add fstab parsing supportShehjar Tikoo2009-05-084-59/+467
| | | | | | | | | | | | | This commit changes the booster.conf format from a simple custom format to that of the /etc/fstab.c See booster_mount(..) for the mount options supported/required for LD_PRELOADing booster. I'll write a small help doc soon. This commit also brings in fstab parsing code into libglusterfs because Darwin libc only supports reading the hardcoded /etc/fstab. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Standardize conf file and env variableShehjar Tikoo2009-05-081-2/+2
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* backend-xattr-sanitize.sh: script added to extras/Anand V. Avati2009-05-072-1/+67
| | | | | | | | Run the script as: sh$ ./backend-xattr-sanitize.sh /data/export0 and it will remove all the known stale xattrs on the backend files and dirs
* valid_host_name(): accept string lengths upto 75 chars (the limit accepted ↵Anand V. Avati2009-05-071-1/+1
| | | | by glibc resolver)
* symlink-cache: fix return value of readlinkRaghavendra G2009-05-071-2/+2
| | | | | | | | | - sc_readlink wrongly returned strlen (link) + 1 when link was present in cache. - this fixes rt #828. Since fuse_readlink_cbk does link[op_ret] = '\0', there was a memory corruption. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* fix in mount.glusterfs for proper direct io mode option.Amar Tumballi2009-05-071-1/+1
| | | | | | | fixes the bug which causes GlusterFS not to have valid 'direct-io' option through mount command or /etc/fstab entries. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* protocol/client: indentation fixesAnand V. Avati2009-05-071-926/+737
|
* protocol/client: removed conf->childAnand V. Avati2009-05-072-603/+0
|
* transport shortcut b/w client and serverAnand V. Avati2009-05-074-2/+131
| | | | | | This patch makes the server pass back the transport pointer of the client. If the UUID matches, the client makes the local transport 'shortcut' with the remote transport (pointer received from server) The shortcut simulates a socket queue. Instead of serialized messages going over the network and getting queued in the tcp socket queue, the messages get queued in a transport specific queue picked by a polling thread.
* fix log message from transport-timeout to frame-timeoutAnand V. Avati2009-05-061-1/+1
|
* libglusterfsclient: Improve readdir conformance on re-entrancyShehjar Tikoo2009-05-062-23/+63
| | | | | | | | | | | readdir is supposed to be non-re-entrant only with respect to the given dir stream, not the whole process. What that means is the static struct dirent that we maintain in libglusterfsclient should be per-directory handle and not process-wide. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Fix large directory reading bugShehjar Tikoo2009-05-061-3/+16
| | | | | | | | | | | | | | As of now, we use 1024 bytes as the buffer for reading directory entries. If a directory as many files, then its possible that it does not fit into this buffer, thereby requiring more than one call to readdir. Now suppose the last bunch of directories fit more or less exactly int the 1024 byte buffer. If this happens, the offset extracted by the current logic(in libgf_client_readdir) never gets updated beyond the first entry in this last block, because the last block's first entry always remains same. This explanation is convoluted, I know, but I too found out the hard way. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Use CONFDIR as booster.conf default locationShehjar Tikoo2009-05-061-1/+1
| | | | | | | | This commit changes the default location of the booster.conf file from /etc/booster.conf to a directory defined during the build process. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Change booster conf env var nameShehjar Tikoo2009-05-061-1/+2
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* afr self-heal: update file size of the returning stat buf with source file's ↵Anand V. Avati2009-05-061-0/+1
| | | | size
* log level fixes in read-aheadAnand V. Avati2009-05-051-6/+6
|
* log level fix in storage/posixAnand V. Avati2009-05-051-1/+1
|
* io-cache logging level fixesAnand V. Avati2009-05-054-33/+32
|
* libglusterfsclient: Add 0-byte size/count guardsShehjar Tikoo2009-05-051-0/+144
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add lchown APIShehjar Tikoo2009-05-051-0/+23
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add remove APIShehjar Tikoo2009-05-051-0/+22
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add getxattr,lgetxattr APIShehjar Tikoo2009-05-051-1/+47
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add readdir64 APIShehjar Tikoo2009-05-052-1/+14
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add statvfs APIShehjar Tikoo2009-05-052-0/+65
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add statfs APIShehjar Tikoo2009-05-052-0/+64
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add lstat APIShehjar Tikoo2009-05-052-0/+127
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add fstat APIShehjar Tikoo2009-05-052-0/+141
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add stat APIShehjar Tikoo2009-05-053-2/+153
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add closedir APIShehjar Tikoo2009-05-051-0/+33
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add readdir APIShehjar Tikoo2009-05-051-0/+32
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add opendir APIShehjar Tikoo2009-05-051-0/+51
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add realpath APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add readlink APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add symlink APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add unlink APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add mkfifo APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add mknod APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add utime APIShehjar Tikoo2009-05-051-0/+22
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add utimes APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add rename APIShehjar Tikoo2009-05-051-0/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add link APIShehjar Tikoo2009-05-051-0/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add ftruncate APIShehjar Tikoo2009-05-051-0/+23
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add fsync APIShehjar Tikoo2009-05-051-0/+23
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add fchown APIShehjar Tikoo2009-05-051-0/+25
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add fchmod APIShehjar Tikoo2009-05-051-1/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add chown APIShehjar Tikoo2009-05-051-0/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add chmod APIShehjar Tikoo2009-05-051-0/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>