Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logging enhances to commit d77279ef04ca75ab9715864274567d1ce0ce66a6 | Raghavendra G | 2009-04-16 | 2 | -11/+22 |
| | | | | | | - logging made more relevent. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Use original pid when calling the FOP in afr transaction. | Vikas Gorur | 2009-04-16 | 2 | -3/+42 |
| | | | | | | | | Save the original pid while locking and restore it after the FOP is done. This ensures posix-locks can release locks (fcntl) properly. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | write-behind aggregate-size related changes | Raghavendra G | 2009-04-16 | 1 | -15/+76 |
| | | | | | | | | | | | This patch brings in following changes: 1. make aggregate-size as non-configurable and make it to be equal to maximum iobuf size. 2. best effort to write data in chunks of length as close to aggregate-size as possible but not greater than aggregate-size, since aggregate-size is made equal to Maximum size of iobuf. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | write-behind: adhere to coding guidelines. | Raghavendra G | 2009-04-16 | 1 | -16/+32 |
| | | | | | | - make sure lines are not greater than 80 characters in length Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | cluster/distribute bug fix - try to create linkfile in ↵ | Basavanagowda Kanur | 2009-04-16 | 3 | -16/+68 |
| | | | | | | | | dht_lookup_everywhere_cbk(), only if hashed subvolume can be determined, else error out with ENOENT. -- with local fixes (avati) Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Fixed the build problems observed | Harshavardhana | 2009-04-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | eliminate this_ino_get(), this_ino_set(). handle inode_ctx_{get,set}() at ↵ | Basavanagowda Kanur | 2009-04-16 | 1 | -132/+290 |
| | | | | | | | | | | the fop level itself. they used to log ambiguously and was of no use. logging is now more precise and will help in debugging, in case of errors. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Changed xattr format of afr changelog to support adding and removing of ↵ | Vikas Gorur | 2009-04-16 | 11 | -287/+322 |
| | | | | | | subvolumes while keeping existing data. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | server-helpers: Add check for NULL connection arguement being passed in helpers. | Raghavendra G | 2009-04-14 | 1 | -2/+23 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | remove unused variable @ret in ib_verbs_options_init | Anand V. Avati | 2009-04-14 | 1 | -1/+0 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | use MAP_FAILED macro to free mem_base in arena_destroy | Anand V. Avati | 2009-04-14 | 1 | -1/+2 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | FREE arena->iobufs in iobuf_arena_destory | Anand V. Avati | 2009-04-14 | 1 | -0/+2 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | cluster/unify link() should be sent to only one subvolume. | Basavanagowda Kanur | 2009-04-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | minor bug fix in posix_create() when 'o-direct enable' option is given. | Amar Tumballi | 2009-04-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | bug fixes in dht-disk-usage feature. | Amar Tumballi | 2009-04-14 | 4 | -35/+72 |
| | | | | | | fixes bugs seen with dht's disk usage. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Send statbuf from the same subvolume, even across revalidates. | Vikas Gorur | 2009-04-13 | 1 | -5/+14 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | use ctx->page_size in all translators and transports instead of having their ↵ | Anand V. Avati | 2009-04-13 | 4 | -101/+7 |
| | | | | | | own configurations Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | introduce page_size in glusterfs_ctx_t to be used by all translators set it ↵ | Anand V. Avati | 2009-04-13 | 3 | -2/+6 |
| | | | | | | to 128KB in main() Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | client_readv_cbk - when op_ret is 0, iobuf comes NULL from transport, ↵ | Anand V. Avati | 2009-04-13 | 1 | -3/+5 |
| | | | | | | handles this case Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | bug fix in iobuf_select_arena - call __iobuf_pool_add_arena (unlocked version) | Anand V. Avati | 2009-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | bug fix - arena destruction now calls munmap and not FREE | Anand V. Avati | 2009-04-13 | 1 | -1/+5 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | add purge list support to make iobuf_pool_purge() in expensive, and actually ↵ | Anand V. Avati | 2009-04-13 | 2 | -1/+10 |
| | | | | | | call it in iobuf_put :-) Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | bug fix in iobuf_select_arena - never created a new arena | Anand V. Avati | 2009-04-13 | 1 | -2/+5 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | add @filled list in iobuf_pool to keep away filled list from getting ↵ | Anand V. Avati | 2009-04-13 | 2 | -1/+20 |
| | | | | | | searched in iobuf_select_arena Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | change arena size to 8MB | Anand V. Avati | 2009-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | use MAP_FAILED macro to check for mmap failure instead of (void *) -1 | Anand V. Avati | 2009-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | fixed sizeof parameter in CALLOC of a new arena | Anand V. Avati | 2009-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | switch scheduler to validate the subvolume specified for a pattern, against ↵ | Basavanagowda Kanur | 2009-04-13 | 1 | -2/+33 |
| | | | | | | the given subvolumes of cluster/unify. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | changes to database read interface, to make use of a given buffer instead of ↵ | Basavanagowda Kanur | 2009-04-13 | 3 | -79/+100 |
| | | | | | | allocating internally. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | log formatting fixes. use GF_PRI_SIZET for size_t. | Basavanagowda Kanur | 2009-04-13 | 1 | -22/+32 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | minor initialization bug fix in quota's build_loc | Amar Tumballi | 2009-04-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | in dht, initialize the free available space properly, so the first few ↵ | Amar Tumballi | 2009-04-12 | 3 | -3/+52 |
| | | | | | | creates are not confused. Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | Coding Style: Add a few points | Shehjar Tikoo | 2009-04-12 | 1 | -7/+31 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | feature to disable volumefile's checksum | Amar Tumballi | 2009-04-12 | 2 | -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. Avati | 2009-04-12 | 1 | -1/+3 |
| | | | | | | for unsupported params Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | io-threads: Remove unnecessary call to pthread_attr_setstacksize | Shehjar Tikoo | 2009-04-12 | 1 | -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. Avati | 2009-04-12 | 1 | -2/+2 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated glusterfsd to create iobuf pool at initialization | Anand V. Avati | 2009-04-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated libglusterfsclient with IOBUF/IOBREFs | Anand V. Avati | 2009-04-12 | 3 | -22/+25 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated transport/ib-verbs to use IOBUF/IOBREFs | Anand V. Avati | 2009-04-12 | 2 | -14/+14 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated transport/socket to use IOBUF/IOBREFs | Anand V. Avati | 2009-04-12 | 2 | -37/+43 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated mount/fuse with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -37/+18 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated encryption/rot-13 with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+7 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | update features/quota with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -7/+9 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated features/filter with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+8 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated features/locks with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -8/+12 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated debug/error-gen with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+8 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated debug/trace with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -4/+7 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated performance/io-cache with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 3 | -34/+41 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> | ||||
* | updated performance/io-threads with new readv writev prototypes | Anand V. Avati | 2009-04-12 | 1 | -6/+10 |
| | | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com> |