summaryrefslogtreecommitdiffstats
path: root/glusterfsd
Commit message (Collapse)AuthorAgeFilesLines
* glusterfsd.c:Pipe is used during daemonization as ipc.vinayak hegde2009-10-051-104/+91
| | | | | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 117 (Wrong command line does not throw error) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=117
* glusterfsd/main: Do a sem_post only if running in daemon mode.Vikas Gorur2009-09-241-2/+2
| | | | | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 4 (mount --bind fails if run immediately after mounting GlusterFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=4
* Changes for custom daemon function.vinayak hegde2009-09-231-5/+104
| | | | | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 4 (mount --bind fails if run immediately after mounting GlusterFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=4
* glusterfs log prints "TLA Revision" tag, remove it and reflect git insteadHarshavardhana Ranganath2009-08-171-3/+3
| | | | Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Print volume file after printing other details.Vikas Gorur2009-07-021-1/+3
| | | | | | | This makes the log format compatible with earlier versions. Fixes bug #105. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* glusterfsd - build proper mount/fuse structure.Basavanagowda Kanur2009-06-221-2/+17
| | | | | | | | | | while appending mount/fuse to a translator tree, make sure that <xlator_t-of-fuse>->next points to the first xlator in the list of xlators and not the subvolume of mount/fuse. NOTE: tree traversal should always happen through <xlator_t>->children Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Print PID after daemonizing glusterfs.Vikas Gorur2009-06-091-2/+11
| | | | | | | | | | PID used to be printed before glusterfs became a daemon, which is incorrect since becoming a daemon involves forking and thus the PID changes. Fixes bug #8. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
* Edited log message for --volfile-checkVikas Gorur2009-05-161-1/+1
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* default log file different per mount (or if server, per volumefile)Amar Tumballi2009-05-161-8/+54
| | | | | | | | This feature is required becuase when more than one glusterfs process is started with default log file, all logs will be going to same file, which after a while gets more confusing. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Introduce new log level GF_LOG_TRACE.Vikas Gorur2009-04-241-0/+4
| | | | | | | TRACE is the most verbose log level, meant to have a full trace of operation. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Remove log level TRACE and the macro GF_TRACE.Vikas Gorur2009-04-241-4/+0
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* keep ctx->page_size fixed at 128KB but only add the margin for iobufs which ↵Anand V. Avati2009-04-181-2/+2
| | | | are created
* add 4KB margin in iobuf to accommodate fuse headerAnand V. Avati2009-04-171-1/+1
|
* introduce page_size in glusterfs_ctx_t to be used by all translators set it ↵Anand V. Avati2009-04-131-1/+2
| | | | | | to 128KB in main() Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* change arena size to 8MBAnand V. Avati2009-04-131-1/+1
| | | | 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>
* Enable glusterfs client to exit after a configured number of failed connects ↵Raghavendra G2009-04-013-0/+23
| | | | | | \ while fetching volume specification file from server Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Add new type of option type INTERNET_ADDRESS for validationRaghavendra G2009-04-011-5/+29
| | | | | | | | - used to validate options like remote-host, bind-address. - Also validate options of translators created during fetch of volume specification file from remote server. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* volumefile modification awareness to make sure there are no inconsistencies.Amar Tumballi2009-02-272-0/+16
| | | | | | Complete (including feature to properly umount) in my sense. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* updated copyright header to extend copyright upto 2009Basavanagowda Kanur2009-02-263-4/+4
| | | | | | updated copyright header to include 2009. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* backtick support enhancementRaghavendra G2009-02-251-1/+0
| | | | | | | - text within backtick can span multiple lines - check exit status of command after execution Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* change to make round robin dns work for getspec()Amar Tumballi2009-02-221-1/+1
| | | | | | | | Noticed that if I have just 'socket' and not the address-family, the round robin dns for '-s' option doesn't work. Changing it to 'tcp' works. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* command line and mount/fuse now use float attr/entry timeoutsHarshavardhana2009-02-211-10/+13
| | | | Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
* Added all filesVikas Gorur2009-02-185-0/+1494