| PVFS:/src/common/misc/server-config.c |
Line History |
History |
latest revision Branch MAIN1.111 annotated / raw | Diffs: previous, other | Lines: 4365 ( +6, -0 ) Created: 2008-12-03 11:00:42 -0500 (34 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20081203160042 patch from Bart Taylor to allow conf file to contain a trusted networksfield with no value
1.110 annotated / raw | Diffs: previous, other | Lines: 4359 ( +34, -5 ) Created: 2008-11-19 20:16:54 -0500 (48 days ago) | Author: slang | Changeset: MAIN:slang:20081120011639 merging hints/events code into trunk.
1.109 annotated / raw | Diffs: previous, other | Lines: 4330 ( +4, -0 ) Created: 2008-11-11 14:25:51 -0500 (56 days ago) | Author: slang | Changeset: MAIN:slang:20081111192540 merge of direct IO code to PVFS HEAD.
1.108 annotated / raw | Diffs: previous, other | Lines: 4326 ( +93, -0 ) Created: 2008-09-08 11:42:42 -0400 (3 months 28 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20080908154237 Merging small files branch to head. Includes server side precreation ofdata files and file stuffing.
Tags: before-dio-merge after-he-reverse-merge 1.107 annotated / raw | Diffs: previous, other | Lines: 4233 ( +7, -0 ) Created: 2008-04-17 16:46:17 -0400 (8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20080417204617 Adding a new trove method for debugging purposes called "null-aio".Exactly like alt-aio, except that it doesn't actually do any file I/O (ie, writes don't hit the disks and reads return garbage). It does perform all metadata operations and modifies file sizes (if needed) as if data were written, though. Possibly useful for benchmarking what the network throughput capability of a file system would be if there were no disk overhead. Branch point for: directio-branch fuse-support rongrong Tags: merge_HEAD_NEW_FEATURE_ADD merge_HEAD_NEW_FEATURE_ADD2 merge_MERGE_FROM_HEAD branch-rongrong rongrong$BP merge_HEAD_NEW_FEATURE_ADD3 small-file-branch-point3 sumit-branch fuse-support$BP directio-point directio-branch$BP merge_HEAD_NEW_FEATURE_ADD4 small-file-branch-point4 1.106 annotated / raw | Diffs: previous, other | Lines: 4226 ( +55, -0 ) Created: 2007-11-07 17:26:07 -0500 (13 months ago) | Author: slang | Changeset: MAIN:slang:20071107222607 [on behalf of Phil]:This patch adds a new configuration parameter called "RootSquashExceptions". It has the same value syntax as the existing RootSquash parameter, but it allows you to list hosts or subnets that are exempt from root squashing. This is helpful if you want to root squash all clients (or at least a large set of them) but still allow root access from particular admin or power user clients. That was possible before, but probably tedious unless the node you wanted to exclude just happened to fall in a convenient subnet. Branch point for: cu-sandbox-branch cu-security-branch he-branch pvfs-2-7-0 pvfs-2-7-branch pvfs2-2-7-branch small-file-branch Tags: pvfs-2-7-branch-point pvfs-2-7-branch$BP pvfs-2-7-0 cu-sandbox-branch-point cu-sandbox-branch$BP small-file-branch-point small-file-branch$BP Root_cu-security-branch cu-security-branch$BP small-file-branch-point2 he-branch$BP he-branch-point pvfs-2-7-1 1.105 annotated / raw | Diffs: previous, other | Lines: 4171 ( +0, -1 ) Created: 2007-09-25 13:27:28 -0400 (15 months ago) | Author: slang | Changeset: MAIN:slang:20070925172728 multiple servers per node are allowed to change the config opts values now with --metaspec and --iospec.
Tags: mgmt-branch-point 1.104 annotated / raw | Diffs: previous, other | Lines: 4172 ( +269, -240 ) Created: 2007-08-17 00:04:24 -0400 (16 months ago) | Author: slang | Changeset: MAIN:slang:20070817040423 commit of Murali's unifying config file patch. Also adding a convert script for converting to the new single fs.conf format.
1.103 annotated / raw | Diffs: previous, other | Lines: 4143 ( +28, -0 ) Created: 2007-08-15 14:43:08 -0400 (16 months ago) | Author: slang | Changeset: MAIN:slang:20070815184306 commit of phil's patches:pvfs2-error-cleanup.patch: -------------------------- This patch updates a gossip_debug() message in trove to be a gossip_err() in order to help diagnose configuration problems that can happen if your configuration file is out of sync with your storage space. It also changes several gossip_lerr() calls in pvfs2-server.c to be gossip_err() calls instead. Most of those are generic startup/configuration problems that don't really need line or backtrace information. pvfs2-syslog.patch: --------------------------- This patch brings the syslog backend of gossip up to working order. There were a few bugs in the implementation. You can now enable syslog for servers by adding "LogType syslog" to the configuration file. You can also enable sylog for pvfs2-client by using the "--logtype syslog" command line argument. The default behavior has not changed.
1.102 annotated / raw | Diffs: previous, other | Lines: 4115 ( +1, -1 ) Created: 2007-06-25 18:08:06 -0400 (18 months ago) | Author: slang | Changeset: MAIN:slang:20070625220806 fix <Distribution> context paramsBranch point for: twod-branch Tags: twod-branch$BP twod-branch-point 1.101 annotated / raw | Diffs: previous, other | Lines: 4115 ( +9, -6 ) Created: 2007-02-01 21:08:57 -0500 (23 months ago) | Author: slang | Changeset: MAIN:slang:20070202020852 merge 2.6 branch changes to head
Tags: kunkel-hint-branch-point-2007-02-17 kunkel-migration-hint-branch-point-2007-03-15 pvfs-2-6-3-tag2 kunkel-tas-branch-2007-05-23 kunkel-migration-hint-branch-point-2007-06-17 1.100 annotated / raw | Diffs: previous, other | Lines: 4112 ( +10, -0 ) Created: 2006-11-29 16:08:47 -0500 (2 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20061129210847 better doc for TroveMethod
Tags: kunkel-hint-branch-point-26 1.99 annotated / raw | Diffs: previous, other | Lines: 4102 ( +2, -2 ) Created: 2006-11-13 10:56:59 -0500 (2 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20061113155659 increase server bmi and flow timeouts to prevent timeouts for slow IO
Tags: pvfs-2-6-point4 1.98 annotated / raw | Diffs: previous, other | Lines: 4102 ( +0, -1 ) Created: 2006-10-19 14:22:01 -0400 (2 years 2 months ago) | Author: slang | Changeset: MAIN:slang:20061019182201 fix warningBranch point for: dbpf-methods-branch pvfs-2-6-branch pvfs2-kunkel-tas-branch Tags: dbpf-methods-point pvfs-2-6-branch$BP pvfs2-kunkel-tas-branch$BP pvfs-2-6-point2 pvfs-2-6-point3 dbpf-methods-branch$BP WALT3-point WALT3-last-merged 1.97 annotated / raw | Diffs: previous, other | Lines: 4103 ( +42, -28 ) Created: 2006-10-18 12:01:10 -0400 (2 years 2 months ago) | Author: slang | Changeset: MAIN:slang:20061018160110 commit of trove method capabilities. We should now be able to support multiple trove methods. The TroveMethod option to the config file can set the method to something other than the default (dbpf).
1.96 annotated / raw | Diffs: previous, other | Lines: 4089 ( +3, -2 ) Created: 2006-09-22 15:27:30 -0400 (2 years 3 months ago) | Author: slang | Changeset: MAIN:slang:20060922192728 fixes from 1.5 branch that never made it to trunk.
Tags: pvfs-2-6-point 1.95 annotated / raw | Diffs: previous, other | Lines: 4088 ( +7, -1 ) Created: 2006-09-20 00:36:12 -0400 (2 years 3 months ago) | Author: slang | Changeset: MAIN:slang:20060920043611 * added some bits to gossip that print out the thread id for each debug message. This can be set with the threads logstamp. * fixed bug in dbpf sync coalesce code that wasn't ever syncing and completing operations that got queued in the ready-to-be-synced state, but the following operations would error (EEXISTS for example), so the sync never happened. * removed all the DBPF_OP_NEEDS_SYNC return codes in dspace and keyval service functions that modify the db. The syncing code can figure out what needs to be synced and what doesn't from now on. * replace DBPF_OP_IS_* macros that do range checking with logical or checks. This ends up being easier for me to follow and update. * crdirent gets posted to the request scheduler with the handle of the directory (not the dirent handle). In this case, the operation on the directory handle is read-only. Not setting the readonly_flag for this case was causing a hang with other modifying operations on the directory (setattr for example).
1.94 annotated / raw | Diffs: previous, other | Lines: 4082 ( +7, -0 ) Created: 2006-09-13 17:31:57 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060913213156 As per Sam's suggestions, change the LDFLAGS in top-level makefile to have @SRC_ABSOLUTE_TOP@ insteadof just the relative path to lib. client-core segfaults if there is no secret key installed on the FS (i.e. generated by genconfig without the --genkey option) this was caused by a NULL pointer to secret_key field in the fs_conf structure. Now we should be able to handle 0 length fs secret key fields. Branch point for: tau-sandbox Tags: tau-sandbox$BP tau-sandbox-point 1.93 annotated / raw | Diffs: previous, other | Lines: 4075 ( +93, -0 ) Created: 2006-09-13 16:22:48 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060913202241 Merge posix-extensions-branch to HEADThis branch implemented patches to the 2.6.16 kernel for the proposed POSIX I/O extensions and those patches are under the patches subdirectory. It also implements the PVFS2 specific hooks for these system calls. Tools that may be of immediate use to the pvfs2 general audience is the pvfs2-lsplus utility in src/apps/admin that should be noticeably faster than the pvfs2-ls utility if there are a lot of objects in a single directory. Other features are left out by configure and are not even built if the kernels do not support those features and callbacks.
1.92 annotated / raw | Diffs: previous, other | Lines: 3982 ( +505, -33 ) Created: 2006-09-11 16:22:01 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060911202200 Implement root squash, read only and all squash export options. All of these are server-sidesettings and set in the fs.conf files.. Perhaps the docs need to be pushed out to the pvfs.org website after this check in? Wild cards and mask-based addresses are allowed as part of the fs.conf export settings.. Also added a mount time option to honor setuid bit in files, mount -o suid... Removed the -c option from pvfs2-ping and made the config file checks default. Branch point for: locking-branch version-lock-actual-branch Tags: version-lock-actual-branch$BP version-lock-branch posix-extensions-point7 locking-branch$BP 1.91 annotated / raw | Diffs: previous, other | Lines: 3510 ( +29, -0 ) Created: 2006-09-11 11:42:37 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060911154237 [pcarns]:tacl-xattr-homedir.patch: ------------------------- This makes tacl-xattr.sh slightly more portable. Some Linux distributions have adduser utilities that do not create the home directory for you. This patch explicitly does a mkdir -p and chmod after adduser to make sure that required home directories exist. tacl-xattr-symlink.patch: ------------------------- This is an important fix to the test script. It was using the -L argument to getfattr to traverse symbolic links when dumping the ACLs from the test directory. This leads to unpredictable results because there was no way to tell whether getfattr would traverse a real directory or its symbolic link first (it depends on the dirent order) and the other would always be left out. ACLs are not supported on symbolic links anyway, so it was just adding noise to the test script. xattr-symlink.patch: ------------------------- This is the only change to PVFS2 itself. Like most Linux file systems, PVFS2 does not support xattrs on symbolic links (despite what is implied by man pages). This is due to the fact that symbolic links have 777 permissions by default that would allow anyone on the system to store xattrs in any symbolic link. This patch updates PVFS2 semantics slightly, however, to be more in line with how other file systems implement this. In particular listxattr() is now allowed (it just returns that there are zero entries), and setxattr() is implemented to return EPERM rather than EOPNOTSUPP. pread-pwrite.patch: ------------------- This fixes a bug in a patch that I submitted earlier to provide a simple alternate AIO implementation. It defines _GNU_SOURCE in a limited area for dbpf so that we can get proper definitions of pread() and pwrite() on Linux. I tried using _XOPEN_SOURCE=500, but it will break any .c file that includes dbpf.h due to incompatibilities with Berkeley DB. zero-dfile.patch: ------------------- This fixes a bug in the getattr handling on pvfs2-server if it happens to find an attribute structure with the dfile array zeroed out. In this case, it needs to set the attr flag appropriately to prevent the response encoder from segfaulting while processing the array in the response structure. This condition is very hard to trigger, but the server should be able to gracefully report the error rather than crashing. bind-specific.patch: -------------------- This patch adds a new config file option (TCPBindSpecific) that if enabled tells the server to bind only to its specific IP address rather than using INADDR_ANY. This is particularly helpful in failover scenarios where you would like one physical machine to assume two ip addresses (and two servers) to run simultaneously when another server crashes. Without this patch you would need to select a different port on each server to prevent collisions.
1.90 annotated / raw | Diffs: previous, other | Lines: 3481 ( +21, -22 ) Created: 2006-08-18 17:25:18 -0400 (2 years 4 months ago) | Author: pw | Changeset: MAIN:pw:20060818212518 free two dotconf-created variables that may be strdup-ed both in defaults setting and real parsingfree some server_config entries in config_release() do not deep copy into alias_mapping Branch point for: kunkel-alternativeIO-branch kunkel-hint-branch kunkel-migration-branch Tags: kunkel-hint-branch$BP posix-extensions-point6 kunkel-alternativeIO-branch$BP kunkel-branches-point kunkel-migration-branch$BP 1.89 annotated / raw | Diffs: previous, other | Lines: 3482 ( +1, -1 ) Created: 2006-08-18 10:55:56 -0400 (2 years 4 months ago) | Author: pw | Changeset: MAIN:pw:20060818145556 server-config.c is only user of dotconf, remove some unnecessary includes
1.88 annotated / raw | Diffs: previous, other | Lines: 3482 ( +56, -0 ) Created: 2006-08-15 16:24:25 -0400 (2 years 4 months ago) | Author: slang | Changeset: MAIN:slang:20060815202424 [phil]: flow-proto-tuning: This patch adds "FlowBufferSizeBytes" and "FlowBuffersPerFlow" options to the configuration file format. They allow you to specify the buffer size that the default flow protocol will use as well as the maximum number of buffers to use per flow. Note that if you change either of these parameters, then you need to remount any active clients so that they pick up the configuration change before performing any I/O.[phil]: max-aio: This patch adds "TroveMaxConcurrentIO" to the configuration file format. It allows you to specify the maximum number of I/O operations that trove will allow to proceed concurrently (currently 16). Note from the previous email regarding AIO that depending on your access pattern, AIO may queue all of your operations anyway regardless of this setting. It probably doesn't have much effect unless you are accessing more than one file at a time, or if you are using an alternative to the stock AIO implementation.
1.87 annotated / raw | Diffs: previous, other | Lines: 3426 ( +33, -0 ) Created: 2006-08-11 15:18:04 -0400 (2 years 4 months ago) | Author: slang | Changeset: MAIN:slang:20060811191804 [phil]: alternative lio_listio implementation that spawns a thread and does pwrite/pread.[phil]: bmi-socket-close: This fixes a bug in the new BMI_set_info(... BMI_TCP_CLOSE_SOCKET ...) mechanism, which is used to reconnect the socket to the initial configuration server if new socket buffer sizes are specified in the config file. I didn't follow the code path find the exact problem, but at a high level it wasn't being thorough enough in cleaning out the old socket. This showed up when using epoll and specifying socket buffer sizes in the server configuration- in this case the client will often fail to mount with a cryptic "not a directory" error and leave some epoll() errors in the pvfs2-client.log file. I think a stale (or possibly reused) file descriptor was being left in the epoll fd set. At any rate, the fix is to use a different set of functions for tearing down the entire address etc. so that it is reconnected on the next BMI addr lookup. This path is already used by the server to discard old BMI addresses after critical errors on addresses that cannot be reconnected. It is triggered from bmi.c without entering the bmi_tcp module, so this patch also adds a check to make sure we don't bother for non-tcp methods. [phil]: bmi-test-overflow: One of the bmi bandwidth test programs was using types that might overflow if testing large enough transfers. The fix is to convert to doubles and drop in several type casts to be cautious when performing the computation that was causing trouble. [phil]: cancel-bugs: The biggest fix here is a change to the job timer code. It was performing some pointer operations in the wrong order, which could lead to job timers failing to trigger in some cases. This would prevent some operations from ever timing out. A secondary fix is a minor cleanup in BMI to catch potential race conditions in cancellation where a lock wasn't being held while checking to see if the target operation is complete. [phil]: flow-post-error: This patch adds checks in the client side I/O state machine to test for failure at post time for flow operations. This type of error is uncommon unless the flow parameters are faulty, but it should have checked anyway to be safe. [phil]: dfile-config-check: This is a safety test. The problem here is that there was no bounds checking for the DefaultNumDFiles option in the config file. This made it possible to select -1 (which in PVFS1 meant "use the default number"). In PVFS2 this number gets passed verbatim to the client and would cause malloc failures and various other odd results when used. The patch just checks at parse time to make sure the value isn't negative. [phil]: bmi-flow-logging: This patch just adds a little bit more gossip logging output to BMI and the flow protocol. In particular, it adds tag information to messages about BMI operations, and adds pointer information to the flow protocol to help match posts and completions of flows in log files. [phil]: server-freopen: This patch just removes duplicate calls to fdreopen(stdin/stdout/stderr) that were being performed on server startup when the server is run in the background. The first set should be sufficient.
1.86 annotated / raw | Diffs: previous, other | Lines: 3393 ( +70, -19 ) Created: 2006-08-02 11:13:00 -0400 (2 years 5 months ago) | Author: slang | Changeset: MAIN:slang:20060802151300 add config options doc and debug options doc.
Tags: posix-extensions-point4 1.85 annotated / raw | Diffs: previous, other | Lines: 3342 ( +42, -24 ) Created: 2006-07-14 16:45:59 -0400 (2 years 5 months ago) | Author: slang | Changeset: MAIN:slang:20060714204559 [pete] add a connection close set_info option to bmi-tcp so that we can reset the buffer sizes for the connection to the mountpoint server.[slang] set the defaults for the buffer sizes to 0 in the config file so they don't get set on new connections unless the config file requests it. Branch point for: kunkel-branch Tags: kunkel-branch$BP before-style-changes 1.84 annotated / raw | Diffs: previous, other | Lines: 3324 ( +1, -53 ) Created: 2006-07-13 01:11:40 -0400 (2 years 5 months ago) | Author: slang | Changeset: MAIN:slang:20060713051140 Julian's changes to coalescing and dbpf storage options:- Changes the coalesce code, now we decide the mode (coalesce or not) during the coalesce function call and not during the enque process. - Add the coalesce high / low watermark to the dbpf_collection structure, so colls can have different values. - Put per default the TROVE_SYNC flag into trove from different statemachines where we used the macro before. The macro is still there and should be removed if we agree to this behavior. - Removes the coalesce config option - Moves SMALL_IO_MAX_REGIONS to internal and renames it to IO_MAX_REGIONS (we had it at least 3 times defined somewhere).
1.83 annotated / raw | Diffs: previous, other | Lines: 3376 ( +64, -29 ) Created: 2006-06-14 23:23:18 -0400 (2 years 6 months ago) | Author: slang | Changeset: MAIN:slang:20060615032318 fix get_attr_cache_keywords to work properly.Branch point for: WALT3 Tags: WALT3$BP pvfs2-1-5-point2 1.82 annotated / raw | Diffs: previous, other | Lines: 3341 ( +4, -4 ) Created: 2006-06-14 15:46:50 -0400 (2 years 6 months ago) | Author: slang | Changeset: MAIN:slang:20060614194650 use buf instead since its always going to be non-null.
1.81 annotated / raw | Diffs: previous, other | Lines: 3341 ( +26, -1 ) Created: 2006-06-14 15:03:32 -0400 (2 years 6 months ago) | Author: slang | Changeset: MAIN:slang:20060614190332 check for old keyval strings and add new ones if any are found.
1.80 annotated / raw | Diffs: previous, other | Lines: 3316 ( +11, -12 ) Created: 2006-06-14 14:41:24 -0400 (2 years 6 months ago) | Author: slang | Changeset: MAIN:slang:20060614184123 commit of keyval handle info changes. This allows info to be stored on a per handle basis in a 'null key' inside the database. Right now we just use it to store the count of directory entries, so that we don't have to do a read/modify/write in crdirent and rmdirent.Also includes changes to the keyval strings to use #define values instead of the actual strings. This just makes that code lest prone to bugs in the future.
1.79 annotated / raw | Diffs: previous, other | Lines: 3317 ( +119, -0 ) Created: 2006-06-05 15:57:26 -0400 (2 years 7 months ago) | Author: slang | Changeset: MAIN:slang:20060605195725 merge sync coalescing branch.Branch point for: pvfs2-1-5-branch Tags: lockd-point2 posix-extensions-point2 pvfs2-1-5-point pvfs2-1-5-branch$BP 1.78 annotated / raw | Diffs: previous, other | Lines: 3198 ( +0, -2 ) Created: 2006-05-27 19:46:33 -0400 (2 years 7 months ago) | Author: pw | Changeset: MAIN:pw:20060527234604 extraneous breaks
1.77 annotated / raw | Diffs: previous, other | Lines: 3200 ( +67, -0 ) Created: 2006-05-25 18:17:17 -0400 (2 years 7 months ago) | Author: slang | Changeset: MAIN:slang:20060525221716 * [Phil] removed db stat left over from keyval-per-db days* [Phil] added stranded bstream checking * [Phil] added comparison function for dspace db * [Phil] added db cache size and type config options * [Julian] added tcp send/recv buffer size options
1.76 annotated / raw | Diffs: previous, other | Lines: 3133 ( +1, -0 ) Created: 2005-11-11 16:31:02 -0500 (3 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20051111213056 moved the llu and lld macros to an internal header so that we don't have to include pvfs2-config.h in the installed pvfs2-types.h header.Branch point for: dbpf-changes-branch dbpf-coalesce-branch dbpf-onekeyval-branch lockd-branch posix-extensions-branch pvfs2-1-4-0-branch Tags: posix-extensions-branch$BP posix-extensions-point dbpf-changes pvfs2-1-4-0 before-dbpf-onekeyval dbpf-onekeyval-point dbpf-slowskip pvfs2-1-4-0-branch$BP dbpf-coalesce-branch$BP dbpf-onekeyval-branch$BP lockd-branch$BP pvfs2-1-4-0-point dbpf-coalesce-point dbpf-changes-branch$BP ... more hide 1.75 annotated / raw | Diffs: previous, other | Lines: 3132 ( +3, -3 ) Created: 2005-11-09 20:27:02 -0500 (3 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20051110012652 * malloc.h is obsolete in freebsd, check for it* No error.h in freebsd * linux allows Lu,Lx, and Ld to be interchangeable with llu,llx, and lld. Other platforms (solaris, bsd) don't. Replaced all the L* with ll*. * bsd doesn't have mntent.h. use fstab.h and our own funcs. * bsd doesn't know about ssize_t. Use size_t instead. * bsd doesn't have asm errnos. Check for each of those errno macros and if not defined define to -1 * check for db3/db.h db4/db.h header if db path is specified using --with-db * darwin has aio support builtin, doesn't need -lrt * remove kernel stuff in pvfs2-types.h that sets WORDSIZE. gcc defines __LP64__ on archs with 64bit longs so we use that instead. * darwin's open doesn't accept O_LARGEFILE. off_t is an int64 by default. define O_LARGEFILE if it hasn't been. * need to run ranlib on darwin after libpvfs2.a gets installed to regenerate table of contents Branch point for: pvfs2-1-3-1-branch Tags: pvfs2-1-3-1-branch$BP 1.74 annotated / raw | Diffs: previous, other | Lines: 3132 ( +2, -0 ) Created: 2005-10-26 12:27:17 -0400 (3 years 2 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20051026162717 This patch should fix a few more of the pesky warnings that shows upon an x86_64 machine with gcc and when built with --enable-strict. Also, this patch should fix the -EACCES error (permission denied) that Ekow reported which was caused by broken permission checking during the recent acl merges. Branch point for: slang-sio-branch Tags: slang-sio-point slang-sio-branch$BP 1.73 annotated / raw | Diffs: previous, other | Lines: 3130 ( +223, -1 ) Created: 2005-10-25 14:00:57 -0400 (3 years 2 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20051025180054 Attached patches implements trusted ports and networks similar towhat PVFS1 implemented. It adds a new <Security> </Security> tag to the fs.conf config file and parse utilities accordingly. We can edit these later if there is a strong need. Within these tags, you have to specify TrustedPorts <Range of ports> and TrustedNetwork tcp://<network> tcp://<mask>. I dont know how to support this cleanly on non tcp/ip bmi architectures, so currently this only enables it for the bmi_tcp module alone. (i guess we could do it for bmi_ib module as well but not done until someone says that is the right thing to do...) Also adds support for a --trusted argument to the pvfs2-genconfig script that will prompt for the trusted port ranges and the network address/masks and write it out to the fs.conf and server.conf file. Configure now supports a --enable-trusted to enable all these features. (NOTE that the fs.conf tags (or lack of one) still allow you to not select these features even if configure was asked to compile with this option). this patch also cleans up all the warnings that arises with gcc (3.4) and --enable-strict build mode.
1.72 annotated / raw | Diffs: previous, other | Lines: 2908 ( +619, -363 ) Created: 2005-08-23 14:44:17 -0400 (3 years 4 months ago) | Author: slang | Changeset: MAIN:slang:20050823184410 merged acache changes to trunk.
Tags: pvfs2-1-3-0 1.71 annotated / raw | Diffs: previous, other | Lines: 2652 ( +91, -0 ) Created: 2005-07-19 17:12:46 -0400 (3 years 5 months ago) | Author: robl | Changeset: MAIN:robl:20050719211244 [pcarns]: do a couple things here:- implements the retry and timeout configuration file options ( http://www.beowulf-underground.org/pipermail/pvfs2-developers/2005-June/001287.html ) - It turns out that it wasn't necessary for clients to choose a value if multiple file systems disagree on timeouts. Instead they just store independent settings for each FS. - This patch adds --client-job-timeout and --server-job-timeout options to genconfig (each toggle both flow and bmi timeouts) - A few operations were multiplying the default client timeout by 5 on the premise that those particular operations may take a while. I removed those special cases and instead increased the default client timeout values for everything. My reasoning is that if any one operation can take a long time, then by extension any other operation could take an equally long time because of queueing behind the slow ones. Branch point for: slang-reqsched-branch Tags: slang-reqsched-branch$BP pvfs2-1-2-0 slang-reqsched-point 1.70 annotated / raw | Diffs: previous, other | Lines: 2561 ( +39, -9 ) Created: 2005-07-18 14:52:07 -0400 (3 years 5 months ago) | Author: bradles | Changeset: MAIN:bradles:20050718185206 Adding support for DefaultDistribution server configuration support. Asample config file section may look like this: <DefaultDistribution> Name simple_stripe Param strip_size Value 1000 </DefaultDistribution> The value field is currently converted into a 64bit int internally. Changes to support any value type (esp. non numeric values) may be fairly extensive.
1.69 annotated / raw | Diffs: previous, other | Lines: 2531 ( +105, -14 ) Created: 2005-06-29 10:58:48 -0400 (3 years 6 months ago) | Author: bradles | Changeset: MAIN:bradles:20050629145847 Added support for Filesystem config option DefaultNumDFiles and Distributionconfiguration sections. Also performed simple cleanup for simple_stripe distribution. Branch point for: slang-attr-cache-fixups-branch Tags: slang-attr-cache-fixups-point slang-attr-cache-fixups-branch$BP 1.68 annotated / raw | Diffs: previous, other | Lines: 2440 ( +113, -126 ) Created: 2005-06-23 12:28:13 -0400 (3 years 6 months ago) | Author: bradles | Changeset: MAIN:bradles:20050623162813 Applied Phil Carns patch to improve the dot conf parser error messages andtype checking.
1.67 annotated / raw | Diffs: previous, other | Lines: 2453 ( +37, -0 ) Created: 2005-03-04 11:50:11 -0500 (3 years 10 months ago) | Author: robl | Changeset: MAIN:robl:20050304165011 pcarns:This patch adds the ability to time stamp log messages with a date and time rather than the default hr:min:sec:usec format. This is useful for production systems if you are more worried about the approximate time that an error occurred rather than debugging performance problems. The time stamp format is controlled by a new server config file variable called "LogStamp". It has three valid values: "none", "usec", or "datetime", which correspond to the following formats respectively: Initialization completed successfully. [20:10:46.631851] Initialization completed successfully. [02/25 20:10] Initialization completed successfully. Branch point for: WALT1 WALT2 pvfs2-bugfix-67 pvfs2-tag-bugfix-67 slang-event-changes-branch Tags: pvfs2-1-1-0 pvfs2-tag-bugfix-67$BP slang-event-changes-branch$BP WALT1$BP WALT2$BP pvfs2-bugfix-67$BP slang-event-changes-point 1.66 annotated / raw | Diffs: previous, other | Lines: 2416 ( +6, -4 ) Created: 2004-10-15 16:33:44 -0400 (4 years 2 months ago) | Author: neill | Changeset: MAIN:neill:20041015203343 - make sure that our error routines strip any known class error bitsinstead of deciding that they're unrecognized if set - improved trove error handling - improved pvfs2-server error handling - fixed crash bug in our config parser that tried to strdup strings that might be NULL - pvfs2-types header file simplification and cleanups Branch point for: pvfs2-bugfix-39 Tags: pvfs2-snapshot-Alejandro pvfs2-0-9-0 pvfs2-1-0-0 pvfs2-bugfix-39$BP pvfs2-1-0-1 snapshot-bluegene-20050216 pvfs2-0-8-0 1.65 annotated / raw | Diffs: previous, other | Lines: 2414 ( +50, -33 ) Created: 2004-08-12 15:53:39 -0400 (4 years 4 months ago) | Author: neill | Changeset: MAIN:neill:20040812195338 - added configuration option TroveSyncMeta (can be 'yes' or 'no')- added configuration option TroveSyncData (can be 'yes' or 'no') - replaced TroveSyncMode configuration option with separate TroveSyncMeta and TroveSyncData options. the defaults are yes to both. this is a change because previously data was NOT being sync'd after reads/writes. for now, only writes are sync'd if TroveSyncData is 'yes'. - updated pvfs2-genconfig to reflect config option changes - added top-level and flowproto-multiqueue understanding of the data sync mode option via setinfo - added hook to server to pass data sync mode option to the flow implementation via setinfo on a per fs/coll_id basis - added fp_multiqueue tracking of this to be able to pass the appropriate data sync flag to trove on a per fs basis - misc cleanups
Tags: pvfs2-0-6-2 pvfs2-0-6-5 pvfs2-0-7-0 pvfs2-0-6-3 pvfs2-0-6-4 1.64 annotated / raw | Diffs: previous, other | Lines: 2397 ( +33, -62 ) Created: 2004-08-02 13:29:23 -0400 (4 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20040802172922 - modify the mkspace method to distinguish between meta and datahandle ranges -- this is cleaner and if nothing else it allows us to create the root dir dirent dspace from a valid meta handle range, which wasn't guaranteed before (and often wasn't if the server has both meta and data ranges) - update pvfs2-mkspace to be able to take separate meta/data handle ranges - misc cleanups
1.63 annotated / raw | Diffs: previous, other | Lines: 2426 ( +75, -0 ) Created: 2004-07-29 12:31:23 -0400 (4 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20040729163123 - enforce a handle allocation of the (hidden/internal) dspace created on theserver side during a crdirent to be within the metadata range that the server is managing. this is a bugfix to bad behaviour that allowed metadata to live in the data handle ranges all this time
Tags: pvfs2-0-6-1 1.62 annotated / raw | Diffs: previous, other | Lines: 2351 ( +1, -1 ) Created: 2004-07-28 10:32:37 -0400 (4 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20040728143227 - applied Nathan's expandtab patch (expandtab-2.patch.gz)first referenced at: http://www.beowulf-underground.org/pipermail/pvfs2-developers/2004-July/000745.html
1.61 annotated / raw | Diffs: previous, other | Lines: 2351 ( +0, -19 ) Created: 2004-06-01 15:49:24 -0400 (4 years 7 months ago) | Author: neill | Changeset: MAIN:neill:20040601194924 - moves 'cached server array' cruft out of the configuration object, as thatis a readonly object (conceptually). move the cached stuff into the client side config cache object that's already used for cached lookups of configuration information Branch point for: pvfs2-nm-nb-branch Tags: pvfs2-0-6-0pre1 pvfs2-0-5-1 pvfs2-0-6-0 pvfs2-nm-nb-branch$BP 1.60 annotated / raw | Diffs: previous, other | Lines: 2370 ( +189, -7 ) Created: 2004-04-14 18:27:33 -0400 (4 years 8 months ago) | Author: neill | Changeset: MAIN:neill:20040414222731 - first draft cut of re-working the system interface to be able to work nicelywith multiple configurations from different servers. the only restriction is that none of the configurations can contain information about file systems that have the same fs_id.
Tags: pvfs2-0-1-3 pvfs2-0-5-0 1.59 annotated / raw | Diffs: previous, other | Lines: 2188 ( +11, -3 ) Created: 2004-04-06 16:22:09 -0400 (4 years 9 months ago) | Author: neill | Changeset: MAIN:neill:20040406202208 - fix pvfs2-ls and ls test program to show symlink types as 'l'- add a handle mapping interface re-initialize method, given a server configuration object - no longer destroy the client config object on fs-add -- instead just re-initialize the handle mapping interface to pull in the new configuration information - fix bugs in pint-bucket finalize and server-config release methods - remove temporary file during get_config error path if encountered - proper credential generation in ls test program - make the dynamic mount code use the fs_id as the unique identifier, rather than the combination of the fs_id AND the mount directory (yes, this means that we are not designed to handle two different file systems with the same fs_id mounted at the same time)
1.58 annotated / raw | Diffs: previous, other | Lines: 2180 ( +20, -0 ) Created: 2004-04-06 11:57:25 -0400 (4 years 9 months ago) | Author: neill | Changeset: MAIN:neill:20040406155724 - properly clear client configuration object before retrieving a new config- fix an error path bug in the mount/umount operations - clean up some memory leaks in the config object
1.57 annotated / raw | Diffs: previous, other | Lines: 2160 ( +12, -0 ) Created: 2004-02-18 16:36:12 -0500 (4 years 10 months ago) | Author: neill | Changeset: MAIN:neill:20040218213612 - and finally, warn and disallow non-sync config options if db_dirty_read isn'tsupported
Tags: pvfs2-0-1-0 pvfs2-0-1-2 pvfs2-0-1-1 1.56 annotated / raw | Diffs: previous, other | Lines: 2148 ( +153, -86 ) Created: 2004-02-16 17:00:00 -0500 (4 years 10 months ago) | Author: neill | Changeset: MAIN:neill:20040216220000 - renamed handle purgatory to handle recycle timeout seconds- added a trove sync mode to the config to use for the default trove sync flags (not hooked up to job interface yet) - replaced gossip_lerr in the config parser with gossip_err - set default encoder at config parse time - update pvfs2-genconfig with support for new keywords
1.55 annotated / raw | Diffs: previous, other | Lines: 2081 ( +2, -2 ) Created: 2004-02-11 18:53:52 -0500 (4 years 10 months ago) | Author: robl | Changeset: MAIN:robl:20040211235352 fix some opteron warnings. casting to int is a bit rough, but no config filewill ever be 2 GB in size.
1.54 annotated / raw | Diffs: previous, other | Lines: 2081 ( +6, -4 ) Created: 2004-02-10 14:53:05 -0500 (4 years 10 months ago) | Author: neill | Changeset: MAIN:neill:20040210195305 - even better error reporting for this case
1.53 annotated / raw | Diffs: previous, other | Lines: 2079 ( +4, -1 ) Created: 2004-02-10 14:43:10 -0500 (4 years 10 months ago) | Author: neill | Changeset: MAIN:neill:20040210194310 - try to error report better in one misconfiguration case
1.52 annotated / raw | Diffs: previous, other | Lines: 2076 ( +2, -4 ) Created: 2004-02-09 16:59:31 -0500 (4 years 10 months ago) | Author: neill | Changeset: MAIN:neill:20040209215931 - minor cleanup
1.51 annotated / raw | Diffs: previous, other | Lines: 2078 ( +7, -6 ) Created: 2004-02-05 13:52:30 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040205185230 - add some debug info on error case
1.50 annotated / raw | Diffs: previous, other | Lines: 2077 ( +1, -1 ) Created: 2004-02-03 13:30:32 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040203183030 - pvfs2-genconfig update- server crash bug fix on invalid host/alias mapping - minor other stuff
1.49 annotated / raw | Diffs: previous, other | Lines: 2077 ( +16, -10 ) Created: 2004-01-30 15:12:11 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040130201209 - rename all gossip masks to GOSSIP_xxx- some misc cleanups
Tags: pvfs2-0-0-9 1.48 annotated / raw | Diffs: previous, other | Lines: 2071 ( +14, -2 ) Created: 2004-01-27 10:37:53 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040127153752 - fixed a bug in pvfstab parsing routine that stores the wrongfile system name if there are more than one configured file systems - improved error handling/memory cleanup on pvfstab parsing error - added a configuration function to get an fs_id based on the fs_name - pvfs2-ping fix that shows usage if no arguments are given - pvfs2-ping change that shows all configured file systems - pvfs2-ping change that allows a file system to be queried other than the first configured one - misc cleanups
1.47 annotated / raw | Diffs: previous, other | Lines: 2059 ( +5, -1 ) Created: 2004-01-26 15:13:36 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040126201335 - fix i/o to a collection/filesystem other than the first- default fs config flowproto to be the default -- think about how to mesh with the pvfs2tab parsing/storing in the mnt object better - many cleanups
1.46 annotated / raw | Diffs: previous, other | Lines: 2055 ( +3, -2 ) Created: 2004-01-20 14:15:27 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040120191527 - fix support for allowing multiple file systems (collections) to be createdwithin the same storage space - fix support for allowing multiple file systems (collections) to be removed within the same storage space
1.45 annotated / raw | Diffs: previous, other | Lines: 2054 ( +15, -0 ) Created: 2004-01-19 13:18:38 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040119181837 - add a config function for getting the configuration object's filesystemlist (as needed by the system interface initialize) - update dbpf-attr-cache to ignore multiple initialization attempts - update test-pint-bucket program to use valid test-handles, and multiple fs_ids if available
1.44 annotated / raw | Diffs: previous, other | Lines: 2039 ( +167, -19 ) Created: 2003-12-05 09:09:34 -0500 (5 years 1 month ago) | Author: neill | Changeset: MAIN:neill:20031205140932 This is a full merge of my pvfs2-dbpf-attr-cache-branch, so this isthe cumulative changelog (based on existing cvs messages). - initial dbpf-attr-cache implementation and cleanups - added all the hooks to grab configurable cacheable metadata keys from a config file. re-arranged the config file by separating out fs specific hints into a StorageHints area. updated genconfig to account for these changes. - initial working implementation of the unified dbpf-attr and keyval/data pair cache. holy cow this thing is fast... much work to be done still. - initial locking added - replaced debug level with a new DBPF_ATTRCACHE_DEBUG level - added safe to/from cache data copies - added write-through caching for keyval data (still need to do generic attrs) - updated simple.conf - allow config file to have multiple AttrCacheKeywords lines - fix some cache parts that allow symlinks to work (i.e. be cached) - added a verbose warning for a particular kind of configuration error for a user to see if it should happen - some more robust configure checks - more configure related changes disable vis build if sdl is detected, but sdl-ttf isn't - fix broken ifdef nesting that caused compilation failure on non aio-threaded configurations - safe copy of attributes (to/from, preparing for write-through impl) - server cleanups (making way for pre-caching of a number of attrs on server startup since it reads them from disk during handle iterate anyway) - update create test program to report human readable creation error - put some quick human readable error reporting in pvfs2-client-core - added some quickhash method we've been wanting but never had - implemented policy to limit previously unbounded size of attr cache - adjusted simple.conf to have some good defaults - adjusted pvfs2-genconfig to match those defaults - fixed some htable cleanups - started write-through attr updates - update changelog and version info, preparing for mainline merge - implement write-through of dbpf-resize operation - make sys-truncate return -PVFS_EINVAL if truncate is called on an object that can't be truncated - fix error code return value of sys-truncate - cosmetic changes to truncate test program output - added some comments - updated showconfig with copyright info - updated sample configs for showconfig - added a default handle purgatory value if a value of zero is specified (e.g. not specified in config file at all) - for now, remove the cached dbpf-attr object on i/o writes - slightly robustify the glibc aio callback detection
Tags: pvfs2-0-0-8 pvfs2-0-0-7 1.43 annotated / raw | Diffs: previous, other | Lines: 1891 ( +86, -46 ) Created: 2003-11-10 13:00:43 -0500 (5 years 1 month ago) | Author: neill | Changeset: MAIN:neill:20031110180043 added an opposite equivalent of pvfs2_mkspace called pvfs2_rmspace that tearsdown a complete filesystem. it can be invoked by running the server with a -r option. Branch point for: pvfs2-dbpf-attr-cache-branch Tags: pvfs2-0-0-6 pvfs2-dbpf-attr-cache-branch$BP 1.42 annotated / raw | Diffs: previous, other | Lines: 1851 ( +21, -0 ) Created: 2003-11-05 08:04:15 -0500 (5 years 2 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20031105130415 added config file option to control how often the perf monitor state machinecycles to the next time step
1.41 annotated / raw | Diffs: previous, other | Lines: 1830 ( +2, -2 ) Created: 2003-11-04 15:07:33 -0500 (5 years 2 months ago) | Author: neill | Changeset: MAIN:neill:20031104200733 rename configuration file tag CollectionID to be ID
1.40 annotated / raw | Diffs: previous, other | Lines: 1830 ( +6, -6 ) Created: 2003-11-04 10:44:03 -0500 (5 years 2 months ago) | Author: rbross | Changeset: MAIN:rbross:20031104154403 Added PINT_ prefix to dotconf functions. Didn't try to do the right thing and figure out what functions should really be internalones.
1.39 annotated / raw | Diffs: previous, other | Lines: 1830 ( +3, -3 ) Created: 2003-10-16 10:42:20 -0400 (5 years 2 months ago) | Author: pw | Changeset: MAIN:pw:20031016144218 boring 64-bit printf changes
Tags: pvfs2-0-0-5 snapshot-kraken-10-16-2003-B 1.38 annotated / raw | Diffs: previous, other | Lines: 1830 ( +18, -18 ) Created: 2003-09-09 12:01:04 -0400 (5 years 3 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030909160103 more consistently use typedef for PINT_llist
Tags: snapshot-kraken-10-16-2003 pvfs2-0-0-4 pvfs2-0-0-3 1.37 annotated / raw | Diffs: previous, other | Lines: 1830 ( +14, -0 ) Created: 2003-09-09 11:47:57 -0400 (5 years 3 months ago) | Author: robl | Changeset: MAIN:robl:20030909154757 a new config file option (HandlePurgatory) will give us some control over howlong freed handles wait before being returned to the system.
1.36 annotated / raw | Diffs: previous, other | Lines: 1816 ( +62, -62 ) Created: 2003-09-09 11:31:51 -0400 (5 years 3 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030909153150 renamed all llist_XXX functions to PINT_llist_XXX, first step in fixingmost obvious name space problems (those that collide with pvfs1)
1.35 annotated / raw | Diffs: previous, other | Lines: 1816 ( +41, -6 ) Created: 2003-09-03 12:39:42 -0400 (5 years 4 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030903163942 pass along what flowprotocol to use on a per file system basis; stillneed to build module list string for initializing flow interface...
1.34 annotated / raw | Diffs: previous, other | Lines: 1781 ( +39, -0 ) Created: 2003-08-26 14:25:49 -0400 (5 years 4 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030826182549 added a "FlowModules" config file option (mandatory) that tells theserver what flowprotocols to initialize
Tags: pvfs2-0-0-2 1.33 annotated / raw | Diffs: previous, other | Lines: 1742 ( +47, -1 ) Created: 2003-08-26 13:11:37 -0400 (5 years 4 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030826171137 added a manditory server config file option (BMIModules) that listswhich bmi modules the server should initialize, also fixed a bug in BMI's parsing of module list
1.32 annotated / raw | Diffs: previous, other | Lines: 1696 ( +11, -2 ) Created: 2003-08-14 11:36:46 -0400 (5 years 4 months ago) | Author: neill | Changeset: MAIN:neill:20030814153646 don't assume mkspace is being called on a metaserver only
Tags: pvfs2-0-0-1 1.31 annotated / raw | Diffs: previous, other | Lines: 1687 ( +1, -1 ) Created: 2003-08-14 11:14:07 -0400 (5 years 4 months ago) | Author: neill | Changeset: MAIN:neill:20030814151406 Updated some places that need to be updated to account for the PVFS_handletype changing from an int64_t to a uint64_t. None are very important, mostly debugging/printing related.
1.30 annotated / raw | Diffs: previous, other | Lines: 1687 ( +145, -0 ) Created: 2003-07-24 10:27:08 -0400 (5 years 5 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030724142708 moved some code back into server-config.[ch] that is dependent upon troveand just wrapped in #ifdefs to control whether it is enabled or not
1.29 annotated / raw | Diffs: previous, other | Lines: 1542 ( +0, -140 ) Created: 2003-07-24 08:44:45 -0400 (5 years 5 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030724124445 more cleanup of job code to handle optional trove support, removed troveobjects from client side pvfs2 library, shuffled some functions between mkspace.c and server-config.c to break up trove dependence - just a short term fix, will sort out better shortly...
1.28 annotated / raw | Diffs: previous, other | Lines: 1682 ( +3, -3 ) Created: 2003-07-23 10:14:47 -0400 (5 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20030723141447 fprintf => gossip
1.27 annotated / raw | Diffs: previous, other | Lines: 1682 ( +1, -1 ) Created: 2003-07-23 08:24:29 -0400 (5 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20030723122429 gossipified more (f)printf statements; corrected a type problem in mkspace()that required the root handle to be an int rather than a handle
1.26 annotated / raw | Diffs: previous, other | Lines: 1682 ( +0, -3 ) Created: 2003-07-23 08:05:32 -0400 (5 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20030723120532 added a DIST_DEBUG flag for gossip; gossipified some fprintfs in distcode; added a line in the server to log what it's logging.
1.25 annotated / raw | Diffs: previous, other | Lines: 1685 ( +0, -43 ) Created: 2003-07-22 15:00:54 -0400 (5 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20030722190053 Corrected the custom strstr implementation; moved thePINT_config_get_debug_mask function from server-config.c into pvfs2-debug.h as PVFS_debug_eventlog_to_mask; fixed broken configure check for strstr
|