CVS log for pvfs2/src/server/pvfs2-server.c

(logo)

Help

(back) Up to [PVFS2] / pvfs2 / src / server

Request diff between arbitrary revisions / Display revisions graphically


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.269.4.28 / (view) - annotate - [select for diffs] , Mon Nov 21 18:05:25 2011 UTC (5 months, 4 weeks ago) by sampson
Branch: Orange-Branch
Changes since 1.269.4.27: +29 -17 lines
Diff to previous 1.269.4.27 to branch point 1.269 to next main 1.270
Added debugging of capabilities and credentials. Use security, access and access_detail flags.

Revision 1.269.4.27 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:47 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.269.4.26: +25 -0 lines
Diff to previous 1.269.4.26 to branch point 1.269
Merged robust security code into Orange-Branch.

Revision 1.269.4.26 / (view) - annotate - [select for diffs] , Mon Aug 22 16:16:24 2011 UTC (8 months, 4 weeks ago) by sdsnyde
Branch: Orange-Branch
CVS Tags: windows-release-2-8-5-20110921, pnfs-merge, orangefs-2-8-5, Orange-security-premerge
Changes since 1.269.4.25: +20 -0 lines
Diff to previous 1.269.4.25 to branch point 1.269
added new uid management app under src/apps/admin/pvfs2-get-uid
also included are a server and client side sm and the uid mgmt implementation files

