summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* booster: Add rmdir APIShehjar Tikoo2009-05-051-0/+19
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add mkdir APIShehjar Tikoo2009-05-051-0/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Add log messageShehjar Tikoo2009-05-051-0/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up pwrite64Shehjar Tikoo2009-05-051-4/+6
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up pwriteShehjar Tikoo2009-05-051-6/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up lseek64Shehjar Tikoo2009-05-051-1/+6
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up lseekShehjar Tikoo2009-05-051-2/+6
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up writeShehjar Tikoo2009-05-051-18/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up writevShehjar Tikoo2009-05-051-21/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up pread64Shehjar Tikoo2009-05-051-4/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up preadShehjar Tikoo2009-05-051-4/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean-up readvShehjar Tikoo2009-05-051-16/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* booster: Clean up readShehjar Tikoo2009-05-051-19/+5
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>