summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Coding Style: Add a few pointsShehjar Tikoo2009-04-121-7/+31
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* feature to disable volumefile's checksumAmar Tumballi2009-04-122-20/+47
| | | | | | | in server volume define, "option verify-volfile-checksum no" to disable the checksum feature. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* reset errno to 0 before calling first fuse_lowlevel_new() to reliably detect ↵Anand V. Avati2009-04-121-1/+3
| | | | | | for unsupported params Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* io-threads: Remove unnecessary call to pthread_attr_setstacksizeShehjar Tikoo2009-04-121-4/+0
| | | | | | | We do not need to explicitly set the stack size to its default value. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* prefix ULL to large constants (to fix bdb build warning)Anand V. Avati2009-04-121-2/+2
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated glusterfsd to create iobuf pool at initializationAnand V. Avati2009-04-121-0/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated libglusterfsclient with IOBUF/IOBREFsAnand V. Avati2009-04-123-22/+25
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated transport/ib-verbs to use IOBUF/IOBREFsAnand V. Avati2009-04-122-14/+14
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated transport/socket to use IOBUF/IOBREFsAnand V. Avati2009-04-122-37/+43
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated mount/fuse with new readv writev prototypesAnand V. Avati2009-04-121-37/+18
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated encryption/rot-13 with new readv writev prototypesAnand V. Avati2009-04-121-4/+7
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update features/quota with new readv writev prototypesAnand V. Avati2009-04-121-7/+9
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated features/filter with new readv writev prototypesAnand V. Avati2009-04-121-4/+8
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated features/locks with new readv writev prototypesAnand V. Avati2009-04-121-8/+12
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated debug/error-gen with new readv writev prototypesAnand V. Avati2009-04-121-4/+8
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated debug/trace with new readv writev prototypesAnand V. Avati2009-04-121-4/+7
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated performance/io-cache with new readv writev prototypesAnand V. Avati2009-04-123-34/+41
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated performance/io-threads with new readv writev prototypesAnand V. Avati2009-04-121-6/+10
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update performance/read-ahead with new readv writev prototypesAnand V. Avati2009-04-123-21/+21
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update performance/write-behind with new readv writev prototypesAnand V. Avati2009-04-121-18/+18
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update protocol/server with new readv writev prototypesAnand V. Avati2009-04-123-141/+118
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated protocol/client with new readv writev prototypesAnand V. Avati2009-04-123-125/+110
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated transport interface functions to accommodate IOBUF/IOBREFAnand V. Avati2009-04-122-8/+11
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update storage/bdb with new readv writev prototypesAnand V. Avati2009-04-121-71/+26
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update storage/posix with new readv writev prototypesAnand V. Avati2009-04-121-92/+22
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/map with new readv writev prototypesAnand V. Avati2009-04-121-11/+13
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/ha with new readv writev prototypesAnand V. Avati2009-04-121-6/+10
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/dht with new readv writev prototypesAnand V. Avati2009-04-121-5/+8
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/afr with new readv writev prototypesAnand V. Avati2009-04-125-17/+20
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/stripe with new readv writev prototypesAnand V. Avati2009-04-121-13/+17
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update cluster/unify with new readv writev prototypesAnand V. Avati2009-04-121-4/+7
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* do away with frame->root->{req,rsp}_refs membersAnand V. Avati2009-04-121-2/+0
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* update prototype of writev and readv_cbk to use IOBREF in parameter (step ↵Anand V. Avati2009-04-125-27/+39
| | | | | | towards elmination of frame->root->{req,rsp}_refs Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* IOBREF support for holding iobuf refs along with fops (replacement for ↵Anand V. Avati2009-04-122-0/+152
| | | | | | frame->root->{req,rsp}_refs Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* use 128Kbyte as the channel transfer size in fuse-bridgeAnand V. Avati2009-04-121-7/+7
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* IOBUF support (to be used by transports and fuse)Anand V. Avati2009-04-124-2/+494
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* io-threads: Reduce default min and max threadsShehjar Tikoo2009-04-101-2/+2
| | | | | | | | Going by the memory usage for each threads, it is prudent to have lower number of threads by default and let users who understand the memory consequences increase the thread count for themselves. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* io-threads: Use non-default thread stack sizeShehjar Tikoo2009-04-102-1/+27
| | | | | | | | The default stack size on Linux is around 8 MiB for each thread. This is clearly too high for our purpose. This commit reduces the stack size down to 1 MiB. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* posix_unlink: make unlinking in background configurable through volume spec fileRaghavendra G2009-04-092-13/+44
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Compulsorily do self heal if file sizes differ.Vikas Gorur2009-04-096-23/+100
| | | | | | | | | If file sizes differ, then compulsorily do self-heal. If no 'wise' sources are found, then pick a 'fool' with the biggest file size. If even 'fools' aren't found, pick the 'innocent' source with the biggest file size. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Handle files which have no pending xattrs at all.Vikas Gorur2009-04-091-1/+27
| | | | | | | | If a pending xattr key is non-existent on a file (call such files 'ignorant'), make all other non-ignorant subvolumes point towards the ignorant one. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Erase xattr during self-heal based on original dict.Vikas Gorur2009-04-095-10/+27
| | | | | | | | Decrement xattr during self-heal based on the original dict instead of pending_matrix, as the pending_matrix might have been altered later. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* niftify mount(8) output for glusterfs mountsCsaba Henk2009-04-081-32/+79
| | | | | | | | | | | | Originally, mount(8) shows a glusterfs mount like this: glusterfs on <mp> type fuse With this patch, mount(8) will show a glusterfs mount like this: <volfile> on <mp> type fuse.glusterfs Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Commit package making files for FreeBSD and Solaris platform.Harshavardhana2009-04-089-0/+487
| | | | | | | | | Commit for package making related files for FreeBSD and Solaris. These files are supposed to be in repository to not loose track and update them as needed. I will update them soon for upcoming release where we support Solaris on ib fabric also. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Complete support for rmdir fopShehjar Tikoo2009-04-081-4/+36
| | | | | | | glusterfs_rmdir code path wasnt implemented completely. Here is an attempt to complete it. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Create new directory inodeShehjar Tikoo2009-04-081-0/+1
| | | | | | | | Make sure we give an allocated inode in the loc so that the underlying callbacks are able to fill it with the relevant information about the directory being created. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Return ENOENT on missing ancestor componentShehjar Tikoo2009-04-081-0/+6
| | | | | | | | If any of the path's components, except the basename, are missing from the dentry cache and the corresponding lookup from the server also fails, return an ENOENT. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Return EEXIST on lookup success in glusterfs_mkdirShehjar Tikoo2009-04-081-4/+3
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Perform explicit createShehjar Tikoo2009-04-081-4/+3
| | | | | | | | | | | We must create the file based on the O_CREATE in the flags instead of depending on the return status of the lookup. This works because we've already handled O_EXCL earlier and also handled a missing file(ENOENT) in case this was actually an open and not create. Adapted from Raghu's original patch. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* libglusterfsclient: Handle O_CREAT on lookup failureShehjar Tikoo2009-04-081-0/+15
| | | | | | | | | | | | | | | | | On lookup failure, if O_CREAT is required, then we must: 1. explicitly lookup the parent directory. 2. create a new inode for the new file being opened. This special case is required for file creation because: 1. We cannot depend on the previous lookup to have reliably looked up the parent inode. 2. inode for the new file does not exist in the itable. Patch adapted from Raghu's original fix. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>