Revision 1.269.4.1.8.11 / (view) - annotate - [select for diffs] , Fri Aug 19 15:50:16 2011 UTC (9 months ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.10: +140 -36 lines
Diff to previous 1.269.4.1.8.10 to branch point 1.269.4.1 to next main 1.269.4.2
merge with Orange-Branch

Revision 1.269.4.25 / (view) - annotate - [select for diffs] , Mon Aug 1 12:45:52 2011 UTC (9 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.24: +1 -1 lines
Diff to previous 1.269.4.24 to branch point 1.269
update error if segv-backtrace not configured correctly to disable functionality

Revision 1.269.4.1.8.10 / (view) - annotate - [select for diffs] , Thu Jul 28 20:23:13 2011 UTC (9 months, 3 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distdir_orange_before_merge_20110817
Changes since 1.269.4.1.8.9: +2 -2 lines
Diff to previous 1.269.4.1.8.9 to branch point 1.269.4.1
1. bump up TROVE to version 0.1.6, add a data migration function migrate_collection_0_1_5.
Will create a single dirdata object in distributed directory structure. More dirdata handles will be requested when calling split function.
2. some code cleanup in mgmt-create-root-dir.sm and pvfs2-req-proto.h.

Revision 1.269.4.23.4.10 / (view) - annotate - [select for diffs] , Fri Jul 22 13:47:21 2011 UTC (9 months, 4 weeks ago) by sdsnyde
Branch: orange-next
Changes since 1.269.4.23.4.9: +2 -2 lines
Diff to previous 1.269.4.23.4.9 to branch point 1.269.4.23 to next main 1.269.4.24
changing llu handle references to strings

Revision 1.269.4.23.4.9 / (view) - annotate - [select for diffs] , Wed Jul 20 17:45:21 2011 UTC (10 months ago) by sdsnyde
Branch: orange-next
Changes since 1.269.4.23.4.8: +0 -1 lines
Diff to previous 1.269.4.23.4.8 to branch point 1.269.4.23
adding handle printing files

Revision 1.269.4.23.4.8 / (view) - annotate - [select for diffs] , Wed Jul 20 17:26:21 2011 UTC (10 months ago) by sdsnyde
Branch: orange-next
Changes since 1.269.4.23.4.7: +10 -0 lines
Diff to previous 1.269.4.23.4.7 to branch point 1.269.4.23
Handle printing functionality added for client, server, and other utilities

Revision 1.269.4.23.4.7 / (view) - annotate - [select for diffs] , Mon Jul 18 16:26:25 2011 UTC (10 months ago) by mtmoore
Branch: orange-next
Changes since 1.269.4.23.4.6: +2 -1 lines
Diff to previous 1.269.4.23.4.6 to branch point 1.269.4.23
trove/bmi version change, start working through handle changes from server-side file system creation

Revision 1.269.4.23.4.6 / (view) - annotate - [select for diffs] , Sat Jul 16 01:49:56 2011 UTC (10 months ago) by mtmoore
Branch: orange-next
Changes since 1.269.4.23.4.5: +44 -577 lines
Diff to previous 1.269.4.23.4.5 to branch point 1.269.4.23
remove extents, handle ranges, precreate pools and various other things that aren't needed in their current forms with UUIDs

Revision 1.269.4.23.4.5 / (view) - annotate - [select for diffs] , Wed Jul 13 19:39:47 2011 UTC (10 months, 1 week ago) by bligon
Branch: orange-next
Changes since 1.269.4.23.4.4: +0 -27 lines
Diff to previous 1.269.4.23.4.4 to branch point 1.269.4.23
Removed MIRROR_HANDLE_INIT from server startup.
Files affected:
	pvfs2-server.c
	pvfs2-server.h

Revision 1.269.4.24 / (view) - annotate - [select for diffs] , Tue Jul 12 21:10:35 2011 UTC (10 months, 1 week ago) by sampson
Branch: Orange-Branch
CVS Tags: windows-client-to-Orange-Branch-20110712
Changes since 1.269.4.23: +1 -0 lines
Diff to previous 1.269.4.23 to branch point 1.269
Committed Windows client code to Orange-Branch.

Revision 1.269.4.23.4.4 / (view) - annotate - [select for diffs] , Tue Jul 12 20:10:05 2011 UTC (10 months, 1 week ago) by bligon
Branch: orange-next
Changes since 1.269.4.23.4.3: +27 -0 lines
Diff to previous 1.269.4.23.4.3 to branch point 1.269.4.23
Moved the definition and storage allocation of MIRROR_HANDLE_INIT to mirror_initialize() in the
server.  This variable only needs to be set once for the duration of a server.
Files affected:
	create-immutable-copies.sm
	pvfs2-server.c
	pvfs2-server.h

Revision 1.269.4.23.4.3 / (view) - annotate - [select for diffs] , Tue Jul 12 14:49:42 2011 UTC (10 months, 1 week ago) by mtmoore
Branch: orange-next
Changes since 1.269.4.23.4.2: +1 -1 lines
Diff to previous 1.269.4.23.4.2 to branch point 1.269.4.23
uuid converstation, PVFS_x_position changes, server/client side first pass done

Revision 1.269.4.23.4.2 / (view) - annotate - [select for diffs] , Thu Jul 7 15:04:31 2011 UTC (10 months, 2 weeks ago) by mtmoore
Branch: orange-next
Changes since 1.269.4.23.4.1: +4 -4 lines
Diff to previous 1.269.4.23.4.1 to branch point 1.269.4.23
change to #defined calls to uuids

Revision 1.269.4.23.4.1 / (view) - annotate - [select for diffs] , Tue Jul 5 19:03:15 2011 UTC (10 months, 2 weeks ago) by mtmoore
Branch: orange-next
Changes since 1.269.4.23: +4 -4 lines
Diff to previous 1.269.4.23
migrate from uint64_t type assignments to uuids

Revision 1.269.4.23 / (view) - annotate - [select for diffs] , Fri Jun 17 19:26:27 2011 UTC (11 months ago) by walt
Branch: Orange-Branch
CVS Tags: becky-test-bed
Branch point for: orange-next
Changes since 1.269.4.22: +8 -2 lines
Diff to previous 1.269.4.22 to branch point 1.269
fixed stupid break

Revision 1.269.4.22 / (view) - annotate - [select for diffs] , Fri Jun 17 15:23:47 2011 UTC (11 months ago) by walt
Branch: Orange-Branch
Changes since 1.269.4.21: +24 -16 lines
Diff to previous 1.269.4.21 to branch point 1.269
Modifications to perf counter system
Minor formatting and documentation edits

Revision 1.269.4.21 / (view) - annotate - [select for diffs] , Thu Jun 9 00:03:36 2011 UTC (11 months, 1 week ago) by mtmoore
Branch: Orange-Branch
CVS Tags: test-slab-cache-patch, test-duplicate-patch
Changes since 1.269.4.20: +3 -2 lines
Diff to previous 1.269.4.20 to branch point 1.269
compiler warning cleanup

Revision 1.269.4.20 / (view) - annotate - [select for diffs] , Wed Jun 8 13:10:42 2011 UTC (11 months, 1 week ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.19: +1 -1 lines
Diff to previous 1.269.4.19 to branch point 1.269
compiler warning cleanup

Revision 1.269.4.19 / (view) - annotate - [select for diffs] , Wed Jun 8 12:17:27 2011 UTC (11 months, 1 week ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.18: +2 -2 lines
Diff to previous 1.269.4.18 to branch point 1.269
compiler warning cleanup

Revision 1.269.4.18 / (view) - annotate - [select for diffs] , Wed Jun 8 12:13:28 2011 UTC (11 months, 1 week ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.17: +3 -2 lines
Diff to previous 1.269.4.17 to branch point 1.269
compiler warning cleanup

Revision 1.269.4.17 / (view) - annotate - [select for diffs] , Wed Jun 8 01:08:11 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.16: +0 -1 lines
Diff to previous 1.269.4.16 to branch point 1.269
don't need that line

Revision 1.269.4.16 / (view) - annotate - [select for diffs] , Wed Jun 8 01:07:21 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.15: +2 -1 lines
Diff to previous 1.269.4.15 to branch point 1.269
pvfs2-server alias option takes an argument

Revision 1.269.4.15 / (view) - annotate - [select for diffs] , Wed Jun 8 00:16:39 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.14: +11 -0 lines
Diff to previous 1.269.4.14 to branch point 1.269
don't try to shutdown the server if the help argument is passed to pvfs2-server

Revision 1.269.4.14 / (view) - annotate - [select for diffs] , Tue Jun 7 23:50:41 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.13: +2 -0 lines
Diff to previous 1.269.4.13 to branch point 1.269
add backtrace handler to SIGABRT

Revision 1.269.4.13 / (view) - annotate - [select for diffs] , Tue Jun 7 23:28:18 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.12: +2 -3 lines
Diff to previous 1.269.4.12 to branch point 1.269
add extra checks during trove cleanup and initialization

Revision 1.269.4.12 / (view) - annotate - [select for diffs] , Tue Jun 7 21:58:20 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.11: +0 -5 lines
Diff to previous 1.269.4.11 to branch point 1.269
define _GNU_SOURCE in CFLAGS in place of __USE_GNU throughout the code. Using the internal glibc macro of __USE_GNU isn't correct and in the case of newer platforms was the cause of backtrace functionality not building correct.

Revision 1.269.4.11 / (view) - annotate - [select for diffs] , Tue Jun 7 02:39:01 2011 UTC (11 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.10: +5 -1 lines
Diff to previous 1.269.4.10 to branch point 1.269
 friendly message after log re-opened

Revision 1.269.4.10 / (view) - annotate - [select for diffs] , Mon May 30 14:35:43 2011 UTC (11 months, 3 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.9: +4 -0 lines
Diff to previous 1.269.4.9 to branch point 1.269
re-open server log file on SIGHUP

Revision 1.251.2.11 / (view) - annotate - [select for diffs] , Tue May 17 19:32:55 2011 UTC (12 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.10: +77 -3 lines
Diff to previous 1.251.2.10 to branch point 1.251 to next main 1.252
merge with Orange-Branch

Revision 1.269.4.1.8.9 / (view) - annotate - [select for diffs] , Fri May 13 21:38:33 2011 UTC (12 months, 1 week ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.8: +0 -46 lines
Diff to previous 1.269.4.1.8.8 to branch point 1.269.4.1
clean pvfs2-server.c

Revision 1.269.4.1.8.8 / (view) - annotate - [select for diffs] , Fri May 13 21:15:07 2011 UTC (12 months, 1 week ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.7: +172 -0 lines
Diff to previous 1.269.4.1.8.7 to branch point 1.269.4.1
distributed directory structure for root and lost+found directory. In pvfs2-server.c, it will check if the root directory is set. Need 10~20 seconds for creation when the servers are launched at first time.

Revision 1.269.4.9 / (view) - annotate - [select for diffs] , Sat May 7 01:39:47 2011 UTC (12 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.8: +0 -1 lines
Diff to previous 1.269.4.8 to branch point 1.269
remove gossip_err line

Revision 1.269.4.8 / (view) - annotate - [select for diffs] , Fri May 6 19:48:14 2011 UTC (12 months, 2 weeks ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.7: +60 -7 lines
Diff to previous 1.269.4.7 to branch point 1.269
remove absolute path restriction on pvfs2-server. get cwd on startup, build full path for user

Revision 1.269.4.7 / (view) - annotate - [select for diffs] , Wed May 4 20:04:11 2011 UTC (12 months, 2 weeks ago) by bligon
Branch: Orange-Branch
Changes since 1.269.4.6: +21 -0 lines
Diff to previous 1.269.4.6 to branch point 1.269
Added functionality to the SIGHUP feature allowing the debug mask to be reset when SIGHUP signal is received
by the server.  Changes submitted by Bart Taylor from Acxiom.  In addition, the user must now specify a full
path for the pvfs2-fs.conf file when starting the server.  In this way, SIGHUP will always be able to find
the file.

Revision 1.276.4.1 / (view) - annotate - [select for diffs] , Mon Mar 21 18:38:39 2011 UTC (14 months ago) by sson
Branch: pvfs2-mr-shim
Changes since 1.276: +11 -1 lines
Diff to previous 1.276
Added DeferSyncToShutdown option, which completely diables any possible
calls to fdatasync or db->sync() while PVFS is running.

Revision 1.251.2.10 / (view) - annotate - [select for diffs] , Mon Nov 22 23:51:33 2010 UTC (17 months, 4 weeks ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.9: +4 -5 lines
Diff to previous 1.251.2.9 to branch point 1.251
merge with Orange-Branch

Revision 1.269.4.6 / (view) - annotate - [select for diffs] , Tue Oct 26 19:17:21 2010 UTC (18 months, 3 weeks ago) by bligon
Branch: Orange-Branch
CVS Tags: orangefs-2-8-4, orangefs-2-8-3-20110323, orangefs-2-8-3-2011-03-23, orangefs-2-8-3-20101112, OB-DBPF-OPEN-CACHE-REMOVE
Changes since 1.269.4.5: +4 -5 lines
Diff to previous 1.269.4.5 to branch point 1.269
In the call to trove_collection_lookup() from server_initialize_subsystems(), I passed in the address
of a local variable, orig_fsid, instead of the address of cur_fs->coll_id, because this variable
is modified in the lookup at the same time the trove_thread_function() tries to read it,
causing a data race condition.

Revision 1.269.4.1.8.7 / (view) - annotate - [select for diffs] , Tue Oct 5 18:39:32 2010 UTC (19 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.6: +0 -5 lines
Diff to previous 1.269.4.1.8.6 to branch point 1.269.4.1
Additional changes from merging with Orange-Branch

Revision 1.269.4.1.8.6 / (view) - annotate - [select for diffs] , Tue Oct 5 18:30:09 2010 UTC (19 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.5: +94 -22 lines
Diff to previous 1.269.4.1.8.5 to branch point 1.269.4.1
Merged in changes from Orange-Branch. There were a number of bugs fixed there since this branch was created.

Revision 1.251.2.9 / (view) - annotate - [select for diffs] , Wed Sep 22 06:44:00 2010 UTC (19 months, 4 weeks ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.8: +169 -53 lines
Diff to previous 1.251.2.8 to branch point 1.251
merge with Orange-Branch

Revision 1.269.4.4.2.1 / (view) - annotate - [select for diffs] , Fri Sep 10 18:02:15 2010 UTC (20 months, 1 week ago) by mtmoore
Branch: mtmoore-dbpf-txn
Changes since 1.269.4.4: +3 -7 lines
Diff to previous 1.269.4.4 to next main 1.269.4.5
initial transactional bdb work

Revision 1.269.4.5 / (view) - annotate - [select for diffs] , Mon Sep 6 20:30:50 2010 UTC (20 months, 2 weeks ago) by bligon
Branch: Orange-Branch
CVS Tags: windows-client, orangefs-current, orangefs-20100920, orangefs-2-8-3-20101113
Changes since 1.269.4.4: +13 -1 lines
Diff to previous 1.269.4.4 to branch point 1.269
Modified server-state-machine-complete function.  Reversed execution of functions BMI_set_info and
BMI_unexpected_free to prevent a memory leak.  If BMI_set_info removes the bmi addr information
from the cur_ref_list, then BMI_unexpected_free is unable to execute the deallocate function stored
in the bmi addr information.

Revision 1.269.4.1.8.5 / (view) - annotate - [select for diffs] , Fri Sep 3 21:46:29 2010 UTC (20 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distr-dir-pre-release
Changes since 1.269.4.1.8.4: +7 -2 lines
Diff to previous 1.269.4.1.8.4 to branch point 1.269.4.1
Next round of distributed directory changes.

Revision 1.269.4.4 / (view) - annotate - [select for diffs] , Fri Aug 27 17:26:38 2010 UTC (20 months, 3 weeks ago) by mtmoore
Branch: Orange-Branch
Branch point for: mtmoore-dbpf-txn
Changes since 1.269.4.3: +50 -7 lines
Diff to previous 1.269.4.3 to branch point 1.269
update to multiple pre-create pool implementation, only create pools for servers of the types they have to give (no I/O handles from meta only servers)

Revision 1.269.4.1.8.4 / (view) - annotate - [select for diffs] , Thu Aug 26 23:46:51 2010 UTC (20 months, 3 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.3: +1 -1 lines
Diff to previous 1.269.4.1.8.3 to branch point 1.269.4.1
1. add dist-dir-struct to root handle and lost+found handle
2. add dirdata bucket selection to several state machines, however, sys-rename and sys-readdir are not finished yet. There might be other state machines missing.
3. compilable, not expect to run correctly yet.
4. more to change.

Revision 1.269.4.1.8.3 / (view) - annotate - [select for diffs] , Mon Aug 23 00:10:16 2010 UTC (20 months, 4 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.2: +1 -2 lines
Diff to previous 1.269.4.1.8.2 to branch point 1.269.4.1
incorporate dist-dir-struct to the source tree. It's compilable but not runnable. still have a lot to change and add. Commit as a touch base.

Revision 1.269.4.1.8.2 / (view) - annotate - [select for diffs] , Wed Aug 18 16:03:31 2010 UTC (21 months ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1.8.1: +102 -52 lines
Diff to previous 1.269.4.1.8.1 to branch point 1.269.4.1
*** empty log message ***

Revision 1.269.4.3 / (view) - annotate - [select for diffs] , Tue Aug 17 18:42:23 2010 UTC (21 months ago) by mtmoore
Branch: Orange-Branch
Changes since 1.269.4.2: +113 -51 lines
Diff to previous 1.269.4.2 to branch point 1.269
per-dataspace handle type precreate pools implementation

Revision 1.269.4.1.8.1 / (view) - annotate - [select for diffs] , Tue Jul 27 15:36:10 2010 UTC (21 months, 3 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.269.4.1: +4 -1 lines
Diff to previous 1.269.4.1
added distributed directory struct and util functions, includes a md5 implementation. First try, more to change.

Revision 1.269.4.1.6.1 / (view) - annotate - [select for diffs] , Thu Jul 8 14:03:09 2010 UTC (22 months, 1 week ago) by mtmoore
Changes since 1.269.4.1: +7 -3 lines
Diff to previous 1.269.4.1 to next main 1.269.4.2
merging Orange Branch changes in

Revision 1.251.2.8 / (view) - annotate - [select for diffs] , Sat Jun 19 00:02:22 2010 UTC (23 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.7: +232 -31 lines
Diff to previous 1.251.2.7 to branch point 1.251
initial merge with Orange-Branch. much will be broken

Revision 1.251.2.7 / (view) - annotate - [select for diffs] , Wed Jun 16 20:45:34 2010 UTC (23 months ago) by nlmills
Branch: cu-security-branch
CVS Tags: cu-security-branch-premerge
Changes since 1.251.2.6: +0 -1 lines
Diff to previous 1.251.2.6 to branch point 1.251
lots of little fixes that have been in the works for a while

Revision 1.269.4.2 / (view) - annotate - [select for diffs] , Fri Apr 30 20:00:55 2010 UTC (2 years ago) by bligon
Branch: Orange-Branch
CVS Tags: pre-dirent, orangefs-rel-20100813, before-getattr, Orange-Migrate-Tools, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End
Changes since 1.269.4.1: +7 -3 lines
Diff to previous 1.269.4.1 to branch point 1.269
merge of B2O-Blue-Sync,HEAD,and latest of Orange.

Revision 1.269.4.1.12.1 / (view) - annotate - [select for diffs] , Wed Mar 31 20:27:18 2010 UTC (2 years, 1 month ago) by bligon
Branch: B2O-Merge-Test
Changes since 1.269.4.1: +7 -3 lines
Diff to previous 1.269.4.1 to next main 1.269.4.2
commiting changes from merge of Orange and Blue into test branch.

Revision 1.268.2.6 / (view) - annotate - [select for diffs] , Tue Mar 30 17:25:05 2010 UTC (2 years, 1 month ago) by pcarns
Branch: pvfs-2-8-branch
Changes since 1.268.2.5: +12 -0 lines
Diff to previous 1.268.2.5 to branch point 1.268 to next main 1.269
merge David Metheny's eventlogging reload on sighup patch from trunk to 2-8

Revision 1.276 / (view) - annotate - [select for diffs] , Tue Mar 30 17:24:25 2010 UTC (2 years, 1 month ago) by pcarns
Branch: MAIN
CVS Tags: tr-branch, my-point, HEAD, B2O-Temp, B2O-Blue-Sync
Branch point for: pvfs2-mr-shim
Changes since 1.275: +12 -0 lines
Diff to previous 1.275
patch from David Metheny to reload event logging mask on sighup

Revision 1.268.2.5 / (view) - annotate - [select for diffs] , Fri Jan 15 19:01:53 2010 UTC (2 years, 4 months ago) by pcarns
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2
Changes since 1.268.2.4: +0 -1 lines
Diff to previous 1.268.2.4 to branch point 1.268
merge double free fix from trunk to 2-8 branch

Revision 1.275 / (view) - annotate - [select for diffs] , Fri Jan 15 19:00:27 2010 UTC (2 years, 4 months ago) by pcarns
Branch: MAIN
Changes since 1.274: +0 -1 lines
Diff to previous 1.274
fixed a double free in one of the server startup failure paths

Revision 1.268.2.4 / (view) - annotate - [select for diffs] , Fri Dec 4 16:50:58 2009 UTC (2 years, 5 months ago) by pcarns
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2-rc1
Changes since 1.268.2.3: +2 -2 lines
Diff to previous 1.268.2.3 to branch point 1.268
merging patch from trunk: Bart Taylor's fix for segfault on SIGHUP

Revision 1.274 / (view) - annotate - [select for diffs] , Fri Dec 4 16:50:11 2009 UTC (2 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.273: +2 -2 lines
Diff to previous 1.273
patch from Bart Taylor to prevent segfault on SIGHUP

Revision 1.268.2.3 / (view) - annotate - [select for diffs] , Wed Nov 11 15:02:20 2009 UTC (2 years, 6 months ago) by pcarns
Branch: pvfs-2-8-branch
Changes since 1.268.2.2: +1 -0 lines
Diff to previous 1.268.2.2 to branch point 1.268
merge Michael's shutdown memory leak fixes from trunk to 2.8

Revision 1.273 / (view) - annotate - [select for diffs] , Wed Nov 11 15:01:24 2009 UTC (2 years, 6 months ago) by pcarns
Branch: MAIN
Changes since 1.272: +1 -0 lines
Diff to previous 1.272
patch from Michael Moore to clean up minor memory leaks on server shutdown

Revision 1.269.18.1 / (view) - annotate - [select for diffs] , Wed Oct 28 16:39:30 2009 UTC (2 years, 6 months ago) by mtmoore
Branch: Orange-mtmoore
Changes since 1.269: +1 -0 lines
Diff to previous 1.269 to next main 1.270
bug and memory fixes to getvalue operation

Revision 1.268.2.2 / (view) - annotate - [select for diffs] , Thu Oct 1 16:28:22 2009 UTC (2 years, 7 months ago) by slang
Branch: pvfs-2-8-branch
Changes since 1.268.2.1: +4 -0 lines
Diff to previous 1.268.2.1 to branch point 1.268
merge from HEAD: http://www.pvfs.org/fisheye/changelog/PVFS/?cs=MAIN:pcarns:20090727185444

Revision 1.268.2.1 / (view) - annotate - [select for diffs] , Thu Oct 1 15:31:55 2009 UTC (2 years, 7 months ago) by slang
Branch: pvfs-2-8-branch
Changes since 1.268: +212 -21 lines
Diff to previous 1.268
merge from HEAD:

patch from David Metheny to allow servers to reload configuration values
related to squashing, read only, and trusted network settings when a HUP
signal is received

Revision 1.269.4.1 / (view) - annotate - [select for diffs] , Wed Sep 2 21:38:58 2009 UTC (2 years, 8 months ago) by dbonnie
Branch: Orange-Branch
CVS Tags: pvfs2, Orange-FailOver-small-io, Orange-Elaine-Distr-Dir-Root, Orange-Branch-metadata-backup, B2O-Blue-Sync-Temp
Branch point for: Orange-Elaine-Distr-Dir-Branch, B2O-Merge-Test
Changes since 1.269: +7 -4 lines
Diff to previous 1.269
Merge with work from this summer.  Metadata and data storage spaces can now be located on different disks.  Fixed a small bug in string encoding.  Updated test code to reflect new Trove dual-storage space API.  Genconfig updated as well as affected admin apps. In the correct branch this time.

Revision 1.272 / (view) - annotate - [select for diffs] , Wed Sep 2 21:10:42 2009 UTC (2 years, 8 months ago) by dbonnie
Branch: MAIN
Changes since 1.271: +4 -7 lines
Diff to previous 1.271
Undo accidental commit to MAIN.  Reverted each file to pre-commit version.

Revision 1.271 / (view) - annotate - [select for diffs] , Tue Sep 1 18:55:53 2009 UTC (2 years, 8 months ago) by dbonnie
Branch: MAIN
Changes since 1.270: +7 -4 lines
Diff to previous 1.270
Merge with work from this summer.  Metadata and data storage spaces can now be located on different disks.  Fixed a small bug in string encoding.  Updated test code to reflect new Trove dual-storage space API.  Genconfig updated as well as affected admin apps.

Revision 1.251.2.6 / (view) - annotate - [select for diffs] , Tue Aug 25 17:56:29 2009 UTC (2 years, 8 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.5: +530 -30 lines
Diff to previous 1.251.2.5 to branch point 1.251
merged in changes from summer at LANL

Revision 1.270 / (view) - annotate - [select for diffs] , Mon Jul 27 18:54:45 2009 UTC (2 years, 9 months ago) by pcarns
Branch: MAIN
CVS Tags: pfsck-branch-point, pfsck-branch
Changes since 1.269: +4 -0 lines
Diff to previous 1.269
patches from Dries Kimpe:
- Added check before redefining USE_GNU in pvfs2-server.c
- Made use of endecode_fields_xxx macro's consistent and solved warning
in case they were compiled out.  The macro should be used as a function
call, and thus have a semicolumn at the end.

Revision 1.268.6.1 / (view) - annotate - [select for diffs] , Mon Jun 8 21:49:32 2009 UTC (2 years, 11 months ago) by sson
Branch: as-branch
Changes since 1.268: +212 -21 lines
Diff to previous 1.268 to next main 1.269
Merged Phil's tcp-peer-comm-branch that allows simultaneous server to server communications.
Added basic allreduce module:
  - implemented a recursive distance doubling algorithm.
  - works only when the # of servers are power of 2.
  - when activated, servers simply exchange their id to each other.

TODO
  - handle arbitrary sizes of buffers of various data types.

Revision 1.269.2.1 / (view) - annotate - [select for diffs] , Fri Apr 17 19:18:27 2009 UTC (3 years, 1 month ago) by slang
Branch: solaris-branch
Changes since 1.269: +4 -0 lines
Diff to previous 1.269 to next main 1.270
initial support for solaris.  doesn't include /dev/epoll support.  See trac ticket #97.

Revision 1.269 / (view) - annotate - [select for diffs] , Mon Apr 6 20:50:45 2009 UTC (3 years, 1 month ago) by pcarns
Branch: MAIN
CVS Tags: tcp-peer-comm-branch, solaris-point, bmi-experimental-branch-point, bmi-experimental-branch, aattrs-branch-point, aattrs-branch, Orange-Root, Orange-Merge1, Orange-FailOver-Becky, Orange-Elaine-Branch, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH
Branch point for: solaris-branch, Orange-mtmoore, Orange-Branch
Changes since 1.268: +212 -21 lines
Diff to previous 1.268
patch from David Metheny to allow servers to reload configuration values
related to squashing, read only, and trusted network settings when a HUP
signal is received

Revision 1.268 / (view) - annotate - [select for diffs] , Thu Jan 29 23:39:53 2009 UTC (3 years, 3 months ago) by harms
Branch: MAIN
CVS Tags: sa-branch, pvfs-2-8-point, pvfs-2-8-1, pvfs-2-8-0, as-point
Branch point for: pvfs-2-8-branch, as-branch
Changes since 1.267: +10 -0 lines
Diff to previous 1.267
- Change the Trove version to 0.1.4
- Implemented trove_migrate() to update database from 0.1.3 to 0.1.4
- Migration from 0.1.3 to 0.1.4 stats existing bstreams and
  updates the b_size attribute in the database.

Revision 1.267 / (view) - annotate - [select for diffs] , Thu Jan 29 05:24:03 2009 UTC (3 years, 3 months ago) by slang
Branch: MAIN
Changes since 1.266: +3 -0 lines
Diff to previous 1.266
properly cancel bmi unexpected jobs and cleanup unexpected state machines on shutdown.

Revision 1.266 / (view) - annotate - [select for diffs] , Wed Jan 28 16:58:28 2009 UTC (3 years, 3 months ago) by slang
Branch: MAIN
Changes since 1.265: +18 -0 lines
Diff to previous 1.265
Properly shutdown trove collections that have different methods than the global method.  For example, filesystems specified with directio need to call the directio cleanup to shutdown the threads involved.

Revision 1.265 / (view) - annotate - [select for diffs] , Tue Jan 20 20:38:33 2009 UTC (3 years, 4 months ago) by pcarns
Branch: MAIN
Changes since 1.264: +0 -5 lines
Diff to previous 1.264
update precreation code to handle the case of multiple file systems hosted
on the same pvfs2-server daemon

Revision 1.264 / (view) - annotate - [select for diffs] , Mon Jan 12 20:57:47 2009 UTC (3 years, 4 months ago) by slang
Branch: MAIN
Changes since 1.263: +32 -0 lines
Diff to previous 1.263
adding config options for direct io stuff.

Revision 1.263 / (view) - annotate - [select for diffs] , Wed Dec 10 16:19:29 2008 UTC (3 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.262: +6 -3 lines
Diff to previous 1.262
trivial freopen() warnings from newer tool chains

Revision 1.262 / (view) - annotate - [select for diffs] , Wed Dec 10 15:52:57 2008 UTC (3 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.261: +15 -5 lines
Diff to previous 1.261
fix more warning crankiness in newer tool chains by looking at write() and
freopen() error codes

Revision 1.261 / (view) - annotate - [select for diffs] , Tue Nov 25 22:14:51 2008 UTC (3 years, 5 months ago) by slang
Branch: MAIN
Changes since 1.260: +1 -1 lines
Diff to previous 1.260
fix warning

Revision 1.260 / (view) - annotate - [select for diffs] , Thu Nov 20 01:17:11 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.259: +51 -21 lines
Diff to previous 1.259
merging hints/events code into trunk.

Revision 1.259 / (view) - annotate - [select for diffs] , Tue Nov 11 19:25:59 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.258: +1 -1 lines
Diff to previous 1.258
merge of direct IO code to PVFS HEAD.

Revision 1.253.2.6 / (view) - annotate - [select for diffs] , Tue Nov 11 19:10:12 2008 UTC (3 years, 6 months ago) by slang
Branch: he-branch
Changes since 1.253.2.5: +429 -22 lines
Diff to previous 1.253.2.5 to branch point 1.253 to next main 1.254
reverse merge from HEAD.

Revision 1.254.6.3 / (view) - annotate - [select for diffs] , Mon Nov 10 20:44:32 2008 UTC (3 years, 6 months ago) by slang
Branch: directio-branch
Changes since 1.254.6.2: +37 -8 lines
Diff to previous 1.254.6.2 to branch point 1.254 to next main 1.255
reverse merge from HEAD to directio branch

Revision 1.258 / (view) - annotate - [select for diffs] , Wed Oct 22 14:49:01 2008 UTC (3 years, 6 months ago) by pcarns
Branch: MAIN
CVS Tags: before-dio-merge, after-he-reverse-merge
Changes since 1.257: +23 -9 lines
Diff to previous 1.257
fixed bug in precreation that caused servers to tend to pick the same layout
for datafiles 2 through N:
https://trac.mcs.anl.gov/projects/pvfs/ticket/63

Revision 1.257 / (view) - annotate - [select for diffs] , Wed Oct 8 18:38:28 2008 UTC (3 years, 7 months ago) by pcarns
Branch: MAIN
Changes since 1.256: +6 -0 lines
Diff to previous 1.256
Fix bug in BMI reference counting.  Previously the server was responsible
for both incrementing and decrementing count while working on a state
machine, but this leaves a window of time between completion of
testunexpected() and the start of a state machine.  If a connection was
reset during this window it could cause state machine to try to use
non-existent BMI address, with some odd results.

This patch adds a flag that the server can use to have BMI automatically
increment reference count on any unexpected message before it is passed to
the server for processing.

Revision 1.254.6.2 / (view) - annotate - [select for diffs] , Tue Sep 9 20:22:29 2008 UTC (3 years, 8 months ago) by slang
Branch: directio-branch
Changes since 1.254.6.1: +375 -2 lines
Diff to previous 1.254.6.1 to branch point 1.254
reverse merge of changes to HEAD since branch.  Includes small file changes.

Revision 1.256 / (view) - annotate - [select for diffs] , Mon Sep 8 15:42:50 2008 UTC (3 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.255: +372 -1 lines
Diff to previous 1.255
Merging small files branch to head.  Includes server side precreation of
data files and file stuffing.

Revision 1.254.2.6 / (view) - annotate - [select for diffs] , Fri Aug 22 22:15:11 2008 UTC (3 years, 8 months ago) by rzhong
Branch: rongrong
Changes since 1.254.2.5: +67 -10 lines
Diff to previous 1.254.2.5 to branch point 1.254 to next main 1.255
dspace, keyval, coll_attr dbs are now created within the environment.
A whole lot of other things try to make replication work

Revision 1.254.6.1 / (view) - annotate - [select for diffs] , Thu Aug 14 22:11:18 2008 UTC (3 years, 9 months ago) by slang
Branch: directio-branch
Changes since 1.254: +1 -1 lines
Diff to previous 1.254
fixes from Phil's comments for timeout values and cond signal/braodcast.

Revision 1.246.6.16 / (view) - annotate - [select for diffs] , Thu Aug 7 16:30:26 2008 UTC (3 years, 9 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.15: +3 -1 lines
Diff to previous 1.246.6.15 to branch point 1.246 to next main 1.247
merge trunk updates down to small-file-branch.  Passes basic tests but needs
some double checking of pint-cached-config and sys-create conflicts.

Revision 1.255 / (view) - annotate - [select for diffs] , Wed Aug 6 19:39:31 2008 UTC (3 years, 9 months ago) by pcarns
Branch: MAIN
CVS Tags: small-file-branch-point4
Changes since 1.254: +3 -1 lines
Diff to previous 1.254
minor tweak to how shm key is generated; incorporate fsid of first file
system in configuration (allows two unrelated servers to both use shm
in bdb on same box as long as they have different fsids)

Revision 1.254.2.5 / (view) - annotate - [select for diffs] , Thu Jul 31 21:37:44 2008 UTC (3 years, 9 months ago) by rzhong
Branch: rongrong
Changes since 1.254.2.4: +5 -5 lines
Diff to previous 1.254.2.4 to branch point 1.254
Change the replication group to be dynamically configurable. Add dbpf_db_reptab_t in dbpf_sync.h. Add dbpf_collection_find_dbreptab in dbpf_collection.c

Revision 1.254.2.4 / (view) - annotate - [select for diffs] , Tue Jul 29 15:17:47 2008 UTC (3 years, 9 months ago) by rzhong
Branch: rongrong
Changes since 1.254.2.3: +17 -4 lines
Diff to previous 1.254.2.3 to branch point 1.254
Add a seperate thread to handle the db_rep_send sm. Add the server db replication sm.

Revision 1.254.2.3 / (view) - annotate - [select for diffs] , Fri Jul 25 18:53:14 2008 UTC (3 years, 9 months ago) by rzhong
Branch: rongrong
Changes since 1.254.2.2: +4 -4 lines
Diff to previous 1.254.2.2 to branch point 1.254
set is_rep_master in config to 2 to indicate no replication for mkspace

Revision 1.254.2.2 / (view) - annotate - [select for diffs] , Thu Jul 24 21:24:57 2008 UTC (3 years, 9 months ago) by rzhong
Branch: rongrong
Changes since 1.254.2.1: +4 -0 lines
Diff to previous 1.254.2.1 to branch point 1.254
db-rep-send state machine added

Revision 1.251.2.5 / (view) - annotate - [select for diffs] , Mon Jul 21 22:02:52 2008 UTC (3 years, 10 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.4: +1 -7 lines
Diff to previous 1.251.2.4 to branch point 1.251
updated all references in include/, src/client/, src/common/, src/io/,
src/proto/, and src/server/ to use the new PVFS_credential in place of the
old PVFS_credentials. the admin apps in particular need to be updated to use
the new API.

Revision 1.226.2.1.2.1 / (view) - annotate - [select for diffs] , Mon Jul 21 18:18:15 2008 UTC (3 years, 10 months ago) by aching
Branch: locking-branch
Changes since 1.226.2.1: +356 -486 lines
Diff to previous 1.226.2.1 to next main 1.227
Reverse merged and ported to HEAD.

Revision 1.253.2.5 / (view) - annotate - [select for diffs] , Thu Jul 10 21:44:10 2008 UTC (3 years, 10 months ago) by slang
Branch: he-branch
Changes since 1.253.2.4: +2 -1 lines
Diff to previous 1.253.2.4 to branch point 1.253
reverse merge of trunk changes since branch.

Revision 1.253.2.4 / (view) - annotate - [select for diffs] , Wed Jul 2 19:44:20 2008 UTC (3 years, 10 months ago) by slang
Branch: he-branch
Changes since 1.253.2.3: +4 -0 lines
Diff to previous 1.253.2.3 to branch point 1.253
mo' changes, bug fixes to hints/events.  Fixed encoding bug for hints.

Revision 1.246.6.15 / (view) - annotate - [select for diffs] , Tue Jun 24 15:02:12 2008 UTC (3 years, 10 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.14: +2 -1 lines
Diff to previous 1.246.6.14 to branch point 1.246
reverse merge latest trunk changes to small-file-branch and update msgpair
usage where needed

Revision 1.253.2.3 / (view) - annotate - [select for diffs] , Fri Jun 20 04:41:03 2008 UTC (3 years, 11 months ago) by slang
Branch: he-branch
Changes since 1.253.2.2: +3 -2 lines
Diff to previous 1.253.2.2 to branch point 1.253
latest changes to tracing/hints code.

Revision 1.254.2.1 / (view) - annotate - [select for diffs] , Thu Jun 19 00:14:34 2008 UTC (3 years, 11 months ago) by rzhong
Branch: rongrong
CVS Tags: rr-txn
Changes since 1.254: +9 -46 lines
Diff to previous 1.254
Changed coll_env into transactional. Added db_log_buffer_size and db_log_directory as configurable options. Generate_shm_key has an error.

Revision 1.246.6.14 / (view) - annotate - [select for diffs] , Tue Jun 17 15:08:46 2008 UTC (3 years, 11 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.13: +1 -1 lines
Diff to previous 1.246.6.13 to branch point 1.246
quiet warning

Revision 1.251.2.4 / (view) - annotate - [select for diffs] , Wed May 28 20:47:26 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
CVS Tags: from_MERGE_FROM_HEAD, from_HEAD_NEW_FEATURE_ADD3
Changes since 1.251.2.3: +2 -2 lines
Diff to previous 1.251.2.3 to branch point 1.251
Fixed a bug in the lookup state machine (nlmills).  Moved code around in check.h/.c.  Fixed spacing in server.c.

Revision 1.254 / (view) - annotate - [select for diffs] , Fri May 23 20:45:13 2008 UTC (3 years, 11 months ago) by pcarns
Branch: MAIN
CVS Tags: sumit-branch, small-file-branch-point3, merge_MERGE_FROM_HEAD, merge_HEAD_NEW_FEATURE_ADD4, merge_HEAD_NEW_FEATURE_ADD3, fuse-support, directio-point, branch-rongrong
Branch point for: rongrong, directio-branch
Changes since 1.253: +2 -1 lines
Diff to previous 1.253
patch from Nick Mills to make server error out (rather than just log
messages) if configuration file is invalid

Revision 1.251.2.3 / (view) - annotate - [select for diffs] , Thu May 22 18:12:08 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
CVS Tags: from_HEAD_NEW_FEATURE_ADD2
Changes since 1.251.2.2: +2 -1 lines
Diff to previous 1.251.2.2 to branch point 1.251
improved configuration and error handling. fixed bug in server startup.

Revision 1.253.2.2 / (view) - annotate - [select for diffs] , Wed May 21 18:55:29 2008 UTC (4 years ago) by slang
Branch: he-branch
Changes since 1.253.2.1: +1 -0 lines
Diff to previous 1.253.2.1 to branch point 1.253
reverse merge of latest changes from HEAD to he branch.

Revision 1.251.2.2 / (view) - annotate - [select for diffs] , Mon May 19 21:57:05 2008 UTC (4 years ago) by nlmills
Branch: cu-security-branch
Changes since 1.251.2.1: +23 -0 lines
Diff to previous 1.251.2.1 to branch point 1.251
added security module initialize/finalize to sever startup/shutdown code. fixed a bug in keystore parsing.

Revision 1.251.2.1 / (view) - annotate - [select for diffs] , Fri May 16 15:15:53 2008 UTC (4 years ago) by dbonnie
Branch: cu-security-branch
Changes since 1.251: +2 -30 lines
Diff to previous 1.251
Updated branch with code from HEAD

Revision 1.253.2.1 / (view) - annotate - [select for diffs] , Mon Apr 7 16:31:42 2008 UTC (4 years, 1 month ago) by slang
Branch: he-branch
Changes since 1.253: +34 -13 lines
Diff to previous 1.253
hints and events.

Revision 1.246.6.13 / (view) - annotate - [select for diffs] , Mon Apr 7 15:07:41 2008 UTC (4 years, 1 month ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.12: +5 -32 lines
Diff to previous 1.246.6.12 to branch point 1.246
syncing small-file-branch back up with trunk at small-file-branch-point2 tag
(reverse merge)

Revision 1.253 / (view) - annotate - [select for diffs] , Sun Apr 6 23:11:54 2008 UTC (4 years, 1 month ago) by pcarns
Branch: MAIN
CVS Tags: small-file-branch-point2, merge_HEAD_NEW_FEATURE_ADD2, merge_HEAD_NEW_FEATURE_ADD, he-branch-point
Branch point for: he-branch
Changes since 1.252: +0 -61 lines
Diff to previous 1.252
removing some duplicate function definitions

Revision 1.252 / (view) - annotate - [select for diffs] , Fri Apr 4 16:39:47 2008 UTC (4 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.251: +56 -23 lines
Diff to previous 1.251
fixes the migrate collection utility to work with the single config file format.

Revision 1.246.2.3 / (view) - annotate - [select for diffs] , Fri Apr 4 16:21:55 2008 UTC (4 years, 1 month ago) by slang
Branch: pvfs-2-7-branch
CVS Tags: pvfs-2-7-1
Changes since 1.246.2.2: +2 -30 lines
Diff to previous 1.246.2.2 to branch point 1.246 to next main 1.247
fix for broken migrate collection admin tool since unified config file changes.  The migrate collection tool requires the alias to be passed when parsing the config file.

Revision 1.246.6.12 / (view) - annotate - [select for diffs] , Fri Mar 14 16:24:23 2008 UTC (4 years, 2 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.11: +1 -0 lines
Diff to previous 1.246.6.11 to branch point 1.246
merging various sm fixes from trunk to small-file-branch

Revision 1.251 / (view) - annotate - [select for diffs] , Wed Mar 12 14:45:12 2008 UTC (4 years, 2 months ago) by pcarns
Branch: MAIN
CVS Tags: Root_cu-security-branch
Branch point for: cu-security-branch
Changes since 1.250: +1 -0 lines
Diff to previous 1.250
yet another op field to remember to set when an sm transitions from an
unexpected machine to a machine for a specific request type

Revision 1.246.6.11 / (view) - annotate - [select for diffs] , Mon Feb 25 14:43:21 2008 UTC (4 years, 2 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.10: +11 -6 lines
Diff to previous 1.246.6.10 to branch point 1.246
some server side error handling cleanups.  If refiller fails, sleep for a
bit and try again later rather than giving up entirely.  On startup mainly
just log errors and shutdown gracefully; those are crticial
misconfiguration problems.

Revision 1.246.6.10 / (view) - annotate - [select for diffs] , Thu Feb 21 14:34:34 2008 UTC (4 years, 2 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.9: +20 -3 lines
Diff to previous 1.246.6.9 to branch point 1.246
Make precreate pools safe for split io server / meta server configurations.
Only meta servers are supposed to spool up precreated handles.

Revision 1.246.6.9 / (view) - annotate - [select for diffs] , Thu Feb 21 02:10:22 2008 UTC (4 years, 3 months ago) by slang
Branch: small-file-branch
Changes since 1.246.6.8: +14 -300 lines
Diff to previous 1.246.6.8 to branch point 1.246
Big pile-o' changes to make Pete go mad.

The main changes are the implementation of the stuffed create path (now just the create state machine and operation), and the beginnings of the "unstuff" operation.

This also includes the request scheduler and state machine cleanups (required for using prelude with batch_remove) and whatever else I may have happened to change along the way.

This code is able to create files, but writing to them is almost guaranteed to break.

Revision 1.246.6.8 / (view) - annotate - [select for diffs] , Mon Feb 18 19:03:20 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.7: +4 -5 lines
Diff to previous 1.246.6.7 to branch point 1.246
function comments

Revision 1.250 / (view) - annotate - [select for diffs] , Thu Feb 14 00:04:40 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
Changes since 1.249: +1 -1 lines
Diff to previous 1.249
Cleanup to cached config.  All the functions took a server_config struct, but none of them actually used it (using the cached config instead).  There's a bunch of other cleanup that needs to be done between the server_config_mgr, the config_fetch/get state machines, and the rest of the config code, this is just a small start.

Revision 1.246.4.1 / (view) - annotate - [select for diffs] , Wed Feb 13 19:49:47 2008 UTC (4 years, 3 months ago) by walt
Branch: cu-sandbox-branch
Changes since 1.246: +56 -315 lines
Diff to previous 1.246 to next main 1.247
Sam's prelude and scheduler updates

Revision 1.249 / (view) - annotate - [select for diffs] , Mon Feb 11 17:25:30 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
Changes since 1.248: +5 -273 lines
Diff to previous 1.248
The normal path for a server request operation is to jump to the prelude state machine, which tries schedule the request based on the handle+fsid.  This meant that the request scheduler code had a switch/case returning the handle+fsid for each request we defined.  The function was also overloaded with a readonly parameter (whether the request modified any objects on the server), and a scheduling policy parameter (as the return code), which specified whether the request scheduling could be bypassed for this request.

I moved all that to a per-request parameter structure, that gets specified within the server state machine for the request.  Now there is one array of server requests (moved to pvfs2-server-req.c) which the request scheduler and prelude state machine can poke at to get parameters (defined in the state machine for that request), and based decisions on.

The patch includes some other minor changes:

* A fix to the BMI addr ref count increment/decrement.  Previously, the addr ref count was being incremented/decremented in the prelude/final-response state machines.  That requires that those state machines get invoked, which I don't want to have to depend on.  I've moved the INC call to the unexpected_sm, and the DEC call to where the state machine gets finished in the server.  That way we don't have to worry about whether we're using prelude/final-response.

* Cleanup of the request scheduler.  The way we were changing the mode from normal to admin was sort of embedded into the request scheduling code, so we had to hack the mode change from prelude_sm instead of in setparam.  Also, the request scheduler had to be aware of the setparam fields in the request.  I've moved the mode change code to separate request scheduler and job calls.  I think something similar could be done for the timer code (it doesn't really belong in the request scheduler), but I'll leave that for another patch.

* Changed the way we compile the server binary in Makefile.in to allow for multiple object files.

Revision 1.246.6.7 / (view) - annotate - [select for diffs] , Tue Feb 5 20:04:16 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.6: +21 -65 lines
Diff to previous 1.246.6.6 to branch point 1.246
shuffled some things around

Revision 1.246.6.6 / (view) - annotate - [select for diffs] , Thu Jan 31 17:39:50 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.5: +56 -23 lines
Diff to previous 1.246.6.5 to branch point 1.246
Preliminary cut at servers asking each other for handles.  Request is
exchanged, but doesn't do anything yet.  Also some tweaks to how precreate
pool information is assembled at startup.

Revision 1.246.6.5 / (view) - annotate - [select for diffs] , Wed Jan 30 20:26:33 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.4: +57 -1 lines
Diff to previous 1.246.6.4 to branch point 1.246
stubbed in state machine to handle refilling precreate pools

Revision 1.246.6.4 / (view) - annotate - [select for diffs] , Tue Jan 29 20:33:14 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.3: +312 -0 lines
Diff to previous 1.246.6.3 to branch point 1.246
Start an api for keeping up with the precreate pools.  For now all it does
is find the pools on startup or create them if they don't exist.  All
of the API functions are static in pvfs2-server.c for the moment.  Running
with the assumption we will track allocated handles as keyvals.

Revision 1.246.2.2 / (view) - annotate - [select for diffs] , Tue Jan 29 16:17:48 2008 UTC (4 years, 3 months ago) by pcarns
Branch: pvfs-2-7-branch
Changes since 1.246.2.1: +5 -1 lines
Diff to previous 1.246.2.1 to branch point 1.246
merging minor tweaks to db hint fn

Revision 1.248 / (view) - annotate - [select for diffs] , Tue Jan 29 16:16:54 2008 UTC (4 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.247: +5 -1 lines
Diff to previous 1.247
minor tweaks to db hint function

Revision 1.246.6.3 / (view) - annotate - [select for diffs] , Mon Jan 28 21:18:28 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246.6.2: +47 -42 lines
Diff to previous 1.246.6.2 to branch point 1.246
merging db bug fix and heartbeat updates from trunk; I may want to reuse
some logic from the former to identify peer servers on startup

Revision 1.246.2.1 / (view) - annotate - [select for diffs] , Mon Jan 28 20:07:24 2008 UTC (4 years, 3 months ago) by pcarns
Branch: pvfs-2-7-branch
Changes since 1.246: +47 -42 lines
Diff to previous 1.246
merging patches for heartbeat docs and db failover corruption bug fix to
pvfs-2-7-branch
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-November/003740.html

Revision 1.247 / (view) - annotate - [select for diffs] , Mon Jan 28 19:43:32 2008 UTC (4 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.246: +47 -42 lines
Diff to previous 1.246
accepting patch for db corruption after failover:
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-November/003740.html

Revision 1.246.6.2 / (view) - annotate - [select for diffs] , Thu Jan 24 21:34:41 2008 UTC (4 years, 3 months ago) by slang
Branch: small-file-branch
Changes since 1.246.6.1: +7 -1 lines
Diff to previous 1.246.6.1 to branch point 1.246
inode stuffing operation.  also added a keyval_remove_list.

Revision 1.246.6.1 / (view) - annotate - [select for diffs] , Thu Jan 24 21:15:16 2008 UTC (4 years, 3 months ago) by pcarns
Branch: small-file-branch
Changes since 1.246: +8 -0 lines
Diff to previous 1.246
stubbed in new request type: batch_create.  The plan is for this to react
like create, except that it can create many handles of the same type (on
one server) in one protocol exchange

Revision 1.246 / (view) - annotate - [select for diffs] , Thu Aug 30 00:13:44 2007 UTC (4 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: small-file-branch-point, pvfs-2-7-branch-point, pvfs-2-7-0, mgmt-branch-point, cu-sandbox-branch-point
Branch point for: small-file-branch, pvfs-2-7-branch, cu-sandbox-branch
Changes since 1.245: +5 -19 lines
Diff to previous 1.245
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.245 / (view) - annotate - [select for diffs] , Fri Aug 17 04:04:30 2007 UTC (4 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.244: +87 -15 lines
Diff to previous 1.244
commit of Murali's unifying config file patch.  Also adding a convert script for converting to the new single fs.conf format.

Revision 1.244 / (view) - annotate - [select for diffs] , Wed Aug 15 18:43:11 2007 UTC (4 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.243: +41 -25 lines
Diff to previous 1.243
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.

Revision 1.243 / (view) - annotate - [select for diffs] , Wed Jul 18 20:37:02 2007 UTC (4 years, 10 months ago) by pw
Branch: MAIN
CVS Tags: twod-branch-point, twod-branch
Changes since 1.242: +9 -0 lines
Diff to previous 1.242
Let dist free its structures when the server exits.

Revision 1.230.2.2 / (view) - annotate - [select for diffs] , Wed May 23 20:48:17 2007 UTC (4 years, 11 months ago) by kunkel
Branch: pvfs2-kunkel-tas-branch
Changes since 1.230.2.1: +148 -144 lines
Diff to previous 1.230.2.1 to branch point 1.230 to next main 1.231
Merge HEAD changes to TAS-branch.

Revision 1.242 / (view) - annotate - [select for diffs] , Wed May 9 20:32:02 2007 UTC (5 years ago) by slang
Branch: MAIN
CVS Tags: kunkel-tas-branch-2007-05-23, kunkel-migration-hint-branch-point-2007-06-17
Changes since 1.241: +8 -4 lines
Diff to previous 1.241
fix of segfault if versions mismatch.  reported by Kyle.

Revision 1.241 / (view) - annotate - [select for diffs] , Tue Apr 24 22:04:31 2007 UTC (5 years ago) by pw
Branch: MAIN
Changes since 1.240: +0 -3 lines
Diff to previous 1.240
server SM build warnings

Revision 1.240 / (view) - annotate - [select for diffs] , Fri Apr 20 21:00:25 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.239: +0 -2 lines
Diff to previous 1.239
get rid of overly verbose debug msg

Revision 1.239 / (view) - annotate - [select for diffs] , Wed Apr 18 16:38:58 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.238: +1 -1 lines
Diff to previous 1.238
This patch fixes the errors seen when the attr cache was enabled with a non-zero timeout.  The problem was that getattr was completing immediately, which the client-core code didn't handle properly.  Now it does (I hope).  Also, the smcb was still being added to the completion list even on immediate completion, and once the client-core code cleaned up the smcb, pulling it off the completion list later and trying to service it was causing memory errors.

To fix it, I added a PINT_state_machine_continue call, which is a wrapper around PINT_state_machine_next, and calls terminate (which then calls the terminate callback, and adds the smcb to the completion list).  This allows us to call PINT_state_machine_next from PINT_state_machine_start, without calling terminate if the state machine completes immediately.

Revision 1.238 / (view) - annotate - [select for diffs] , Fri Apr 13 05:14:30 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.237: +134 -128 lines
Diff to previous 1.237
merge of the WALT3 branch to HEAD.  This patch changes the way state actions
are represented as C structures (what statecomp generates).  It also changes
the main state action parameter from a s_op on the server or an sm_p on the client
to a unified smcb pointer (state machine control block) for all state actions (both client and server).  Finally, initial support for concurrent state machines has
been added to allow state actions to be invoked concurrently .. a first step for
server-to-server.

Revision 1.217.2.14 / (view) - annotate - [select for diffs] , Wed Apr 11 22:51:01 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.217.2.13: +7 -2 lines
Diff to previous 1.217.2.13 to branch point 1.217 to next main 1.218
walt3 reverse merge from head includes merges of pw's sm changes (no state declarations), cleanup of state machine code, and other general merging/fixes.

Revision 1.230.6.3 / (view) - annotate - [select for diffs] , Thu Apr 5 20:59:24 2007 UTC (5 years, 1 month ago) by slang
Branch: pvfs-2-6-branch
CVS Tags: pvfs-2-6-3-tag3
Changes since 1.230.6.2: +1 -2 lines
Diff to previous 1.230.6.2 to branch point 1.230 to next main 1.231
merge phil's patches from trunk.

Revision 1.237 / (view) - annotate - [select for diffs] , Thu Apr 5 20:58:37 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: pvfs-2-6-3-tag2
Changes since 1.236: +1 -2 lines
Diff to previous 1.236
patches from phil:  http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-April/003300.html

Revision 1.230.6.2 / (view) - annotate - [select for diffs] , Thu Apr 5 15:49:50 2007 UTC (5 years, 1 month ago) by slang
Branch: pvfs-2-6-branch
Changes since 1.230.6.1: +5 -0 lines
Diff to previous 1.230.6.1 to branch point 1.230
merge recent fixes from HEAD

Revision 1.236 / (view) - annotate - [select for diffs] , Thu Apr 5 14:59:22 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.235: +5 -0 lines
Diff to previous 1.235
[phil]: patches from phil.  Committed with mods.  See:

http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-March/003255.html

Revision 1.235 / (view) - annotate - [select for diffs] , Thu Mar 29 14:20:44 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.234: +0 -10 lines
Diff to previous 1.234
commit of changes to acl and extended attr checking code.  Hopefully this is will be easier to extend in the future.

Revision 1.224.4.7 / (view) - annotate - [select for diffs] , Thu Mar 15 09:49:57 2007 UTC (5 years, 2 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.6: +5 -2 lines
Diff to previous 1.224.4.6 to branch point 1.224 to next main 1.225
Upgrade to current CVS version..

Revision 1.234 / (view) - annotate - [select for diffs] , Mon Mar 12 22:20:29 2007 UTC (5 years, 2 months ago) by slang
Branch: MAIN
CVS Tags: kunkel-migration-hint-branch-point-2007-03-15
Changes since 1.233: +3 -2 lines
Diff to previous 1.233
make gossip_debug_fp print to stderr with the right type of timestamp the way I want it to.

Revision 1.233 / (view) - annotate - [select for diffs] , Wed Mar 7 07:22:36 2007 UTC (5 years, 2 months ago) by slang
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232
fix the broken gossip bits.

Revision 1.232 / (view) - annotate - [select for diffs] , Thu Mar 1 19:50:43 2007 UTC (5 years, 2 months ago) by slang
Branch: MAIN
Changes since 1.231: +4 -2 lines
Diff to previous 1.231
adding server starting/ready printouts.  Required changes to gossip

Revision 1.224.2.7 / (view) - annotate - [select for diffs] , Tue Feb 27 21:38:39 2007 UTC (5 years, 2 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.6: +36 -39 lines
Diff to previous 1.224.2.6 to branch point 1.224 to next main 1.225
Cleanup of performance counter code...

Revision 1.224.4.6 / (view) - annotate - [select for diffs] , Fri Feb 23 10:38:25 2007 UTC (5 years, 2 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.5: +4 -0 lines
Diff to previous 1.224.4.5 to branch point 1.224
move request scheduler load start/stop directly around state machines

Revision 1.224.4.5 / (view) - annotate - [select for diffs] , Thu Feb 22 18:14:41 2007 UTC (5 years, 2 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.4: +2 -2 lines
Diff to previous 1.224.4.4 to branch point 1.224
Trove load added. (Number of avg. pending trove operations (meta + data)).

Revision 1.224.4.4 / (view) - annotate - [select for diffs] , Thu Feb 22 17:38:42 2007 UTC (5 years, 2 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.3: +5 -4 lines
Diff to previous 1.224.4.3 to branch point 1.224
Created a better interface for load values in the performance counter.

Revision 1.224.4.3 / (view) - annotate - [select for diffs] , Tue Feb 20 11:22:51 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.2: +3 -0 lines
Diff to previous 1.224.4.2 to branch point 1.224
Added real load statistics for bmi, flow and trove operations.

Revision 1.224.4.2 / (view) - annotate - [select for diffs] , Sat Feb 17 11:16:00 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224.4.1: +151 -53 lines
Diff to previous 1.224.4.1 to branch point 1.224
Update migration branch to current CVS version

Revision 1.224.2.6 / (view) - annotate - [select for diffs] , Sat Dec 2 11:20:42 2006 UTC (5 years, 5 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.5: +24 -9 lines
Diff to previous 1.224.2.5 to branch point 1.224
Upgrade to current CVS version

Revision 1.231 / (view) - annotate - [select for diffs] , Thu Nov 16 23:40:20 2006 UTC (5 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: kunkel-hint-branch-point-26, kunkel-hint-branch-point-2007-02-17
Changes since 1.230: +2 -0 lines
Diff to previous 1.230
merge latest changes in 2.6 to head.

Revision 1.230.6.1 / (view) - annotate - [select for diffs] , Wed Nov 15 22:46:51 2006 UTC (5 years, 6 months ago) by slang
Branch: pvfs-2-6-branch
CVS Tags: pvfs-2-6-3, pvfs-2-6-2, pvfs-2-6-1
Changes since 1.230: +2 -0 lines
Diff to previous 1.230
fix --enable-fast build bug.

Revision 1.217.2.13 / (view) - annotate - [select for diffs] , Thu Nov 9 15:52:50 2006 UTC (5 years, 6 months ago) by walt
Branch: WALT3
Changes since 1.217.2.12: +6 -53 lines
Diff to previous 1.217.2.12 to branch point 1.217
 cleaned out some old code, made sure "completed" gets set on
 terminating SMs.

Revision 1.230.2.1 / (view) - annotate - [select for diffs] , Sun Oct 29 14:28:30 2006 UTC (5 years, 6 months ago) by kunkel
Branch: pvfs2-kunkel-tas-branch
Changes since 1.230: +26 -3 lines
Diff to previous 1.230
Added -n flag which simplifies startup of multiple servers with mpi.
Therefore, hostname is added to server_conf like pvfs2-genconfig does.

Revision 1.217.2.12 / (view) - annotate - [select for diffs] , Thu Oct 19 22:17:16 2006 UTC (5 years, 7 months ago) by slang
Branch: WALT3
Changes since 1.217.2.11: +86 -15 lines
Diff to previous 1.217.2.11 to branch point 1.217
reverse merge of HEAD to WALT3 branch.

Revision 1.230 / (view) - annotate - [select for diffs] , Wed Oct 18 16:01:12 2006 UTC (5 years, 7 months ago) by slang
Branch: MAIN
CVS Tags: pvfs-2-6-point4, pvfs-2-6-point3, pvfs-2-6-point2, pvfs-2-6-0, dbpf-methods-point, dbpf-methods-branch, WALT3-point, WALT3-last-merged
Branch point for: pvfs2-kunkel-tas-branch, pvfs-2-6-branch
Changes since 1.229: +22 -9 lines
Diff to previous 1.229
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).

Revision 1.217.2.11 / (view) - annotate - [select for diffs] , Thu Sep 28 18:35:43 2006 UTC (5 years, 7 months ago) by walt
Branch: WALT3
Changes since 1.217.2.10: +25 -17 lines
Diff to previous 1.217.2.10 to branch point 1.217
moved unexpected message handling to a state machine.  reworked sop list
so unexpected messages do not start new server ops after a halt signal.
compiles and executes simple test.

Revision 1.226.2.1 / (view) - annotate - [select for diffs] , Wed Sep 27 20:39:17 2006 UTC (5 years, 7 months ago) by aching
Branch: version-lock-actual-branch
Branch point for: locking-branch
Changes since 1.226: +17 -1 lines
Diff to previous 1.226 to next main 1.227
Added in help for lock.sm.

Revision 1.224.2.5 / (view) - annotate - [select for diffs] , Wed Sep 27 09:59:12 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.4: +3 -1 lines
Diff to previous 1.224.2.4 to branch point 1.224
Allow to start the event logging automatically if start_event_logging is specified in EventLogging list.

Revision 1.224.2.4 / (view) - annotate - [select for diffs] , Wed Sep 27 08:57:27 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.3: +9 -2 lines
Diff to previous 1.224.2.3 to branch point 1.224
Adapt event managment (more to come) for mpe for our needs.
Also add stuff from atop to allow to get detailed system statistics.
Performance counter now logs additional stuff: load, cpu usage, network and disk usage (more possible, thx atop). These values are given to the event managment and loggend in mpe.

Revision 1.224.2.3 / (view) - annotate - [select for diffs] , Mon Sep 25 12:39:53 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.2: +91 -8 lines
Diff to previous 1.224.2.2 to branch point 1.224
backmerging of HEAD to branch...

Revision 1.229 / (view) - annotate - [select for diffs] , Fri Sep 22 19:27:32 2006 UTC (5 years, 7 months ago) by slang
Branch: MAIN
CVS Tags: pvfs-2-6-point
Changes since 1.228: +5 -5 lines
Diff to previous 1.228
fixes from 1.5 branch that never made it to trunk.

Revision 1.228 / (view) - annotate - [select for diffs] , Wed Sep 20 04:36:14 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
Changes since 1.227: +56 -1 lines
Diff to previous 1.227
* 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).

Revision 1.217.2.10 / (view) - annotate - [select for diffs] , Mon Sep 18 15:05:25 2006 UTC (5 years, 8 months ago) by vilayann
Branch: WALT3
Changes since 1.217.2.9: +144 -23 lines
Diff to previous 1.217.2.9 to branch point 1.217
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

Revision 1.227 / (view) - annotate - [select for diffs] , Wed Sep 13 20:22:58 2006 UTC (5 years, 8 months ago) by vilayann
Branch: MAIN
CVS Tags: tau-sandbox-point, tau-sandbox
Changes since 1.226: +8 -1 lines
Diff to previous 1.226
Merge posix-extensions-branch to HEAD
This 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.

Revision 1.205.2.6 / (view) - annotate - [select for diffs] , Tue Sep 12 05:10:25 2006 UTC (5 years, 8 months ago) by vilayann
Branch: posix-extensions-branch
Changes since 1.205.2.5: +22 -1 lines
Diff to previous 1.205.2.5 to branch point 1.205 to next main 1.206
Merge from HEAD to posix-extensions-branch...
This should facilitate merging the posix branch to HEAD...

Revision 1.226 / (view) - annotate - [select for diffs] , Mon Sep 11 20:22:06 2006 UTC (5 years, 8 months ago) by vilayann
Branch: MAIN
CVS Tags: version-lock-branch, posix-extensions-point7
Branch point for: version-lock-actual-branch
Changes since 1.225: +13 -0 lines
Diff to previous 1.225
Implement root squash, read only and all squash export options. All of these are server-side
settings 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.

Revision 1.225 / (view) - annotate - [select for diffs] , Mon Sep 11 15:42:41 2006 UTC (5 years, 8 months ago) by vilayann
Branch: MAIN
Changes since 1.224: +9 -1 lines
Diff to previous 1.224
[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.

Revision 1.224.2.2 / (view) - annotate - [select for diffs] , Sat Sep 9 08:08:27 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224.2.1: +29 -4 lines
Diff to previous 1.224.2.1 to branch point 1.224
Added patch from migration branch which allows server to add hostname if -n parameter is given on startup. Useful to start server with MPI on a shared homedirectory.

Revision 1.224.6.1 / (view) - annotate - [select for diffs] , Fri Sep 8 13:07:48 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-alternativeIO-branch
CVS Tags: threaded-aio-point, threaded-aio-branch
Changes since 1.224: +8 -8 lines
Diff to previous 1.224 to next main 1.225
Alternative Trove implementation branch with Trove transaction support for db >= 4.3.

Revision 1.224.4.1 / (view) - annotate - [select for diffs] , Fri Sep 8 11:51:22 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.224: +47 -5 lines
Diff to previous 1.224
Modification for migration added, some functions still need to be adapted after moving to a new branch...

Revision 1.224.2.1 / (view) - annotate - [select for diffs] , Fri Sep 8 10:00:42 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.224: +3 -0 lines
Diff to previous 1.224
PVFS2-hint support + minor changes (verbose request scheduler)

Revision 1.218.2.10 / (view) - annotate - [select for diffs] , Tue Sep 5 09:34:52 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.9: +10 -2 lines
Diff to previous 1.218.2.9 to branch point 1.218 to next main 1.219
Added request statistics to scheduler, reference from datafiles to
parent metafile (needed for migration) and auto migration tool(unfinished).

Revision 1.205.2.5 / (view) - annotate - [select for diffs] , Sun Sep 3 17:44:13 2006 UTC (5 years, 8 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5
Changes since 1.205.2.4: +20 -15 lines
Diff to previous 1.205.2.4 to branch point 1.205
Reverse merges from HEAD..

Revision 1.217.2.9 / (view) - annotate - [select for diffs] , Tue Aug 29 20:44:03 2006 UTC (5 years, 8 months ago) by walt
Branch: WALT3
Changes since 1.217.2.8: +2 -8 lines
Diff to previous 1.217.2.8 to branch point 1.217
updates to parallel state machine code that get a basic test working
This test is still included in get_config.sm and needs to be removed.

Revision 1.218.2.9 / (view) - annotate - [select for diffs] , Tue Aug 29 10:41:26 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.8: +25 -7 lines
Diff to previous 1.218.2.8 to branch point 1.218
Backmerge with HEAD

Revision 1.218.2.8 / (view) - annotate - [select for diffs] , Sat Aug 26 19:31:02 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.7: +31 -3 lines
Diff to previous 1.218.2.7 to branch point 1.218
Allow user to add a the flag -n on server startup which automatically
adds the hostname as prefix to the server_conf. (useful to startup with
MPI on a shared home directory).

Revision 1.218.2.7 / (view) - annotate - [select for diffs] , Sat Aug 26 13:37:48 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.6: +1 -1 lines
Diff to previous 1.218.2.6 to branch point 1.218
Migration of datafiles between different servers works. Uses msgpairray.sm,
transfers only one datafile between two servers and rewrites metadata.
Todo: Adaption of request scheduler to ensure that migration and write
I/O do not happen concurrently on source dataserver.
Also allow users to specify command line parameter which supresses
transfer of pvfs2-hints.

Revision 1.224 / (view) - annotate - [select for diffs] , Wed Aug 23 19:39:39 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: posix-extensions-point6, kunkel-branches-point
Branch point for: kunkel-migration-branch, kunkel-hint-branch, kunkel-alternativeIO-branch
Changes since 1.223: +5 -5 lines
Diff to previous 1.223
PINT_decode does some inplace decoding, so we need to keep the unexpected buffer around until the state machine completes.

Don't assert on malloc failures!

Revision 1.214.2.2 / (view) - annotate - [select for diffs] , Tue Aug 22 22:37:55 2006 UTC (5 years, 8 months ago) by slang
Branch: pvfs2-1-5-branch
CVS Tags: pvfs2-1_5_1_for_bgl3, pvfs2-1_5_1_for_bgl2
Changes since 1.214.2.1: +5 -5 lines
Diff to previous 1.214.2.1 to branch point 1.214 to next main 1.215
migration fixes for problems seen on bgl:

1. trove_keyval_write requires all keys to be null terminated, and for the
specified length to include the null terminator.

2. need to check that the return value of translate_keyval_key, to make
sure that the keyval isn't a component filename.

Revision 1.223 / (view) - annotate - [select for diffs] , Tue Aug 22 15:41:15 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
Changes since 1.222: +8 -7 lines
Diff to previous 1.222
Added bmi unexpected free callbacks to tcp, gm and ib to indicate when unexpected buffers
are done. All they do right now in these methods is to free these buffers.
Move the call to bmi_unexpected_free() earlier (right after the decode is done)
Cleaned up test programs and server to use the new api..
Also cleaned up tcp and gm bmi structures to init structures the c standard way..

Revision 1.218.2.6 / (view) - annotate - [select for diffs] , Tue Aug 22 10:54:20 2006 UTC (5 years, 9 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.5: +8 -1 lines
Diff to previous 1.218.2.5 to branch point 1.218
Added tool which prints file mapping to server aliases. Added
experimental stubs for migration tools. Added kernel tgid to request ID.
Bugfix of PINT_cached_config_get_one_server_str.

Revision 1.218.2.5 / (view) - annotate - [select for diffs] , Sat Aug 19 13:09:39 2006 UTC (5 years, 9 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.4: +3 -0 lines
Diff to previous 1.218.2.4 to branch point 1.218
Added PVFS-hint, changed tests for pwrite/odirect/transactions/aio dbpf
 support to allow users to explicitly enable or disable the functionality.
In the aio implementation is a bug since somebody else modified it.

Revision 1.218.2.4 / (view) - annotate - [select for diffs] , Fri Aug 18 05:12:17 2006 UTC (5 years, 9 months ago) by slang
Branch: kunkel-branch
Changes since 1.218.2.3: +75 -11 lines
Diff to previous 1.218.2.3 to branch point 1.218
reverse merge from trunk.  working for now.

Revision 1.222 / (view) - annotate - [select for diffs] , Thu Aug 17 08:11:51 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
Changes since 1.221: +4 -0 lines
Diff to previous 1.221
Whew.. Final bits of the acl puzzle (hopefully!).
Clearly, ACLs require support at the server. (what was I thinking earlier? :))
Patch adds a PINT_check_acls() function that does that. the pvfs2_acl_entry structure is moved to a common
header file shared between kernel module and server.
When PINT_check_mode() throws up its hand in despair, ACL checks are done. NOTE: ACLs dont impose a performance
overhead when permission checks go through properly. When they fail, we post a job_trove_keyval_read()
and when that completes, we check if ACLs allow the operation to proceed.
Added a lot more debug statements.
It is unfortunately not enough to change only prelude sm, but lookup sm also had to be modified
to check for acls. sigh..

Hopefully, this does not break anything else. Simple preliminary tests dont seem to indicate any borkennes.
All but 2 of the LTP acl tests seem to be working now I think...

Revision 1.221 / (view) - annotate - [select for diffs] , Tue Aug 15 20:24:27 2006 UTC (5 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.220: +4 -0 lines
Diff to previous 1.220
[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.

Revision 1.220 / (view) - annotate - [select for diffs] , Fri Aug 11 19:18:08 2006 UTC (5 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.219: +4 -8 lines
Diff to previous 1.219
[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.

Revision 1.205.2.4 / (view) - annotate - [select for diffs] , Wed Aug 9 20:17:56 2006 UTC (5 years, 9 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point3
Changes since 1.205.2.3: +139 -9 lines
Diff to previous 1.205.2.3 to branch point 1.205
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.219 / (view) - annotate - [select for diffs] , Tue Aug 8 22:43:19 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
CVS Tags: posix-extensions-point4
Changes since 1.218: +67 -3 lines
Diff to previous 1.218
Drain the server pipeline before exiting. (i.e. finish the requests that were being
serviced before exiting)
Patch adds all server s_op structures into one of 2 lists (unexp list or exp list)
At the time of the signal, if the exp list is empty all requests have been serviced and
it is ok to exit, else we wait until those ops have been serviced or they time out.
This is necessary to prevent FS corruption (admittedly a rare occurrence ;))

Revision 1.217.2.8 / (view) - annotate - [select for diffs] , Tue Aug 1 15:52:02 2006 UTC (5 years, 9 months ago) by walt
Branch: WALT3
Changes since 1.217.2.7: +52 -38 lines
Diff to previous 1.217.2.7 to branch point 1.217
updated term code, SM union remval and statecomp update for pjmp states
compiles clean, beginning test

Revision 1.218.2.3 / (view) - annotate - [select for diffs] , Mon Jul 24 20:04:13 2006 UTC (5 years, 9 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218.2.2: +9 -8 lines
Diff to previous 1.218.2.2 to branch point 1.218
configure option --enable-aio determines if aio or dbpf-threaded (new)
is used... dbpf-bstream-threaded.c contains threaded I/O version.
This file need some revision... It will be used for testing O_DIRECT.

Revision 1.218.2.2 / (view) - annotate - [select for diffs] , Mon Jul 24 17:20:56 2006 UTC (5 years, 9 months ago) by slang
Branch: kunkel-branch
Changes since 1.218.2.1: +450 -474 lines
Diff to previous 1.218.2.1 to branch point 1.218
revert style changes back to previous versions.

Revision 1.218.2.1 / (view) - annotate - [select for diffs] , Fri Jul 21 17:40:50 2006 UTC (5 years, 10 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.218: +474 -450 lines
Diff to previous 1.218
run maint/pvfs2indent-80col.sh on all .c files to correct style :)

Revision 1.217.2.7 / (view) - annotate - [select for diffs] , Fri Jul 21 16:28:51 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.6: +1 -1 lines
Diff to previous 1.217.2.6 to branch point 1.217
minor changes

Revision 1.217.2.6 / (view) - annotate - [select for diffs] , Thu Jul 20 23:08:32 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.5: +21 -9 lines
Diff to previous 1.217.2.5 to branch point 1.217
extensive reworking of the state machine interface
smcb_alloc now sets op and locates state machine
smcb_set_op resets op and state machine on existing smcb
state_machine_next loops automatically until the SM ends or hits a
deferred action, state_machine_start first executes a state action, then
does a state_machine_next
this cleaned up a whole slew of things in both client and state machine.
this version compiles and correctly passes the basic tests. - WBL

Revision 1.217.2.5 / (view) - annotate - [select for diffs] , Mon Jul 17 22:25:39 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.4: +9 -2 lines
Diff to previous 1.217.2.4 to branch point 1.217
added some state machine debugging

Revision 1.217.2.4 / (view) - annotate - [select for diffs] , Sat Jul 15 17:06:07 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.3: +5 -4 lines
Diff to previous 1.217.2.3 to branch point 1.217
compiles - about to to return code mod

Revision 1.218 / (view) - annotate - [select for diffs] , Thu Jul 13 05:11:42 2006 UTC (5 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: before-style-changes
Branch point for: kunkel-branch
Changes since 1.217: +20 -0 lines
Diff to previous 1.217
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).

Revision 1.217.2.3 / (view) - annotate - [select for diffs] , Wed Jul 12 20:17:54 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.2: +20 -17 lines
Diff to previous 1.217.2.2 to branch point 1.217
correcting compile errors

Revision 1.217.2.2 / (view) - annotate - [select for diffs] , Sat Jul 8 16:09:34 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217.2.1: +19 -4 lines
Diff to previous 1.217.2.1 to branch point 1.217
new state-machine-invoke function for cleaner interface

Revision 1.217.2.1 / (view) - annotate - [select for diffs] , Fri Jul 7 18:09:45 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.217: +33 -41 lines
Diff to previous 1.217
branch for unified state machine code supporting concurrent SMs

Revision 1.214.2.1 / (view) - annotate - [select for diffs] , Wed Jun 14 20:14:51 2006 UTC (5 years, 11 months ago) by slang
Branch: pvfs2-1-5-branch
CVS Tags: pvfs2-1_5_1_for_bgl, pvfs2-1-5-1-rc3, pvfs2-1-5-1-rc2, pvfs2-1-5-1-rc1, pvfs2-1-5-1, pvfs2-1-5-0-rc5, pvfs2-1-5-0-rc4, pvfs2-1-5-0-rc3, pvfs2-1-5-0-rc2, pvfs2-1-5-0-rc1, pvfs2-1-5-0
Changes since 1.214: +52 -6 lines
Diff to previous 1.214
reverse merge of recent bug fixes from trunk

Revision 1.217 / (view) - annotate - [select for diffs] , Wed Jun 14 18:41:27 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-5-point2
Branch point for: WALT3
Changes since 1.216: +9 -6 lines
Diff to previous 1.216
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.

Revision 1.216 / (view) - annotate - [select for diffs] , Mon Jun 12 20:09:34 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
Changes since 1.215: +6 -6 lines
Diff to previous 1.215
invalid length for keyval entries.

Revision 1.215 / (view) - annotate - [select for diffs] , Thu Jun 8 21:45:43 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
Changes since 1.214: +49 -6 lines
Diff to previous 1.214
[phil] see http://www.beowulf-underground.org/pipermail/pvfs2-developers/2006-June/002128.html.

Revision 1.205.4.5 / (view) - annotate - [select for diffs] , Wed Jun 7 19:27:30 2006 UTC (5 years, 11 months ago) by vilayann
Branch: lockd-branch
Changes since 1.205.4.4: +52 -10 lines
Diff to previous 1.205.4.4 to branch point 1.205 to next main 1.206
Reverse merge from trunk to lockd-branch...

Revision 1.205.2.3 / (view) - annotate - [select for diffs] , Wed Jun 7 03:21:07 2006 UTC (5 years, 11 months ago) by slang
Branch: posix-extensions-branch
Changes since 1.205.2.2: +50 -8 lines
Diff to previous 1.205.2.2 to branch point 1.205
reverse merge of branch

Revision 1.214 / (view) - annotate - [select for diffs] , Mon Jun 5 19:57:28 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-5-point, posix-extensions-point2, lockd-point2
Branch point for: pvfs2-1-5-branch
Changes since 1.213: +20 -0 lines
Diff to previous 1.213
merge sync coalescing branch.

Revision 1.205.6.2 / (view) - annotate - [select for diffs] , Thu Jun 1 21:29:44 2006 UTC (5 years, 11 months ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.205.6.1: +32 -10 lines
Diff to previous 1.205.6.1 to branch point 1.205 to next main 1.206
reverse merge of trunk to branch

Revision 1.213 / (view) - annotate - [select for diffs] , Mon May 29 16:21:11 2006 UTC (5 years, 11 months ago) by pw
Branch: MAIN
Changes since 1.212: +1 -1 lines
Diff to previous 1.212
apply const to non-modifiable strings

Revision 1.212 / (view) - annotate - [select for diffs] , Sun May 28 16:55:21 2006 UTC (5 years, 11 months ago) by pw
Branch: MAIN
Changes since 1.211: +2 -2 lines
Diff to previous 1.211
mark two data structures static

Revision 1.211 / (view) - annotate - [select for diffs] , Sun May 28 16:52:08 2006 UTC (5 years, 11 months ago) by pw
Branch: MAIN
Changes since 1.210: +0 -1 lines
Diff to previous 1.210
consolidate all extern declarations of server perf counter

Revision 1.210 / (view) - annotate - [select for diffs] , Fri May 26 02:53:43 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
Changes since 1.209: +4 -2 lines
Diff to previous 1.209
fix the BMI_set_info calls for send/recv buffer to pass in an actual pointer.  Fix the unused variable warning tcp_set_info.

Revision 1.209 / (view) - annotate - [select for diffs] , Thu May 25 22:17:20 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
Changes since 1.208: +18 -1 lines
Diff to previous 1.208
* [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

Revision 1.208 / (view) - annotate - [select for diffs] , Wed May 24 16:32:59 2006 UTC (5 years, 11 months ago) by robl
Branch: MAIN
Changes since 1.207: +5 -1 lines
Diff to previous 1.207
[pcarns]: print "starting" message to stdout and log file.  also do not
truncate log files.

Revision 1.207 / (view) - annotate - [select for diffs] , Tue May 23 17:31:13 2006 UTC (5 years, 11 months ago) by robl
Branch: MAIN
Changes since 1.206: +2 -2 lines
Diff to previous 1.206
[pcarns]: fix two bugs in performance monitoring path.
- fill in timestamps correctly when multiple timestamps requests
- accumulate metadata values.  other tools will do the math for instantaneous
  resluts.

Revision 1.205.2.2 / (view) - annotate - [select for diffs] , Fri May 19 00:14:59 2006 UTC (6 years ago) by vilayann
Branch: posix-extensions-branch
Changes since 1.205.2.1: +2 -2 lines
Diff to previous 1.205.2.1 to branch point 1.205
Includes reverse merges from trunk
in addition, it includes fixes for readdir and readdirplus to have a variable length
number of directory entries passed in from client-core using a trailer page (currently).
However, there is nothing that prevents us from sharing those pages with the kernel using vmap
and friends which is the next logical step.
So client-core now does a readdir/readdirplus and writev's the trailer page (which is essentially
an encoded version of the readdir/readdirplus response) to the kmod.
The kernel module decodes that and copies it to the user-space app (which issued the getdents/getdents_plus
system call)
Added/edited the getdents.c test program in the test/posix sub directory to issue
getdents/getdents64/getdents_plus/getdents64_plus system calls
Also fixed a critical bug that was somehow never triggered in readdir if the buffer size
provided by glibc/user was not sufficient enough and we advance the f_pos token beyond where we stopped.

Revision 1.206 / (view) - annotate - [select for diffs] , Mon May 15 22:22:21 2006 UTC (6 years ago) by pw
Branch: MAIN
Changes since 1.205: +2 -2 lines
Diff to previous 1.205
avoid unattractive cast

Revision 1.205.2.1 / (view) - annotate - [select for diffs] , Tue May 9 23:10:16 2006 UTC (6 years ago) by vilayann
Branch: posix-extensions-branch
Changes since 1.205: +8 -1 lines
Diff to previous 1.205
First cut of the sys_readdirplus implementation where clients can issue a single
system interface call to get the directory entries as well as the attribute information
of the directory entries.
What this means is that we do not need to call a sys_getattr of the individual directory entries
anymore.
(The kernel version is still untested and won't work until the VFS patch is in place! :))

On the server, there is now a new request/state machine called listattr(poor name, i know!)
which essentially does a vectored getattr for a list of handles as opposed to a getattr
which only does for 1. Perhaps, we need to consolidate them into 1 at a later point of time after
others have given this code a look-see!
On the client, there is a new system interface, and a corresponding statemachine implementation
called readdirplus which does the following algorithm
a) Step 1 - Do a regular readdir
b) Step 2 - Collate all meta handles (obtained from the readdir) and send out 1 listattr
to every server that owns atleast 1 handle from the set.
c) Step 3 - Handles that refer to metafiles (determined by the attributes of the response)
need an additional step to retrieve their file sizes. So we collate all data file handles
of all metafiles, and send out 1 listattr to every server that owns atleast 1 handle from
the set.
d) Step 4 - Copy object attributes obtained for all objects into the sys response structure and
also compute file sizes of regular files since we know the individual dfile handles' file sizes
from Step 3.

Clearly, this is a huge win in terms of performance of listing directories which have large number of directory
entries.
Next step is to hammer out the VFS patches and coreutils patch for ls to get the same benefit.
Also added a new utility called pvfs2-lsplus in src/apps/admin that uses this API.

Revision 1.205.6.1 / (view) - annotate - [select for diffs] , Fri May 5 20:37:49 2006 UTC (6 years ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.205: +20 -0 lines
Diff to previous 1.205
code to coalesce db syncs.

Revision 1.205.4.4 / (view) - annotate - [select for diffs] , Tue May 2 21:58:53 2006 UTC (6 years ago) by slang
Branch: lockd-branch
Changes since 1.205.4.3: +18 -3 lines
Diff to previous 1.205.4.3 to branch point 1.205
added versioning test.  There's some nasty hacks with set/getenv to be able to test it properly without modifying sysint signatures.  Those will have to be removed at some point.

Revision 1.205.4.3 / (view) - annotate - [select for diffs] , Tue May 2 04:34:38 2006 UTC (6 years ago) by slang
Branch: lockd-branch
Changes since 1.205.4.2: +9 -0 lines
Diff to previous 1.205.4.2 to branch point 1.205
*** empty log message ***

Revision 1.205.4.2 / (view) - annotate - [select for diffs] , Sun Apr 30 02:21:02 2006 UTC (6 years ago) by vilayann
Branch: lockd-branch
Changes since 1.205.4.1: +6 -0 lines
Diff to previous 1.205.4.1 to branch point 1.205
Added a few more missing files and fixes from HEAD to lockd-branch.
lockd-branch should build cleanly now.

Revision 1.205.4.1 / (view) - annotate - [select for diffs] , Sat Apr 29 21:01:26 2006 UTC (6 years ago) by slang
Branch: lockd-branch
Changes since 1.205: +204 -22 lines
Diff to previous 1.205
commit of versioning stuff to branch

Revision 1.205 / (view) - annotate - [select for diffs] , Tue Apr 18 22:03:20 2006 UTC (6 years, 1 month ago) by robl
Branch: MAIN
CVS Tags: posix-extensions-point, lockd-point, dbpf-coalesce-point
Branch point for: posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.204: +6 -0 lines
Diff to previous 1.204
when creating or removing a storage space, do not give the impression that
pvfs2-server is still running.

Revision 1.204 / (view) - annotate - [select for diffs] , Tue Apr 4 05:20:37 2006 UTC (6 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.203: +0 -10 lines
Diff to previous 1.203
remove duplicate definition.

Revision 1.203 / (view) - annotate - [select for diffs] , Tue Apr 4 04:47:14 2006 UTC (6 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.202: +12 -1 lines
Diff to previous 1.202
onekeyval merge

Revision 1.200.2.7 / (view) - annotate - [select for diffs] , Fri Mar 24 14:36:40 2006 UTC (6 years, 1 month ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200.2.6: +0 -10 lines
Diff to previous 1.200.2.6 to branch point 1.200 to next main 1.201
fix merge bug

Revision 1.200.2.6 / (view) - annotate - [select for diffs] , Thu Mar 23 23:17:24 2006 UTC (6 years, 1 month ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200.2.5: +10 -0 lines
Diff to previous 1.200.2.5 to branch point 1.200
reverse merge from trunk.  see if sio tests pass now as well.

Revision 1.200.2.5 / (view) - annotate - [select for diffs] , Tue Mar 21 23:39:11 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200.2.4: +10 -0 lines
Diff to previous 1.200.2.4 to branch point 1.200
merge from trunk

Revision 1.202 / (view) - annotate - [select for diffs] , Thu Mar 9 22:31:44 2006 UTC (6 years, 2 months ago) by robl
Branch: MAIN
CVS Tags: before-dbpf-onekeyval
Changes since 1.201: +10 -0 lines
Diff to previous 1.201
[pcarns]: add logic to server side enforcing attributes into a 'supported' name
space (currently: system, user, trusted, security).  Reserved keys live in
'system.pvfs2' instead of top level.  No change to wire or on-disk formats:
server does translation.

Revision 1.200.2.4 / (view) - annotate - [select for diffs] , Thu Mar 2 15:53:35 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
CVS Tags: dbpf-slowskip
Changes since 1.200.2.3: +3 -0 lines
Diff to previous 1.200.2.3 to branch point 1.200
changes from head merge

Revision 1.201 / (view) - annotate - [select for diffs] , Thu Mar 2 15:27:03 2006 UTC (6 years, 2 months ago) by slang
Branch: MAIN
Changes since 1.200: +3 -0 lines
Diff to previous 1.200
changes to perfbase benchmarks and addition of perf counter queue fields

Revision 1.200.2.3 / (view) - annotate - [select for diffs] , Mon Feb 27 20:54:40 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200.2.2: +0 -1 lines
Diff to previous 1.200.2.2 to branch point 1.200
keyval_array_size isn't needed/used.

Revision 1.200.2.2 / (view) - annotate - [select for diffs] , Mon Feb 27 20:49:07 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200.2.1: +1 -0 lines
Diff to previous 1.200.2.1 to branch point 1.200
missing key string

Revision 1.200.2.1 / (view) - annotate - [select for diffs] , Fri Feb 24 21:52:54 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.200: +2 -1 lines
Diff to previous 1.200
mostly working onekey impl

Revision 1.200 / (view) - annotate - [select for diffs] , Mon Jan 16 22:08:26 2006 UTC (6 years, 4 months ago) by robl
Branch: MAIN
CVS Tags: pvfs2-1-4-0-point, pvfs2-1-4-0-branch, pvfs2-1-4-0, dbpf-onekeyval-point
Branch point for: dbpf-onekeyval-branch
Changes since 1.199: +18 -18 lines
Diff to previous 1.199
[pcarns]: reorder the cleanup steps for pvfs2-server:
	- put trove after flow so any pending flows can complete trove ops
	- shut down perf counters last so that other components can record info

Revision 1.197.2.1 / (view) - annotate - [select for diffs] , Thu Jan 12 19:43:25 2006 UTC (6 years, 4 months ago) by slang
Branch: dbpf-changes-branch
Changes since 1.197: +25 -5 lines
Diff to previous 1.197 to next main 1.198
merging changes from HEAD to dbpf branch

Revision 1.199 / (view) - annotate - [select for diffs] , Fri Jan 6 15:35:42 2006 UTC (6 years, 4 months ago) by pw
Branch: MAIN
Changes since 1.198: +11 -2 lines
Diff to previous 1.198
generate backtraces on x86_64

Revision 1.198 / (view) - annotate - [select for diffs] , Tue Dec 20 00:08:30 2005 UTC (6 years, 5 months ago) by slang
Branch: MAIN
Changes since 1.197: +14 -3 lines
Diff to previous 1.197
Phil's new tcache and the acache changes to match.  Also includes Phil's performance counter changes.  See http://www.beowulf-underground.org/pipermail/pvfs2-developers/2005-December/001704.html.  Thanks Phil!

Revision 1.197 / (view) - annotate - [select for diffs] , Wed Dec 14 21:50:30 2005 UTC (6 years, 5 months ago) by slang
Branch: MAIN
CVS Tags: dbpf-changes
Branch point for: dbpf-changes-branch
Changes since 1.196: +43 -3 lines
Diff to previous 1.196
merging small I/O changes to trunk.  The majority of this commit includes the
new small I/O state machines on client and server, and the modifications to
the client IO state machine.  It also includes mods to the zero-fill code
to perform zero-fill of holes only if they exist instead of zero-ing the entire
memory region initially.  Also, some debug stuff has been added to the
state machine processing code to print enter/exit of state machines if sm
debug is enabled.  The genconfig now includes ioports/metaports for running
multiple servers on the same host for testing.

Revision 1.193.2.2 / (view) - annotate - [select for diffs] , Fri Nov 11 22:19:12 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.193.2.1: +16 -2 lines
Diff to previous 1.193.2.1 to branch point 1.193 to next main 1.194
fixes to small io stuff to get test-zero-fill working again.  Also committing updates from HEAD to make things easier for merge.

Revision 1.195.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 21:38:16 2005 UTC (6 years, 6 months ago) by slang
Branch: pvfs2-1-3-1-branch
CVS Tags: pvfs2-1-3-2, pvfs2-1-3-1
Changes since 1.195: +1 -0 lines
Diff to previous 1.195 to next main 1.196
committing lld/llu fixes to 1.3.1 branch

Revision 1.196 / (view) - annotate - [select for diffs] , Fri Nov 11 21:31:09 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.195: +1 -0 lines
Diff to previous 1.195
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.

Revision 1.195 / (view) - annotate - [select for diffs] , Thu Nov 10 01:27:13 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Branch point for: pvfs2-1-3-1-branch
Changes since 1.194: +2 -2 lines
Diff to previous 1.194
* 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

Revision 1.194 / (view) - annotate - [select for diffs] , Tue Nov 8 16:29:24 2005 UTC (6 years, 6 months ago) by robl
Branch: MAIN
Changes since 1.193: +13 -0 lines
Diff to previous 1.193
[pcarns]: Added safety check and verbose error message for case in which server
is started with a configuration file that does not match the storage space (in
particular, if the fsid's do not match)

Revision 1.193.2.1 / (view) - annotate - [select for diffs] , Fri Nov 4 07:14:24 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.193: +43 -3 lines
Diff to previous 1.193
small I/O changes in sio branch for now

Revision 1.193 / (view) - annotate - [select for diffs] , Thu Oct 27 18:43:11 2005 UTC (6 years, 6 months ago) by vilayann
Branch: MAIN
CVS Tags: slang-sio-point
Branch point for: slang-sio-branch
Changes since 1.192: +7 -1 lines
Diff to previous 1.192
This patch adds a new system interface (listeattr) to list the extended attributes
of a file.
Also adds support in the VFS kernel module to support the listxattr
system call and a bunch of test programs to debug these.

Updated the FAQ to reflect usage of xattrs through VFS and acls through
VFS.

Revision 1.192 / (view) - annotate - [select for diffs] , Tue Oct 25 18:01:00 2005 UTC (6 years, 6 months ago) by vilayann
Branch: MAIN
Changes since 1.191: +8 -1 lines
Diff to previous 1.191
Attached patches implements trusted ports and networks similar to
what 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.

Revision 1.191 / (view) - annotate - [select for diffs] , Thu Oct 13 21:07:02 2005 UTC (6 years, 7 months ago) by robl
Branch: MAIN
Changes since 1.190: +1 -1 lines
Diff to previous 1.190
append to the pvfs2 server log file, instead of overwriting

Revision 1.190 / (view) - annotate - [select for diffs] , Mon Oct 3 14:41:44 2005 UTC (6 years, 7 months ago) by robl
Branch: MAIN
CVS Tags: pvfs2-1-3-0
Changes since 1.189: +4 -1 lines
Diff to previous 1.189
one last fix for error handling: if we can't open the file, return.

Revision 1.189 / (view) - annotate - [select for diffs] , Fri Sep 30 16:39:09 2005 UTC (6 years, 7 months ago) by robl
Branch: MAIN
Changes since 1.188: +4 -2 lines
Diff to previous 1.188
if the file does not exist, access(2) doesn't do what i wanted

Revision 1.188 / (view) - annotate - [select for diffs] , Fri Sep 30 16:25:38 2005 UTC (6 years, 7 months ago) by robl
Branch: MAIN
Changes since 1.187: +9 -2 lines
Diff to previous 1.187
log any logfile-related errors before we redirect stdin/stdout/stderr

Revision 1.187 / (view) - annotate - [select for diffs] , Thu Sep 29 19:38:22 2005 UTC (6 years, 7 months ago) by robl
Branch: MAIN
Changes since 1.186: +24 -15 lines
Diff to previous 1.186
[pcarns]: open the server log file earlier.  If something bad happens, we now
get an error at the command line.

Revision 1.178.4.2 / (view) - annotate - [select for diffs] , Thu Aug 25 20:38:38 2005 UTC (6 years, 8 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.178.4.1: +247 -153 lines
Diff to previous 1.178.4.1 to branch point 1.178 to next main 1.179
updates to my event changes to bring them inline with trunk

Revision 1.186 / (view) - annotate - [select for diffs] , Tue Aug 23 18:44:20 2005 UTC (6 years, 8 months ago) by slang
Branch: MAIN
Changes since 1.185: +194 -144 lines
Diff to previous 1.185
merged acache changes to trunk.

Revision 1.181.2.2 / (view) - annotate - [select for diffs] , Mon Aug 15 21:43:00 2005 UTC (6 years, 9 months ago) by slang
Branch: slang-attr-cache-fixups-branch
Changes since 1.181.2.1: +194 -144 lines
Diff to previous 1.181.2.1 to branch point 1.181 to next main 1.182
set getattr op to complete.  also modified state machine code a little to allow clients to call _machine_locate.  Created static state machine tables for client SMs, and turned PINT_server_req_table into a static table instead of doing all the init dynamically.

Revision 1.181.2.1 / (view) - annotate - [select for diffs] , Wed Aug 10 19:38:08 2005 UTC (6 years, 9 months ago) by slang
Branch: slang-attr-cache-fixups-branch
CVS Tags: slang-attr-cache-fixups-point2
Changes since 1.181: +58 -13 lines
Diff to previous 1.181
merge changes from trunk since branch point into branch.  Effectively moves the branchpoint to the latest trunk.

Revision 1.185 / (view) - annotate - [select for diffs] , Tue Aug 2 16:17:32 2005 UTC (6 years, 9 months ago) by robl
Branch: MAIN
CVS Tags: slang-reqsched-point, slang-reqsched-branch
Changes since 1.184: +5 -0 lines
Diff to previous 1.184
[pcarns]: add an additional logging statement when the server starts up

Revision 1.184 / (view) - annotate - [select for diffs] , Tue Aug 2 14:35:32 2005 UTC (6 years, 9 months ago) by robl
Branch: MAIN
Changes since 1.183: +5 -0 lines
Diff to previous 1.183
[pcarns]: must use absolute path for pidfile or server will lose track of it on
chroot

Revision 1.183 / (view) - annotate - [select for diffs] , Thu Jul 21 16:17:57 2005 UTC (6 years, 10 months ago) by walt
Branch: MAIN
CVS Tags: pvfs2-1-2-0
Changes since 1.182: +9 -0 lines
Diff to previous 1.182
added extended attribute support

Revision 1.182 / (view) - annotate - [select for diffs] , Tue Jul 19 22:21:37 2005 UTC (6 years, 10 months ago) by robl
Branch: MAIN
Changes since 1.181: +39 -13 lines
Diff to previous 1.181
[pcarns]: make all error paths return error codes.  reduce the number of
functions that call exit, making them instead return an error code and
funneling the results to a single exit point.

Revision 1.178.10.3 / (view) - annotate - [select for diffs] , Tue Jul 19 20:11:59 2005 UTC (6 years, 10 months ago) by walt
Branch: WALT2
Changes since 1.178.10.2: +0 -6 lines
Diff to previous 1.178.10.2 to branch point 1.178 to next main 1.179
cleanup for extended attribute stuff.  removed non-list server ops
in favor of list type and renamed list type.  cleaned up a few items in
request debug programs.

Revision 1.178.10.2 / (view) - annotate - [select for diffs] , Sun Jul 17 22:56:59 2005 UTC (6 years, 10 months ago) by walt
Branch: WALT2
Changes since 1.178.10.1: +3 -0 lines
Diff to previous 1.178.10.1 to branch point 1.178
dded delete extended attribute feature

Revision 1.181 / (view) - annotate - [select for diffs] , Wed Jun 29 14:58:49 2005 UTC (6 years, 10 months ago) by bradles
Branch: MAIN
CVS Tags: slang-attr-cache-fixups-point
Branch point for: slang-attr-cache-fixups-branch
Changes since 1.180: +1 -1 lines
Diff to previous 1.180
Added support for Filesystem config option DefaultNumDFiles and Distribution
configuration sections.

Also performed simple cleanup for simple_stripe distribution.

Revision 1.180 / (view) - annotate - [select for diffs] , Thu Jun 23 16:28:14 2005 UTC (6 years, 10 months ago) by bradles
Branch: MAIN
Changes since 1.179: +3 -4 lines
Diff to previous 1.179
Applied Phil Carns patch to improve the dot conf parser error messages and
type checking.

Revision 1.178.10.1 / (view) - annotate - [select for diffs] , Thu Jun 16 23:50:11 2005 UTC (6 years, 11 months ago) by walt
Branch: WALT2
Changes since 1.178: +12 -0 lines
Diff to previous 1.178
updates for adding extended attributes

Revision 1.179 / (view) - annotate - [select for diffs] , Wed Jun 8 19:30:30 2005 UTC (6 years, 11 months ago) by robl
Branch: MAIN
CVS Tags: pvfs2-1-1-0
Changes since 1.178: +1 -1 lines
Diff to previous 1.178
Merge in all of phil's patches fixing up permissions checking as described
here:
http://www.parl.clemson.edu/pipermail/pvfs2-developers/2005-June/001258.html

Revision 1.178.8.1 / (view) - annotate - [select for diffs] , Wed Jun 8 19:25:18 2005 UTC (6 years, 11 months ago) by robl
Branch: pvfs2-bugfix-67
Changes since 1.178: +1 -1 lines
Diff to previous 1.178 to next main 1.179
The last of the early june phil patches.  "Make PVFS2 honor directory
executable bit permissions properly"

Revision 1.178.4.1 / (view) - annotate - [select for diffs] , Fri Jun 3 15:19:09 2005 UTC (6 years, 11 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.178: +17 -9 lines
Diff to previous 1.178
* added event logging for states
* moved state debug code to state-machine so all state start/end
points get debug messages automatically
* added textlog stuff.  This allows us to write the default event
queue out to a text file that can be converted to slog2 later.

Revision 1.178 / (view) - annotate - [select for diffs] , Mon Mar 28 18:32:43 2005 UTC (7 years, 1 month ago) by pw
Branch: MAIN
CVS Tags: slang-event-changes-point, pvfs2-tag-bugfix-67, WALT1
Branch point for: slang-event-changes-branch, pvfs2-bugfix-67, WALT2
Changes since 1.177: +1 -1 lines
Diff to previous 1.177
always write logfile from scratch, do not append

Revision 1.177 / (view) - annotate - [select for diffs] , Fri Mar 4 16:50:12 2005 UTC (7 years, 2 months ago) by robl
Branch: MAIN
Changes since 1.176: +1 -0 lines
Diff to previous 1.176
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.

Revision 1.176 / (view) - annotate - [select for diffs] , Tue Dec 7 15:09:30 2004 UTC (7 years, 5 months ago) by pw
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, pvfs2-snapshot-Alejandro, pvfs2-bugfix-39
Changes since 1.175: +1 -1 lines
Diff to previous 1.175
eliminate global src/server include

Revision 1.175 / (view) - annotate - [select for diffs] , Fri Oct 15 20:33:45 2004 UTC (7 years, 7 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0
Changes since 1.174: +13 -17 lines
Diff to previous 1.174
- make sure that our error routines strip any known class error bits
  instead 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

Revision 1.174 / (view) - annotate - [select for diffs] , Tue Oct 12 19:55:03 2004 UTC (7 years, 7 months ago) by neill
Branch: MAIN
Changes since 1.173: +49 -39 lines
Diff to previous 1.173
- cosmetic changes due to timestamped logging

Revision 1.173 / (view) - annotate - [select for diffs] , Thu Sep 9 14:29:12 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-7-0, pvfs2-0-6-5
Changes since 1.172: +19 -21 lines
Diff to previous 1.172
- added a PVFS_util method to get the current system and return it as
  a valid PVFS_time type
- added arguments to the crdirent/chdirent/rmdirent operations that
  now can take optional parent atime/mtime/ctime fields
- added support on server *dirent operations that update the parent
  time attributes (if specified) on successful completion of the
  *dirent operation; null/zero time fields are not updated
- modified sys-create/sys-mkdir/sys-symlink/sys-rename/sys-remove to
  work with the new operations properly; in general,
  create/remove/rename operations updates the mtime and ctime of the
  parent directory, which is now properly supported
- moved some common server side attribute handling code into a macro
  to make it re-useable across several server state machines
- updated en{de}coding of modified operations
- misc cleanups

Revision 1.172 / (view) - annotate - [select for diffs] , Fri Sep 3 14:57:03 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-4
Changes since 1.171: +4 -4 lines
Diff to previous 1.171
- moved to fully 64 bit unsigned gossip masks
- setparam mgmt method now takes uint64_t values instead of int64_t
- added object type printing to acache debugging
- fixed bug in shared-state-machine getattr that could allow
  attributes to come out of the acache with incorrect attr
  types/fields
- fixed bug is msgpair setup for create/mkdir/symlink
- gossip mask change to uint64_t and many gossip cleanups
- misc cleanups

Revision 1.171 / (view) - annotate - [select for diffs] , Wed Sep 1 20:49:31 2004 UTC (7 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.170: +8 -2 lines
Diff to previous 1.170
add a few safety checks to server_state_machine_complete() so that it is
safe to call for server state machines that are not launched by an incoming
request

Revision 1.170 / (view) - annotate - [select for diffs] , Tue Aug 24 14:57:30 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-3
Changes since 1.169: +5 -0 lines
Diff to previous 1.169
- added a client/server operation and mgmt method
  (PVFS_mgmt_get_dirdata_handle/PVFS_imgmt_get_dirdata_handle) for
  retrieving the dirdata handle of a specified 'parent' object (if
  any)
- fixed a crash bug (race) in trove that could return an object on
  queue addition that has already been serviced (since we've signaled
  the trove worker thread before returning the id in the first place);
  should not be a problem if we used safe_register for the ids, but
  otherwise not worth it

Revision 1.169 / (view) - annotate - [select for diffs] , Thu Aug 19 14:15:53 2004 UTC (7 years, 9 months ago) by pw
Branch: MAIN
Changes since 1.168: +36 -33 lines
Diff to previous 1.168
split pidfile creation to allow relative-path pidfiles to work

Revision 1.168 / (view) - annotate - [select for diffs] , Fri Aug 13 14:15:52 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-2
Changes since 1.167: +2 -1 lines
Diff to previous 1.167
- fixed logging format

Revision 1.167 / (view) - annotate - [select for diffs] , Thu Aug 12 19:53:41 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.166: +34 -24 lines
Diff to previous 1.166
- 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

Revision 1.166 / (view) - annotate - [select for diffs] , Wed Aug 11 19:29:19 2004 UTC (7 years, 9 months ago) by pw
Branch: MAIN
Changes since 1.165: +15 -15 lines
Diff to previous 1.165
create pidfile after fork() else atexit() happens and wrong pid recorded

Revision 1.165 / (view) - annotate - [select for diffs] , Mon Aug 9 19:58:37 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.164: +4 -0 lines
Diff to previous 1.164
- added a client/server operation for removing a directory entry under
  a specified parent object without prejudice
- modified pvfs2-remove-object to have working options to use that
  functionality

Revision 1.164 / (view) - annotate - [select for diffs] , Mon Aug 9 18:00:15 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.163: +4 -0 lines
Diff to previous 1.163
- use the new sm and stop relying on the old remove

Revision 1.163 / (view) - annotate - [select for diffs] , Thu Jul 29 21:20:14 2004 UTC (7 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.162: +11 -13 lines
Diff to previous 1.162
bugfix: use PVFS_perror_gossip() instead of strerror; the latter doesn't
understand pvfs2 error codes.  Also make formatting of a few pvfs2-server.c
level error messages a little more uniform.

Revision 1.162 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:56 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-1
Changes since 1.161: +1 -1 lines
Diff to previous 1.161
- applied Nathan's expandtab patch (expandtab-2.patch.gz)

  first referenced at:
  http://www.beowulf-underground.org/pipermail/pvfs2-developers/2004-July/000745.html

Revision 1.161 / (view) - annotate - [select for diffs] , Fri Jul 23 15:12:59 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.160: +512 -513 lines
Diff to previous 1.160
- pvfs2-server cleanups, including better error handling in many
  places
- organize command line options into a single struct to avoid growing
  number of declared static vars in pvfs2-server
- fix the pidfile usage (which didn't work at all for me, particularly
  using the -p option that getopt_long couldn't possibly have
  understood);  now you can do the standard 'kill `cat
  pvfs2-server.pidfile`' to properly terminate the server
- remove broken url from comment and just state the problem and refer
  to the thread in question

Revision 1.160 / (view) - annotate - [select for diffs] , Thu Jul 22 00:07:07 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.159: +1 -1 lines
Diff to previous 1.159
remember to use the right enumeration type so the compiler can help with
warnings for new operations

Revision 1.159 / (view) - annotate - [select for diffs] , Tue Jul 20 14:41:10 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.158: +46 -10 lines
Diff to previous 1.158
add a flag to request parameters structure that indicates if the prelude
state machine should expect to find attributes for the target object

Revision 1.158 / (view) - annotate - [select for diffs] , Tue Jul 20 14:21:03 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.157: +45 -73 lines
Diff to previous 1.157
folding pointers to state machines into unified table of request parameters on
server

Revision 1.157 / (view) - annotate - [select for diffs] , Tue Jul 20 00:38:10 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.156: +74 -0 lines
Diff to previous 1.156
start consolidating pvfs2 server request parameters into a single table to
make it easier to experiment with new requests; so far table only includes
op type, name, and permission requirements; will include more information later

Revision 1.156 / (view) - annotate - [select for diffs] , Tue Jul 13 20:24:39 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-6-0
Changes since 1.155: +52 -24 lines
Diff to previous 1.155
break manual state machine launcher function into two parts, so that there
is an opportunity to set fields in state structure before launching the
machine

Revision 1.155 / (view) - annotate - [select for diffs] , Tue Jul 13 19:56:35 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.154: +2 -3 lines
Diff to previous 1.154
shuffle declaration of server_state_machine_start_noreq() around so that it
is available for use within other server state machines

Revision 1.154 / (view) - annotate - [select for diffs] , Thu Jul 8 21:21:51 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.153: +26 -0 lines
Diff to previous 1.153
initialize cached config interface in the server; convenient for future user
in resolving addresses during inter-server communication

Revision 1.153 / (view) - annotate - [select for diffs] , Mon May 17 21:02:58 2004 UTC (8 years ago) by pw
Branch: MAIN
CVS Tags: pvfs2-nm-nb-branch, pvfs2-0-6-0pre1, pvfs2-0-5-1
Changes since 1.152: +39 -1 lines
Diff to previous 1.152
add a pidfile option to pvfs2-server for integration with init scripts

Revision 1.152 / (view) - annotate - [select for diffs] , Mon May 17 19:48:27 2004 UTC (8 years ago) by bradles
Branch: MAIN
Changes since 1.151: +12 -0 lines
Diff to previous 1.151
Changing distributions to require initialization before use.  Giving
distributions an additional hook/callback to be called once at registration
time for the distribution to allow it to register its parameters and set
parameter defaults as neccesary.

Revision 1.151 / (view) - annotate - [select for diffs] , Fri May 7 16:38:04 2004 UTC (8 years ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-5-0
Changes since 1.150: +1 -0 lines
Diff to previous 1.150
- added a chdirent server operation useful during renames of target files
  that already exist.
- still working on cleaning up rename, as it does not properly remove some
  data that is left to be removed

Revision 1.150 / (view) - annotate - [select for diffs] , Fri Apr 30 14:58:43 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.149: +17 -6 lines
Diff to previous 1.149
add a mechanism for a server to send a generic response back to the client
when it receives a request with a bad version number or encoding type, so
that the user gets a clear error message at the application level too

Revision 1.149 / (view) - annotate - [select for diffs] , Fri Apr 30 13:09:52 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.148: +1 -4 lines
Diff to previous 1.148
Make error messages about protocol version / format errors more specific and
clear.  Now looks something like this on server side:

Error: poorly formatted protocol message received.
   Protocol version mismatch: received version 103 when expecting version
   104.  Please verify your PVFS2 installation and make sure that the version
   is consistent.
server_state_machine_start: Protocol error

Revision 1.148 / (view) - annotate - [select for diffs] , Tue Apr 27 18:52:52 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.147: +28 -0 lines
Diff to previous 1.147
add a server state machine (driven by a request scheduler timer) to check
for jobs that have timed out once per second; still not doing anything
because timeouts are set to inf. for now

Revision 1.147 / (view) - annotate - [select for diffs] , Tue Mar 30 22:52:05 2004 UTC (8 years, 1 month ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-1-3
Changes since 1.146: +20 -0 lines
Diff to previous 1.146
added event logging instrumentation that tracks the beginning and end of
each full server state machine

Revision 1.146 / (view) - annotate - [select for diffs] , Wed Mar 10 21:20:53 2004 UTC (8 years, 2 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-1-2
Changes since 1.145: +1 -1 lines
Diff to previous 1.145
- compile fix

Revision 1.145 / (view) - annotate - [select for diffs] , Wed Mar 10 21:02:40 2004 UTC (8 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.144: +12 -11 lines
Diff to previous 1.144
- return decode errors if we get them

Revision 1.144 / (view) - annotate - [select for diffs] , Wed Feb 18 21:38:53 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-1-1, pvfs2-0-1-0
Changes since 1.143: +9 -9 lines
Diff to previous 1.143
- keep the server shutdown logging pretty

Revision 1.143 / (view) - annotate - [select for diffs] , Wed Feb 18 20:25:43 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.142: +21 -11 lines
Diff to previous 1.142
back to catching SIGINT and SIGQUIT, change behavior of SIGPIPE and SIGUSR
so that they are ignored and not logged, make sure we only handle one of
each type of signal if we get to shutdown path

Revision 1.142 / (view) - annotate - [select for diffs] , Wed Feb 18 19:59:05 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.141: +0 -2 lines
Diff to previous 1.141
whoops- maybe not such a swell idea :)  removing these signals again for the
moment

Revision 1.141 / (view) - annotate - [select for diffs] , Wed Feb 18 19:39:39 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.140: +1 -0 lines
Diff to previous 1.140
what the heck, catch SIGQUIT too (generated by ctrl backslash by default)

Revision 1.140 / (view) - annotate - [select for diffs] , Wed Feb 18 19:33:40 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.139: +1 -0 lines
Diff to previous 1.139
catch SIGINT so that we are graceful when ctrl-c'd

Revision 1.139 / (view) - annotate - [select for diffs] , Mon Feb 16 23:08:22 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.138: +5 -0 lines
Diff to previous 1.138
- extend the job interface to take a flags argument, which is passed to various
  trove operations, rather than hard-coding TROVE_SYNC
- make changes to server to pass in the mode value matching the config option
- update test programs (hardcode TROVE_SYNC)

Revision 1.138 / (view) - annotate - [select for diffs] , Mon Feb 16 22:00:01 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.137: +1 -1 lines
Diff to previous 1.137
- 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

Revision 1.137 / (view) - annotate - [select for diffs] , Thu Feb 12 18:05:05 2004 UTC (8 years, 3 months ago) by robl
Branch: MAIN
Changes since 1.136: +17 -0 lines
Diff to previous 1.136
move the PINT_event_initialize and finalize into the server startup/shutdown

Revision 1.136 / (view) - annotate - [select for diffs] , Tue Feb 3 21:50:43 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.135: +23 -14 lines
Diff to previous 1.135
- cleanup the storage mode string (aio-threaded,threaded,non-threaded)
- make the storage mode string displayed when the version is requested
- made a more direct exit when the server is only asked for the version

Revision 1.135 / (view) - annotate - [select for diffs] , Fri Jan 30 20:12:13 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-9
Changes since 1.134: +41 -37 lines
Diff to previous 1.134
- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Revision 1.134 / (view) - annotate - [select for diffs] , Fri Jan 30 14:56:53 2004 UTC (8 years, 3 months ago) by pw
Branch: MAIN
Changes since 1.133: +1 -1 lines
Diff to previous 1.133
trivial typo

Revision 1.133 / (view) - annotate - [select for diffs] , Wed Jan 28 20:23:30 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.132: +22 -24 lines
Diff to previous 1.132
- okay, fix backgrounded server due to popular demand

Revision 1.132 / (view) - annotate - [select for diffs] , Tue Jan 27 13:49:39 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.131: +70 -22 lines
Diff to previous 1.131
- make sure server prints error message to stderr instead of to log file
  if it fails during startup (such as if storage space doesn't exist)
- added some shutdown server debugging, if enabled to help discover hangs

Revision 1.131 / (view) - annotate - [select for diffs] , Fri Jan 23 19:54:49 2004 UTC (8 years, 3 months ago) by robl
Branch: MAIN
Changes since 1.130: +9 -3 lines
Diff to previous 1.130
assign the "server_controlling_pid" after we daemonize

Revision 1.130 / (view) - annotate - [select for diffs] , Mon Jan 19 21:05:21 2004 UTC (8 years, 4 months ago) by neill
Branch: MAIN
Changes since 1.129: +4 -0 lines
Diff to previous 1.129
- fix pvfs2-server's fds.  I recently broke them
- cosmetic fix

Revision 1.129 / (view) - annotate - [select for diffs] , Fri Jan 16 21:04:03 2004 UTC (8 years, 4 months ago) by neill
Branch: MAIN
Changes since 1.128: +95 -120 lines
Diff to previous 1.128
- changelog version bump
- configure version bump
- some server cleanups

Revision 1.128 / (view) - annotate - [select for diffs] , Fri Dec 19 15:08:15 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-8
Changes since 1.127: +8 -0 lines
Diff to previous 1.127
- limit signal handling to one thread in thread libraries that all get the
  same signal handler for each thread

Revision 1.127 / (view) - annotate - [select for diffs] , Fri Dec 19 13:05:05 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126
make sure that the segv handler (if segv backtracing enabled) cannot be
triggered more than once

Revision 1.126 / (view) - annotate - [select for diffs] , Thu Dec 18 17:47:51 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
Changes since 1.125: +68 -15 lines
Diff to previous 1.125
- clean up pvfs2-server command line options and offer long alternatives

Revision 1.125 / (view) - annotate - [select for diffs] , Wed Dec 17 19:00:51 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.124: +62 -1 lines
Diff to previous 1.124
added --enable-segv-backtrace option to configure, turns on server side
behavior of dumping a stack trace if a seg fault is received

Revision 1.124 / (view) - annotate - [select for diffs] , Wed Dec 17 17:35:32 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.123: +4 -2 lines
Diff to previous 1.123
make sure that SIGPIPE, SIGUSR1, and SIGUSR2 are all noted in logs but
don't hurt server, removed old signal() call not needed any more

Revision 1.123 / (view) - annotate - [select for diffs] , Wed Dec 17 17:29:02 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.122: +15 -9 lines
Diff to previous 1.122
exit a bit cleaner on segfault

Revision 1.122 / (view) - annotate - [select for diffs] , Wed Dec 17 17:12:50 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.121: +0 -1 lines
Diff to previous 1.121
listing signals once is probably enough :)

Revision 1.121 / (view) - annotate - [select for diffs] , Wed Dec 17 17:12:03 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.120: +18 -10 lines
Diff to previous 1.120
replaced signal() with sigaction(), necessary to hook into some signal
debugging stuff that I want to use.  Looks like we need to fix a bug or two
here as well...

Revision 1.120 / (view) - annotate - [select for diffs] , Mon Dec 8 14:49:56 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-7
Changes since 1.119: +1 -1 lines
Diff to previous 1.119
um...one semi-colon will do, though there's really no global shortage of them.

Revision 1.119 / (view) - annotate - [select for diffs] , Fri Dec 5 14:09:36 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
Changes since 1.118: +67 -14 lines
Diff to previous 1.118
This is a full merge of my pvfs2-dbpf-attr-cache-branch, so this is
the 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

Revision 1.118.2.2 / (view) - annotate - [select for diffs] , Tue Dec 2 19:35:46 2003 UTC (8 years, 5 months ago) by neill
Branch: pvfs2-dbpf-attr-cache-branch
Changes since 1.118.2.1: +61 -55 lines
Diff to previous 1.118.2.1 to branch point 1.118 to next main 1.119
- 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)
- bumped up dbcache fd value from 16 to 1024
- misc cleanups

Revision 1.118.2.1 / (view) - annotate - [select for diffs] , Mon Dec 1 20:38:04 2003 UTC (8 years, 5 months ago) by neill
Branch: pvfs2-dbpf-attr-cache-branch
Changes since 1.118: +54 -7 lines
Diff to previous 1.118
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.

Revision 1.118 / (view) - annotate - [select for diffs] , Wed Nov 26 19:09:31 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
Branch point for: pvfs2-dbpf-attr-cache-branch
Changes since 1.117: +2 -2 lines
Diff to previous 1.117
- metadata storage overhaul (remove the METADATA_KEY from Trove_Common_Keys,
meaning that metadata is now properly stored in the dspace generic attributes
rather than as a separate key/val pair)
- clean up the 'find' test program to handle more than a fixed number of
  dirent entries
- misc other cleanups
- ChangeLog update

Revision 1.117 / (view) - annotate - [select for diffs] , Mon Nov 10 18:00:44 2003 UTC (8 years, 6 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-6
Changes since 1.116: +14 -1 lines
Diff to previous 1.116
added an opposite equivalent of pvfs2_mkspace called pvfs2_rmspace that tears
down a complete filesystem.  it can be invoked by running the server with a
-r option.

Revision 1.116 / (view) - annotate - [select for diffs] , Tue Nov 4 17:17:06 2003 UTC (8 years, 6 months ago) by neill
Branch: MAIN
Changes since 1.115: +8 -2 lines
Diff to previous 1.115
take two of the previous patch.

Revision 1.115 / (view) - annotate - [select for diffs] , Tue Nov 4 17:01:11 2003 UTC (8 years, 6 months ago) by neill
Branch: MAIN
Changes since 1.114: +5 -0 lines
Diff to previous 1.114
bugfix; nathan reported running server with no args can show chowdered output
when we try to parse the config file with options that aren't valid

Revision 1.114 / (view) - annotate - [select for diffs] , Tue Oct 21 14:20:01 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-0-5
Changes since 1.113: +5 -0 lines
Diff to previous 1.113
exit() immediately if we catch a segfault

Revision 1.113 / (view) - annotate - [select for diffs] , Thu Oct 2 12:19:49 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003-B, snapshot-kraken-10-16-2003, pvfs2-0-0-4
Changes since 1.112: +1 -0 lines
Diff to previous 1.112
added stubs for server mgmt operation to retrieve event log

Revision 1.112 / (view) - annotate - [select for diffs] , Wed Oct 1 17:11:59 2003 UTC (8 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.111: +1 -1 lines
Diff to previous 1.111
fix asymmetry on the one odd request type so that struct name, operation enum name, and item name match

Revision 1.111 / (view) - annotate - [select for diffs] , Fri Sep 26 19:08:50 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
Changes since 1.110: +4 -0 lines
Diff to previous 1.110
configure time option (--disable-perf-counters) that can turn off the
server side performance counters

Revision 1.110 / (view) - annotate - [select for diffs] , Fri Sep 26 15:20:47 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
Changes since 1.109: +11 -1 lines
Diff to previous 1.109
added handlers for more signals; even if we don't do anything clever
with them yet, we should at least note their presence in the logs...

Revision 1.109 / (view) - annotate - [select for diffs] , Wed Sep 24 21:07:40 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-0-3
Changes since 1.108: +4 -0 lines
Diff to previous 1.108
filled in request protocol structures for new mgmt function to retrieve
low level dspace information, including encode/decode routines.
- untested
- still need true scheduler support

Revision 1.108 / (view) - annotate - [select for diffs] , Tue Sep 23 15:02:22 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
Changes since 1.107: +33 -38 lines
Diff to previous 1.107
seperated/renamed variables/#defines that controls how many jobs we test for
at a time- number of initial unexpected jobs is now independent of the
number of jobs that we will test for at any given time...

Revision 1.107 / (view) - annotate - [select for diffs] , Mon Sep 22 14:55:08 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.106: +2 -0 lines
Diff to previous 1.106
added a preliminary implementation of an fs dumping utility- right now
just lists all handles from each server (not tested hard yet); fixed
a few bugs along the way

Revision 1.106 / (view) - annotate - [select for diffs] , Thu Sep 18 12:32:57 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.105: +1 -0 lines
Diff to previous 1.105
started implementing server request that will retrieve performance
statistics using a mgmt operation

Revision 1.105 / (view) - annotate - [select for diffs] , Thu Sep 18 11:25:37 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.104: +16 -2 lines
Diff to previous 1.104
a little bit of progress on perf counting infrastructure, untested

Revision 1.104 / (view) - annotate - [select for diffs] , Wed Sep 17 19:03:47 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.103: +6 -6 lines
Diff to previous 1.103
variables named "ret" being used for anything besides int return values
make my brain hurt

Revision 1.103 / (view) - annotate - [select for diffs] , Wed Sep 17 18:49:20 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.102: +67 -0 lines
Diff to previous 1.102
added a state machine that runs continuously in the back ground to
manage performance statistics (doesn't actually do anything yet), along
the way added support for starting state machines that are not
triggered by protocol requests

Revision 1.102 / (view) - annotate - [select for diffs] , Tue Sep 9 22:47:00 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.101: +15 -2 lines
Diff to previous 1.101
cleaned up signal handling slightly- added non fatal handler for sigpipe

Revision 1.101 / (view) - annotate - [select for diffs] , Tue Sep 9 16:01:04 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.100: +1 -1 lines
Diff to previous 1.100
more consistently use typedef for PINT_llist

Revision 1.100 / (view) - annotate - [select for diffs] , Tue Sep 9 15:47:57 2003 UTC (8 years, 8 months ago) by robl
Branch: MAIN
Changes since 1.99: +8 -0 lines
Diff to previous 1.99
a new config file option (HandlePurgatory) will give us some control over how
long freed handles wait before being returned to the system.

Revision 1.99 / (view) - annotate - [select for diffs] , Tue Sep 9 15:31:51 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.98: +4 -4 lines
Diff to previous 1.98
renamed all llist_XXX functions to PINT_llist_XXX, first step in fixing
most obvious name space problems (those that collide with pvfs1)

Revision 1.98 / (view) - annotate - [select for diffs] , Mon Sep 8 20:36:29 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.97: +0 -2 lines
Diff to previous 1.97
started on an admin tool that shows statfs-ish type stuff, not finished
yet

Revision 1.97 / (view) - annotate - [select for diffs] , Fri Sep 5 16:08:24 2003 UTC (8 years, 8 months ago) by robl
Branch: MAIN
Changes since 1.96: +1 -3 lines
Diff to previous 1.96
ugly hack for valgrind snuck in on the truncate bus.  sorry about that.

Revision 1.96 / (view) - annotate - [select for diffs] , Thu Sep 4 16:27:08 2003 UTC (8 years, 8 months ago) by robl
Branch: MAIN
Changes since 1.95: +4 -1 lines
Diff to previous 1.95
. landing a new and improved client-side truncate.
. completing the landing of a fully-functioning server-side truncate.

Revision 1.95 / (view) - annotate - [select for diffs] , Fri Aug 29 18:34:07 2003 UTC (8 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-2
Changes since 1.94: +2 -0 lines
Diff to previous 1.94
don't clear dist info on i/o write; remove broken statfs stubs (Phil: did you
forget to add server/statfs.??)

Revision 1.94 / (view) - annotate - [select for diffs] , Fri Aug 29 15:20:53 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.93: +1 -0 lines
Diff to previous 1.93
added statfs request type, and a trivial stub for server state machine

Revision 1.93 / (view) - annotate - [select for diffs] , Tue Aug 26 18:25:50 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.92: +1 -1 lines
Diff to previous 1.92
added a "FlowModules" config file option (mandatory) that tells the
server what flowprotocols to initialize

Revision 1.92 / (view) - annotate - [select for diffs] , Tue Aug 26 17:11:38 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91
added a manditory server config file option (BMIModules) that lists
which bmi modules the server should initialize, also fixed a bug in
BMI's parsing of module list

Revision 1.91 / (view) - annotate - [select for diffs] , Tue Aug 26 11:42:34 2003 UTC (8 years, 8 months ago) by neill
Branch: MAIN
Changes since 1.90: +3 -0 lines
Diff to previous 1.90
add server startup banner featuring the version number

Revision 1.90 / (view) - annotate - [select for diffs] , Tue Aug 26 02:37:59 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.89: +1 -0 lines
Diff to previous 1.89
added an extra argument to all of the job API post fuctions: status_user_tag.
... similar to user_ptr semantically (set by caller at post time, returned
by API at test time), except that it is an integer type and is returned
through the status struct.  Not used yet, but intended to help in client
side state machines that have multiple transitions to the same state and
need a way to differentiate between them.

Revision 1.89 / (view) - annotate - [select for diffs] , Thu Aug 21 14:56:08 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88
another step closer to getting symlink specific attribute data written to
(and able to be read from) disk

Revision 1.88 / (view) - annotate - [select for diffs] , Fri Aug 15 12:00:20 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-1
Changes since 1.87: +4 -0 lines
Diff to previous 1.87
- added pvfs2-mkspace and pvfs2-showcoll for removal on make clean
- added versioning information to the configure setup so apps can know
  which version to print if they care (i.e. pvfs2-ls, pvfs2-ping, etc)
  NOTE: I've arbitrarily picked the version start of 0.0.1 -- if we
  don't like this version for the friendly release, be sure to update
  the version in configure.in
- declare the strnlen prototype in pvfs2-showcoll, as the warning seems
  to have re-appeared; fixed for good now

Revision 1.87 / (view) - annotate - [select for diffs] , Thu Aug 14 16:26:13 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.86: +76 -42 lines
Diff to previous 1.86
scattered server cleanups; most notable change is the dynamic allocation
of the job structures (if less than a hard max)

Revision 1.86 / (view) - annotate - [select for diffs] , Wed Aug 13 15:09:19 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.85: +4 -0 lines
Diff to previous 1.85
move mtrace call to server if enabled.

Revision 1.85 / (view) - annotate - [select for diffs] , Fri Aug 1 12:46:21 2003 UTC (8 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84
- implemented job_trove_dspace_verify
- implemented ROOT_CHECK parameter in admin interface
- finished up pvfs2-ping and marked "NEEDS TESTING" in todo file

Revision 1.84 / (view) - annotate - [select for diffs] , Thu Jul 31 21:52:30 2003 UTC (8 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.83: +4 -0 lines
Diff to previous 1.83
temporarily disabling flowproto_dump_offsets

Revision 1.83 / (view) - annotate - [select for diffs] , Thu Jul 31 16:29:54 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82
minor usage correction

Revision 1.82 / (view) - annotate - [select for diffs] , Mon Jul 28 12:54:45 2003 UTC (8 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.81: +1 -0 lines
Diff to previous 1.81
noop support on the server side

Revision 1.81 / (view) - annotate - [select for diffs] , Fri Jul 25 18:49:06 2003 UTC (8 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.80: +15 -3 lines
Diff to previous 1.80
server now prints out some useful messages and continues to operate if a
bogus request is received.

Revision 1.80 / (view) - annotate - [select for diffs] , Fri Jul 25 18:32:21 2003 UTC (8 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.79: +3 -12 lines
Diff to previous 1.79
first steps toward getting the server to gracefully handle bogus requests

Revision 1.79 / (view) - annotate - [select for diffs] , Fri Jul 25 17:26:31 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.78: +4 -0 lines
Diff to previous 1.78
callback based aio completion for dbpf-bstream operations if you set
__PVFS2_TROVE_AIO_THREADED__

Revision 1.78 / (view) - annotate - [select for diffs] , Wed Jul 23 12:05:33 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.77: +5 -3 lines
Diff to previous 1.77
added a DIST_DEBUG flag for gossip; gossipified some fprintfs in dist
code; added a line in the server to log what it's logging.

Revision 1.77 / (view) - annotate - [select for diffs] , Tue Jul 22 19:00:54 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76
Corrected the custom strstr implementation; moved the
PINT_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

Revision 1.76 / (view) - annotate - [select for diffs] , Tue Jul 22 12:30:40 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.75: +5 -0 lines
Diff to previous 1.75
Wrote an eventlogging to pvfs2 debug mask conversion function for understanding
config files and hooked it up so that the server uses it.  Since this method
uses strstr, I've also implemented a version in case the system doesn't have
that function (including the appropriate configure test, etc).

Revision 1.75 / (view) - annotate - [select for diffs] , Mon Jul 21 19:21:35 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.74: +6 -6 lines
Diff to previous 1.74
Renamed all references to PINT_server_config_X methods to PINT_config_X.

The method that parsed config files (formerly called PINT_server_config())
is now called PINT_parse_config()

Revision 1.74 / (view) - annotate - [select for diffs] , Mon Jul 21 19:03:18 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.73: +4 -3 lines
Diff to previous 1.73
Logging to specified LogFile from config file is now in place.

Revision 1.73 / (view) - annotate - [select for diffs] , Mon Jul 21 13:17:03 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.72: +101 -106 lines
Diff to previous 1.72
An experimental server cleanup attempt.  Things to look for:  Is this cleanup
method cleaner than the server_level_init method?  Is this cleanup correct?
(I'm not convinced the server_level_init stuff was correct, but hey...)
This is based on a brief discussion with RobR using a bit field to determine
what has been initialized so we know what to teardown.

Revision 1.72 / (view) - annotate - [select for diffs] , Mon Jul 21 11:40:10 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.71: +5 -5 lines
Diff to previous 1.71
renamed PINT_server_job_context to server_job_context (only used in server).  Moved extern declaration into pvfs2-server.h,
and then removed all the externs from all the state machines.

Revision 1.71 / (view) - annotate - [select for diffs] , Sun Jul 20 01:04:44 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.70: +22 -9 lines
Diff to previous 1.70
server now backgrounds itself unless given a "-d" option.
note: output is to /tmp/pvfs2-server.log for now; we should make this a config file option!
note: i've had to do some freopen() stuff in the server until we get rid of all the printf()/fprintfs lying around (e.g. in Trove).

Revision 1.70 / (view) - annotate - [select for diffs] , Sun Jul 20 00:02:59 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.69: +493 -423 lines
Diff to previous 1.69
General cleanup and reorganization in src/server.  Got rid of server-state-machine.c, merging the right stuff into pvfs2-server.c.

I've started using server_ for the prefix for functions used only in the server; seems like a good way to differentiate.

I'm still not happy with the error handling in the server; we need to do something about that.

Revision 1.69 / (view) - annotate - [select for diffs] , Fri Jul 18 18:28:41 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.68: +5 -1 lines
Diff to previous 1.68
Minor changes; verified that turning off the __PVFS2_TROVE_THREADED__ flag
still works as it did before adding initial thread support; added server
startup to tell you what mode the storage interface is in (threaded/non)

Revision 1.68 / (view) - annotate - [select for diffs] , Fri Jul 18 17:04:58 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67
error handling/ordering bugfix -- updated to reflect order of initialization
changes

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Jul 18 16:51:20 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.66: +6 -5 lines
Diff to previous 1.66
added a coll_id arg to trove_[open|close]_context calls.  threaded trove.
things may be badly broken now as it's on by default.  even if things appear
to work, don't be fooled.  much work is left to be done.

Revision 1.66 / (view) - annotate - [select for diffs] , Thu Jul 17 21:56:57 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.65: +6 -5 lines
Diff to previous 1.65
remove the hacked open/close context call from server; to be fixed later

Revision 1.65 / (view) - annotate - [select for diffs] , Thu Jul 17 11:52:14 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.64: +11 -11 lines
Diff to previous 1.64
Add storage specific open/close_context methods.  Move flow initialization
in pvfs2-server to be after trove initialization since a trove context is
needed.

Revision 1.64 / (view) - annotate - [select for diffs] , Wed Jul 16 18:26:18 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.63: +6 -1 lines
Diff to previous 1.63
Added stubs for using contexts in trove.  None of this is working right now,
but the code *should* still work as before.  The idea is to get contexts into
the trove interface to play better with the job interface like the existing
bmi and flow interfaces.  This is the first step toward that end.

Revision 1.63 / (view) - annotate - [select for diffs] , Tue Jul 15 19:32:29 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
flowproto_dump_offsets (used for debugging file and memory offsets within
flow execution without actually moving any data) is back in the saddle agian,
but untested.

Revision 1.62 / (view) - annotate - [select for diffs] , Mon Jul 14 23:20:16 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
Aieeee....

New datatype request processing interface clumsily merged into tree.  For the
most part, things will work as before, but still need to:
- fix bug in precalculation when datatype offset is used
- fix data corruption when running multiple servers
- update flowproto-dump-offsets and enable again
- take out old #ifdef0'd code in bmi trove flowproto
- clean up flowproto's use of new interface

Revision 1.61 / (view) - annotate - [select for diffs] , Sat Jul 12 17:40:49 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.60: +0 -12 lines
Diff to previous 1.60
removing some old code

Revision 1.60 / (view) - annotate - [select for diffs] , Sat Jul 12 17:37:44 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.59: +4 -5 lines
Diff to previous 1.59
trying to rename some of the state machine handling functions to be more
consistent and reflect what they actually do

Revision 1.59 / (view) - annotate - [select for diffs] , Wed Jul 9 12:39:22 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.58: +4 -2 lines
Diff to previous 1.58
some minor cleanups and improved configuration file error reporting.

Revision 1.58 / (view) - annotate - [select for diffs] , Tue Jul 8 11:55:34 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.57: +0 -4 lines
Diff to previous 1.57
meaningless comment removal.

Revision 1.57 / (view) - annotate - [select for diffs] , Tue Jul 8 11:18:17 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
Woohoo look at me!  state machine headers are now obtuse.  and in src/common/misc.  and theoretically reusable between client and server.
New server-state-machine.c has server-specific functions for state machine; we'll need some of those for the client, but different implementations.

Revision 1.56 / (view) - annotate - [select for diffs] , Mon Jul 7 21:09:29 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.55: +7 -1 lines
Diff to previous 1.55
Trying to clean up the state machine code so I can move it into the client.  Harder than it should be.

Revision 1.55 / (view) - annotate - [select for diffs] , Thu Jul 3 02:05:59 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.54: +12 -1 lines
Diff to previous 1.54
added an initialize and finalize function to the encoding interface; doesn't
do anything yet

Revision 1.54 / (view) - annotate - [select for diffs] , Tue Jul 1 17:15:01 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53
minor cleanup (not sure why that was there)

Revision 1.53 / (view) - annotate - [select for diffs] , Fri Jun 27 02:41:50 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.52: +0 -2 lines
Diff to previous 1.52
got rid of some unecessary linux sepecific header includes

Revision 1.52 / (view) - annotate - [select for diffs] , Wed Jun 25 22:27:27 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.51: +10 -2 lines
Diff to previous 1.51
minor changes.

Revision 1.51 / (view) - annotate - [select for diffs] , Mon Jun 23 16:30:47 2003 UTC (8 years, 11 months ago) by neill
Branch: MAIN
Changes since 1.50: +13 -31 lines
Diff to previous 1.50
Allow meta and data ranges to be merged as one single range when passing it
to trove, since currently multiple setinfo calls for ranges fails, and it's
simpler from the server init standpoint.  This allows trove-handle-mgmt to
understand the handles properly for now.

Revision 1.50 / (view) - annotate - [select for diffs] , Fri Jun 20 23:14:01 2003 UTC (8 years, 11 months ago) by neill
Branch: MAIN
Changes since 1.49: +45 -14 lines
Diff to previous 1.49
Scattered changes trying to support newly proposed configuration file format.
Things will probably break with this patchset, so keep on the lookout.
Definitely broken: client side range requesting; adding multiple ranges to
trove.  Will be looking into next week.

Revision 1.49 / (view) - annotate - [select for diffs] , Tue Jun 10 18:18:02 2003 UTC (8 years, 11 months ago) by rbross
Branch: MAIN
Changes since 1.48: +10 -11 lines
Diff to previous 1.48
Some improvements to the trove error reporting, but nothing substantial yet.

Revision 1.48 / (view) - annotate - [select for diffs] , Tue Jun 10 16:23:20 2003 UTC (8 years, 11 months ago) by rbross
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47
Nicer.

Revision 1.47 / (view) - annotate - [select for diffs] , Tue Jun 10 16:21:38 2003 UTC (8 years, 11 months ago) by rbross
Branch: MAIN
Changes since 1.46: +31 -6 lines
Diff to previous 1.46
Proper command line argument handling implemented using getopt().

Revision 1.46 / (view) - annotate - [select for diffs] , Tue Jun 10 15:59:06 2003 UTC (8 years, 11 months ago) by rbross
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
Changed parameters to the PINT_server_config() and internal functions so it doesn't use argc, argv any more.  First step in
allowing the pvfs2-server to take some options on the command line.

Revision 1.45 / (view) - annotate - [select for diffs] , Wed May 21 18:33:48 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
fixed typo

Revision 1.44 / (view) - annotate - [select for diffs] , Wed May 21 16:34:37 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.43: +44 -21 lines
Diff to previous 1.43
First cut of auto storage space creation from the server. Not well tested...
Will be looking into.

Revision 1.43 / (view) - annotate - [select for diffs] , Thu May 15 17:30:14 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.42: +17 -1 lines
Diff to previous 1.42
More rigorous configuration file checking; server will no longer start
unless the handles in your config file make sense.  Also now have
a framework for more extensive configuration structure analysis.

Also fixed a warning in dbpf-dspace

Revision 1.42 / (view) - annotate - [select for diffs] , Tue May 13 15:28:31 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.41: +0 -6 lines
Diff to previous 1.41
Some preliminary support for getting handle ranges into trove's handle
management book keeping system based on a discussion with RobL.  While
the handle ranges are not added to book keeping, dspace handle validation
support is there. (first cut anyway)

Revision 1.41 / (view) - annotate - [select for diffs] , Wed May 7 16:10:27 2003 UTC (9 years ago) by pcarns
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40
put in hooks to manually specify which flowprotocol to use, tested for
a few trial cases

Revision 1.40 / (view) - annotate - [select for diffs] , Wed Apr 23 18:34:56 2003 UTC (9 years, 1 month ago) by neill
Branch: MAIN
Changes since 1.39: +9 -2 lines
Diff to previous 1.39
bugfix/comment removal; error checking

Revision 1.39 / (view) - annotate - [select for diffs] , Tue Apr 22 14:16:35 2003 UTC (9 years, 1 month ago) by neill
Branch: MAIN
Changes since 1.38: +6 -3 lines
Diff to previous 1.38
Minor cleanups and warning removals.

Revision 1.38 / (view) - annotate - [select for diffs] , Tue Apr 15 17:04:54 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.37: +18 -4 lines
Diff to previous 1.37
Added contexts to the job API, and updated all job calls to reflect it.
Contexts aren't actually implemented yet.

Revision 1.37 / (view) - annotate - [select for diffs] , Thu Apr 10 19:28:46 2003 UTC (9 years, 1 month ago) by neill
Branch: MAIN
Changes since 1.36: +17 -0 lines
Diff to previous 1.36
Added forward thinking server support for adding handle ranges to trove.
Uncomment it when trove supports TROVE_COLLECTION_HANDLE_RANGES in the
trove_collection_setinfo call.

Revision 1.36 / (view) - annotate - [select for diffs] , Wed Apr 9 18:02:21 2003 UTC (9 years, 1 month ago) by neill
Branch: MAIN
Changes since 1.35: +2 -5 lines
Diff to previous 1.35
Added some documentation to existing server configuration methods that are
available for use outside of the server-config internals.

Added functions to properly map from a bmi_address to an alias, and vice versa
since it's a common thing to do (to get at the fields in the configuration
object).

Code cleanups (and assertion additions) to server-config.c.

Revision 1.35 / (view) - annotate - [select for diffs] , Mon Mar 24 17:38:51 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.34: +24 -35 lines
Diff to previous 1.34
Updated configuration file parser and layout of in-memory data structures.

- PINT_server_config no longer returns a struct_server_configuration_s,
  but rather requires one to be passed in so it can fill it in
- Parser now parses two different config files when PINT_server_config
  is called. (Thus, the argc and argv need to be adjusted when calling)
  The ways this works is that argv[1] should be the fs.conf and
  argv[2] should be the server.conf file.  RobL,RobR,Phil and I all
  came up with the idea that the fs.conf file is a generic file of
  defaults that all servers will use.  Local server overrides will be
  done with the server.conf file.  These files can be named whatever
  as long as the PINT_server_config arguments are updated.
- Parser is now stricter in the sense that it does more consistency
  checking on the config files.
- There is no longer an arbitrary limit on the number of filesystems,
  number of meta server, and number of data servers that can be
  declared (thanks to the utilization of the llist types)
- Host aliases are now properly supported
- Bucket ranges are now supported per alias

Revision 1.34 / (view) - annotate - [select for diffs] , Fri Mar 21 18:55:35 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.33: +0 -24 lines
Diff to previous 1.33
undid failed attempt at PINT_server_gossip_debug() function.

Revision 1.33 / (view) - annotate - [select for diffs] , Fri Mar 21 18:16:32 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.32: +25 -0 lines
Diff to previous 1.32
Took out references to job-consist.h.

Revision 1.32 / (view) - annotate - [select for diffs] , Fri Mar 21 01:17:28 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
Machinations to work around cross-dependencies between state-machine.h and pvfs2-server.h.

Revision 1.31 / (view) - annotate - [select for diffs] , Fri Mar 21 00:14:08 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.30: +22 -65 lines
Diff to previous 1.30
Cleanup.

Revision 1.30 / (view) - annotate - [select for diffs] , Thu Mar 20 23:42:01 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.29: +6 -12 lines
Diff to previous 1.29
More documentation/cleanup in pvfs2-server, bug fix on lookup.c to address failures in lookup process.  Can return 0 segments now...is that an error?

Revision 1.29 / (view) - annotate - [select for diffs] , Thu Mar 20 23:22:41 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.28: +13 -13 lines
Diff to previous 1.28
Documentation and formatting changes.

Revision 1.28 / (view) - annotate - [select for diffs] , Wed Mar 12 18:49:23 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
CVS Tags: snapshot-amerson-3-18-2003
Changes since 1.27: +43 -11 lines
Diff to previous 1.27
Made the unexpected_bmi_buff member in the server op struct contained within the
actual structure and does not require a seperate malloc.  Updated references to
this in each state machine and to the while(1) main loop, and the statemachine
processor.

Fixed a nasty bug pointed out by robl with concurrent unexpected requests.  The
while(1) loop was updated and comments surround the problem.

Fixed a double free bug inside of the create dirent state machine. (Thanks phil).

Revision 1.27 / (view) - annotate - [select for diffs] , Mon Mar 10 00:14:08 2003 UTC (9 years, 2 months ago) by robl
Branch: MAIN
CVS Tags: snapshot-osc-03-11-2003
Changes since 1.26: +2 -5 lines
Diff to previous 1.26
kill old comments.  cscope or ctags beats hard-coding line numbers

Revision 1.26 / (view) - annotate - [select for diffs] , Fri Mar 7 20:10:13 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.25: +1 -3 lines
Diff to previous 1.25
Using BMI_send_list so made appropriate changes here

DW

Revision 1.24 / (view) - annotate - [select for diffs] , Thu Mar 6 23:38:26 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
Lookup is receiving a makeover.  I have one case left to get it completely working.  Will finish it
tomorrow. dw

Revision 1.25 / (view) - annotate - [select for diffs] , Thu Mar 6 22:35:41 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.24: +1 -0 lines
Diff to previous 1.24
completed io state machine and tested some

Revision 1.23 / (view) - annotate - [select for diffs] , Wed Mar 5 13:09:05 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.22: +4 -9 lines
Diff to previous 1.22
In response to Dale's question:

/* TODO: Why is this generating a warning??? Fix Me!
 *       src/server/pvfs2-server.c: In function `main':
 *       src/server/pvfs2-server.c:340: warning: passing arg 3 of `initialize_server_state'
 *       from incompatible pointer type
 */

...because it's a bug from my hasty re-organization.  It's fixed now.

Revision 1.21 / (view) - annotate - [select for diffs] , Tue Mar 4 20:48:45 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.20: +6 -5 lines
Diff to previous 1.20
fixed an error with handling an invalid return on a server_op

Revision 1.20 / (view) - annotate - [select for diffs] , Tue Mar 4 20:33:32 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.19: +11 -6 lines
Diff to previous 1.19
Fixed some random things inside the server... cleanup and such

Revision 1.22 / (view) - annotate - [select for diffs] , Tue Mar 4 19:18:12 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.21: +5 -2 lines
Diff to previous 1.21
free allocated memory in two different spots when taking the error path.

Revision 1.19 / (view) - annotate - [select for diffs] , Mon Mar 3 22:38:40 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
Free error resolved

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Mar 3 20:13:11 2003 UTC (9 years, 2 months ago) by walt
Branch: MAIN
Changes since 1.16: +27 -26 lines
Diff to previous 1.16
cleaned up long lines

Revision 1.16 / (view) - annotate - [select for diffs] , Mon Mar 3 19:46:46 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.15: +4 -0 lines
Diff to previous 1.15
FIXED ERRORS

Revision 1.18 / (view) - annotate - [select for diffs] , Mon Mar 3 17:21:18 2003 UTC (9 years, 2 months ago) by robl
Branch: MAIN
Changes since 1.17: +4 -3 lines
Diff to previous 1.17
missing brace broke compilation

Revision 1.15 / (view) - annotate - [select for diffs] , Mon Mar 3 15:51:45 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.14: +183 -128 lines
Diff to previous 1.14
Cleaned up the server's main function by splitting it into a few more functions.
Functionally, there should be no difference.

Revision 1.14 / (view) - annotate - [select for diffs] , Mon Mar 3 13:32:09 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13
Declared a type for the server_level_init enum and changed the
prototype of server_shutdown(...) to take it instead of an int.  Also
added a default server_level_init value (STATUS_UNKNOWN = 0).  Should not
change any functionality.

Revision 1.13 / (view) - annotate - [select for diffs] , Fri Feb 28 23:23:20 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.12: +23 -1 lines
Diff to previous 1.12
formatting issues resolved... still need some memory clean up... also mkdir updated

Revision 1.12 / (view) - annotate - [select for diffs] , Fri Feb 28 17:58:50 2003 UTC (9 years, 2 months ago) by rbross
Branch: MAIN
Changes since 1.11: +407 -400 lines
Diff to previous 1.11
Reformatted as an example of formatting, use of vim/emacs directives, etc.

Revision 1.11 / (view) - annotate - [select for diffs] , Fri Feb 28 17:27:50 2003 UTC (9 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.10: +63 -69 lines
Diff to previous 1.10
Attempted to cleanup the littering of "state_level_init++" lines and have
slightly less confusing error handling in the main server body code.  In
theory, functionality should be affected at all by this.

Revision 1.10 / (view) - annotate - [select for diffs] , Thu Feb 27 21:30:48 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9
got rid of job_waitworld and added timeout argument to
job_testworld.  It isn't implemented right yet, but I wanted to
get the API change out of the way so that I don't have to modify
the server again later

Revision 1.9 / (view) - annotate - [select for diffs] , Thu Feb 27 21:09:33 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.8: +25 -18 lines
Diff to previous 1.8
finished adding extra argument to job_bmi_unexp(); propigated changes
into server code and test programs that use that function.

Revision 1.8 / (view) - annotate - [select for diffs] , Thu Feb 27 20:53:00 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7
finished name change of unexpected_info -> BMI_unexpected_info and
propigated into server code

Revision 1.7 / (view) - annotate - [select for diffs] , Wed Feb 26 22:08:03 2003 UTC (9 years, 2 months ago) by dalew
Branch: MAIN
Changes since 1.6: +95 -49 lines
Diff to previous 1.6
Many many changes... extern works, all statemachines updated.  Getconfig works with root handle
server_config does what it is supposed to along with multiple filesystems

Tons more

Revision 1.6 / (view) - annotate - [select for diffs] , Fri Feb 7 20:08:19 2003 UTC (9 years, 3 months ago) by dalew
Branch: MAIN
CVS Tags: snapshot-osc-02-19-2003
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
COMMENTS!

Revision 1.5 / (view) - annotate - [select for diffs] , Wed Feb 5 21:10:55 2003 UTC (9 years, 3 months ago) by dalew
Branch: MAIN
Changes since 1.4: +33 -55 lines
Diff to previous 1.4
Making things readable

Revision 1.4 / (view) - annotate - [select for diffs] , Thu Jan 30 22:20:41 2003 UTC (9 years, 3 months ago) by dalew
Branch: MAIN
Changes since 1.3: +12 -5 lines
Diff to previous 1.3
Moved union from pvfs2-server.h to state-machine.h
Fixed get attrib to do proper encoding...
Comments!

dw

Revision 1.3 / (view) - annotate - [select for diffs] , Fri Jan 17 03:38:28 2003 UTC (9 years, 4 months ago) by rbross
Branch: MAIN
Changes since 1.2: +0 -3 lines
Diff to previous 1.2
took out prototype for function that will never exist (PINT_trove_initialize).

Revision 1.2 / (view) - annotate - [select for diffs] , Wed Jan 15 18:15:51 2003 UTC (9 years, 4 months ago) by dalew
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Adding stuff to help find an error that frank does to cause server to crash

Revision 1.1 / (view) - annotate - [select for diffs] , Tue Jan 14 15:41:54 2003 UTC (9 years, 4 months ago) by pcarns
Branch: MAIN
added in core server code and rules to build it

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

Email pvfs2 viewcvs admin
Powered by
ViewCVS 0.9.4