CVS log for pvfs2/src/io/bmi/bmi.c

(logo)

Help

(back) Up to [PVFS2] / pvfs2 / src / io / bmi

Request diff between arbitrary revisions / Display revisions graphically


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

Revision 1.100.10.2.2.2 / (view) - annotate - [select for diffs] , Fri Aug 19 15:50:00 2011 UTC (8 months, 4 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.100.10.2.2.1: +54 -6 lines
Diff to previous 1.100.10.2.2.1 to branch point 1.100.10.2 to next main 1.100.10.3
merge with Orange-Branch

Revision 1.100.10.5 / (view) - annotate - [select for diffs] , Fri Jul 15 20:54:06 2011 UTC (10 months ago) by walt
Branch: Orange-Branch
CVS Tags: windows-release-2-8-5-20110921, pnfs-merge, orangefs-2-8-5, Orange-security-premerge, Orange-security-postmerge
Changes since 1.100.10.4: +7 -4 lines
Diff to previous 1.100.10.4 to branch point 1.100 to next main 1.101
updates to user interface code:
all posix wrappers implemented
socket wrappers added
sendfile implemented
sys-lookup modified to return a path on failure
other files are minor formatting changes

Revision 1.100.10.4 / (view) - annotate - [select for diffs] , Tue Jul 12 21:10:24 2011 UTC (10 months ago) by sampson
Branch: Orange-Branch
CVS Tags: windows-client-to-Orange-Branch-20110712
Changes since 1.100.10.3: +47 -2 lines
Diff to previous 1.100.10.3 to branch point 1.100
Committed Windows client code to Orange-Branch.

Revision 1.100.10.3.6.3 / (view) - annotate - [select for diffs] , Wed Oct 20 21:41:41 2010 UTC (18 months, 3 weeks ago) by sampson
Branch: windows-client
Changes since 1.100.10.3.6.2: +2406 -2406 lines
Diff to previous 1.100.10.3.6.2 to branch point 1.100.10.3 to next main 1.100.10.4
Testing BMI TCP

Revision 1.100.10.3.6.2 / (view) - annotate - [select for diffs] , Mon Oct 18 21:29:01 2010 UTC (18 months, 4 weeks ago) by sampson
Branch: windows-client
Changes since 1.100.10.3.6.1: +6 -0 lines
Diff to previous 1.100.10.3.6.1 to branch point 1.100.10.3
Porting BMI TCP

Revision 1.100.10.3.6.1 / (view) - annotate - [select for diffs] , Mon Oct 11 21:35:15 2010 UTC (19 months ago) by sampson
Branch: windows-client
Changes since 1.100.10.3: +41 -2 lines
Diff to previous 1.100.10.3
Porting BMI sockets

Revision 1.100.10.2.2.1 / (view) - annotate - [select for diffs] , Tue Oct 5 18:29:49 2010 UTC (19 months, 1 week ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distdir_orange_before_merge_20110817
Changes since 1.100.10.2: +65 -25 lines
Diff to previous 1.100.10.2
Merged in changes from Orange-Branch. There were a number of bugs fixed there since this branch was created.

Revision 1.100.10.1.6.1 / (view) - annotate - [select for diffs] , Thu Jul 8 14:02:50 2010 UTC (22 months, 1 week ago) by mtmoore
Changes since 1.100.10.1: +70 -25 lines
Diff to previous 1.100.10.1 to next main 1.100.10.2
merging Orange Branch changes in

Revision 1.90.8.4 / (view) - annotate - [select for diffs] , Sat Jun 19 00:01:51 2010 UTC (22 months, 4 weeks ago) by nlmills
Branch: cu-security-branch
Changes since 1.90.8.3: +161 -25 lines
Diff to previous 1.90.8.3 to branch point 1.90 to next main 1.91
initial merge with Orange-Branch. much will be broken

Revision 1.90.8.3 / (view) - annotate - [select for diffs] , Fri May 21 17:34:08 2010 UTC (23 months, 3 weeks ago) by nlmills
Branch: cu-security-branch
CVS Tags: cu-security-branch-premerge
Changes since 1.90.8.2: +0 -91 lines
Diff to previous 1.90.8.2 to branch point 1.90
revert cu-security-branch to before the attempted merge with Orange-Branch

Revision 1.100.10.3 / (view) - annotate - [select for diffs] , Fri Apr 30 20:00:46 2010 UTC (2 years ago) by bligon
Branch: Orange-Branch
CVS Tags: test-slab-cache-patch, test-duplicate-patch, pre-dirent, orangefs-rel-20100813, orangefs-current, orangefs-20100920, orangefs-2-8-4, orangefs-2-8-3-20110323, orangefs-2-8-3-2011-03-23, orangefs-2-8-3-20101113, orangefs-2-8-3-20101112, orange-next, mtmoore-dbpf-txn, before-getattr, becky-test-bed, Orange-Migrate-Tools, OB-DBPF-OPEN-CACHE-REMOVE, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End
Branch point for: windows-client
Changes since 1.100.10.2: +65 -25 lines
Diff to previous 1.100.10.2 to branch point 1.100
merge of B2O-Blue-Sync,HEAD,and latest of Orange.

Revision 1.105 / (view) - annotate - [select for diffs] , Mon Apr 19 20:39:10 2010 UTC (2 years ago) by pcarns
Branch: MAIN
CVS Tags: tr-branch, pvfs2-mr-shim, my-point, HEAD, B2O-Temp, B2O-Blue-Sync
Changes since 1.104: +15 -71 lines
Diff to previous 1.104
merging bmi-experimental-branch to trunk

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

Revision 1.100.10.2 / (view) - annotate - [select for diffs] , Mon Mar 8 17:26:49 2010 UTC (2 years, 2 months ago) by bligon
Branch: Orange-Branch
CVS Tags: pvfs2, distr-dir-pre-release, Orange-Elaine-Distr-Dir-Root, B2O-Blue-Sync-Temp
Branch point for: Orange-Elaine-Distr-Dir-Branch, B2O-Merge-Test
Changes since 1.100.10.1: +5 -0 lines
Diff to previous 1.100.10.1 to branch point 1.100
Merged failover with tree code.
Modified Files:
  Tag: Orange-Branch
 	prepare src/apps/kernel/linux/pvfs2-client-core.c
 	src/client/sysint/client-state-machine.c
 	src/client/sysint/client-state-machine.h
 	src/client/sysint/finalize.c
	src/client/sysint/sys-getattr.sm
 	src/client/sysint/sys-io.sm
	src/client/sysint/sys-small-io.sm
 	src/common/gossip/gossip.h
	src/common/misc/msgpairarray.sm
 	src/common/misc/pint-event.c
	src/common/misc/pint-event.h
 	src/io/bmi/bmi.c
	src/io/dev/pint-dev.c
	src/io/job/job.c
 	src/kernel/linux-2.6/devpvfs2-req.c
 	src/kernel/linux-2.6/file.c
	src/kernel/linux-2.6/pvfs2-mod.c
 	src/proto/PINT-le-bytefield.c
	src/proto/pvfs2-req-proto.h
 	src/server/create-immutable-copies.sm
	src/server/get-attr.sm
 	src/server/small-io.sm
	src/server/tree-communicate.sm
 	src/server/request-scheduler/request-scheduler.c
 	src/server/request-scheduler/request-scheduler.h

Revision 1.104 / (view) - annotate - [select for diffs] , Thu Jan 21 19:01:42 2010 UTC (2 years, 3 months ago) by slang
Branch: MAIN
Changes since 1.103: +56 -25 lines
Diff to previous 1.103
Patch that gives expected/unexpected its own method_plan.  Fixes test_unexepected/test_context race.  From Dries Kimpe.

Revision 1.100.10.1.2.1 / (view) - annotate - [select for diffs] , Mon Nov 23 21:51:46 2009 UTC (2 years, 5 months ago) by bligon
Branch: Orange-FailOver-small-io
Changes since 1.100.10.1: +5 -0 lines
Diff to previous 1.100.10.1 to next main 1.100.10.2
Completed coding and debugging of small-io failover.

Revision 1.103 / (view) - annotate - [select for diffs] , Wed Nov 4 21:17:15 2009 UTC (2 years, 6 months ago) by iskra
Branch: MAIN
Changes since 1.102: +6 -0 lines
Diff to previous 1.102
The remaining pieces of BMI ZOID support.

Revision 1.100.2.2 / (view) - annotate - [select for diffs] , Thu Oct 1 16:37:52 2009 UTC (2 years, 7 months ago) by slang
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2-rc1, pvfs-2-8-2
Changes since 1.100.2.1: +4 -1 lines
Diff to previous 1.100.2.1 to branch point 1.100 to next main 1.101
merge from HEAD: http://www.pvfs.org/fisheye/changelog/PVFS/?cs=MAIN:pcarns:20090930154442

Revision 1.100.2.1 / (view) - annotate - [select for diffs] , Thu Oct 1 15:51:02 2009 UTC (2 years, 7 months ago) by slang
Branch: pvfs-2-8-branch
Changes since 1.100: +91 -0 lines
Diff to previous 1.100
merge from HEAD: http://www.pvfs.org/fisheye/changelog/PVFS/?cs=MAIN:harms:20090610160748

Revision 1.101.2.4 / (view) - annotate - [select for diffs] , Wed Sep 30 16:04:06 2009 UTC (2 years, 7 months ago) by pcarns
Branch: bmi-experimental-branch
Changes since 1.101.2.3: +4 -1 lines
Diff to previous 1.101.2.3 to branch point 1.101 to next main 1.102
merging in "no polling" flag support from trunk to bmi-experimental-branch

Revision 1.102 / (view) - annotate - [select for diffs] , Wed Sep 30 15:44:42 2009 UTC (2 years, 7 months ago) by pcarns
Branch: MAIN
Changes since 1.101: +4 -1 lines
Diff to previous 1.101
Add a flags field to bmi method ops structure.  BMI_METHOD_FLAG_NO_POLLING
can be used to disable implicit busy polling on a particular BMI method.

Revision 1.90.8.2 / (view) - annotate - [select for diffs] , Wed Sep 2 20:16:03 2009 UTC (2 years, 8 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.90.8.1: +91 -0 lines
Diff to previous 1.90.8.1 to branch point 1.90
merged in changes from latest Orange-Branch

Revision 1.90.8.1 / (view) - annotate - [select for diffs] , Tue Aug 25 17:56:06 2009 UTC (2 years, 8 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.90: +85 -33 lines
Diff to previous 1.90
merged in changes from summer at LANL

Revision 1.100.10.1 / (view) - annotate - [select for diffs] , Fri Aug 14 21:13:34 2009 UTC (2 years, 9 months ago) by walt
Branch: Orange-Branch
CVS Tags: Orange-Branch-metadata-backup
Branch point for: Orange-FailOver-small-io
Changes since 1.100: +91 -0 lines
Diff to previous 1.100
merged Orange with Blue - first merging

Revision 1.101.2.3 / (view) - annotate - [select for diffs] , Sun Jul 19 22:29:51 2009 UTC (2 years, 9 months ago) by pcarns
Branch: bmi-experimental-branch
Changes since 1.101.2.2: +12 -9 lines
Diff to previous 1.101.2.2 to branch point 1.101
Add yet another argument in the unexpected functions.  The "class" will be
used to differentiate different classes of unexpected messages that arrive
at the same host but destined for separate components.  Default API is
unchanged and assumes PVFS uses class value 0.  No method support yet.

Revision 1.101.2.2 / (view) - annotate - [select for diffs] , Sun Jul 19 21:47:54 2009 UTC (2 years, 9 months ago) by pcarns
Branch: bmi-experimental-branch
Changes since 1.101.2.1: +7 -66 lines
Diff to previous 1.101.2.1 to branch point 1.101
simplifying redundant methods a little further

Revision 1.101.2.1 / (view) - annotate - [select for diffs] , Sun Jul 19 14:50:23 2009 UTC (2 years, 9 months ago) by pcarns
Branch: bmi-experimental-branch
Changes since 1.101: +6 -6 lines
Diff to previous 1.101
Drop non-list versions of send, recv, and sendunexpected from the method api
(but leave in the BMI api for now).  Only implemented for tcp for now, need
to update other methods.

Revision 1.100.22.1 / (view) - annotate - [select for diffs] , Thu Jul 9 16:40:47 2009 UTC (2 years, 10 months ago) by walt
Branch: Orange-Merge1
Changes since 1.100: +91 -0 lines
Diff to previous 1.100 to next main 1.101
Merged changes in Blue branch into Orange branch

Revision 1.100.6.3 / (view) - annotate - [select for diffs] , Tue Jun 16 16:01:18 2009 UTC (2 years, 11 months ago) by sson
Branch: as-branch
Changes since 1.100.6.2: +0 -2 lines
Diff to previous 1.100.6.2 to branch point 1.100 to next main 1.101
Added more gossip messages.

Revision 1.100.6.2 / (view) - annotate - [select for diffs] , Fri Jun 12 19:10:47 2009 UTC (2 years, 11 months ago) by sson
Branch: as-branch
Changes since 1.100.6.1: +2 -4 lines
Diff to previous 1.100.6.1 to branch point 1.100
Revised the allreduce.sm and other related codes accordingly.

Revision 1.101 / (view) - annotate - [select for diffs] , Wed Jun 10 16:07:48 2009 UTC (2 years, 11 months ago) by harms
Branch: MAIN
CVS Tags: pfsck-branch-point, pfsck-branch, bmi-experimental-branch-point
Branch point for: bmi-experimental-branch
Changes since 1.100: +91 -0 lines
Diff to previous 1.100
Changed bmi-tcp so that an accept failure due to no resources available, that no error is propogarted so the BMI thread doesn't terminate. The accept failure for the no resource condition will also signal BMI to drop all addresses that have a resource count of zero, which may free resources to let future accepts to complete.

Revision 1.100.6.1 / (view) - annotate - [select for diffs] , Mon Jun 8 21:49:30 2009 UTC (2 years, 11 months ago) by sson
Branch: as-branch
Changes since 1.100: +6 -2 lines
Diff to previous 1.100
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.100 / (view) - annotate - [select for diffs] , Tue Jan 13 18:09:59 2009 UTC (3 years, 4 months ago) by slang
Branch: MAIN
CVS Tags: tcp-peer-comm-branch, solaris-point, solaris-branch, sa-branch, pvfs-2-8-point, pvfs-2-8-1, pvfs-2-8-0, as-point, aattrs-branch-point, aattrs-branch, Orange-mtmoore, Orange-Root, Orange-FailOver-Becky, Orange-Elaine-Branch, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH
Branch point for: pvfs-2-8-branch, as-branch, Orange-Merge1, Orange-Branch
Changes since 1.99: +23 -0 lines
Diff to previous 1.99
Added bmi initialize ref count for Nawab.

Revision 1.99 / (view) - annotate - [select for diffs] , Tue Dec 9 22:31:59 2008 UTC (3 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.98: +0 -1 lines
Diff to previous 1.98
unused header inclusion

Revision 1.98 / (view) - annotate - [select for diffs] , Tue Dec 9 22:30:19 2008 UTC (3 years, 5 months ago) by pcarns
Branch: MAIN
Changes since 1.97: +0 -6 lines
Diff to previous 1.97
How did this stuff sneak back in?  Remove unecessary memory alignment stuff
from bmi.c and flowproto-multiqueue.c

Revision 1.97 / (view) - annotate - [select for diffs] , Thu Nov 20 01:16:54 2008 UTC (3 years, 5 months ago) by slang
Branch: MAIN
Changes since 1.96: +21 -12 lines
Diff to previous 1.96
merging hints/events code into trunk.

Revision 1.96 / (view) - annotate - [select for diffs] , Wed Nov 19 19:00:13 2008 UTC (3 years, 5 months ago) by slang
Branch: MAIN
Changes since 1.95: +22 -21 lines
Diff to previous 1.95
bmi changes to allow separate bmi packaging

Revision 1.95 / (view) - annotate - [select for diffs] , Wed Nov 12 17:08:49 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.94: +0 -3 lines
Diff to previous 1.94
Move aligned allocation call to bmi-tcp.  Remove padding stuff from flow.

Revision 1.90.10.3 / (view) - annotate - [select for diffs] , Tue Nov 11 23:29:32 2008 UTC (3 years, 6 months ago) by slang
Branch: he-branch
Changes since 1.90.10.2: +7 -0 lines
Diff to previous 1.90.10.2 to branch point 1.90 to next main 1.91
reverse merge of direct IO changes to he-branch.

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

Revision 1.90.10.2 / (view) - annotate - [select for diffs] , Tue Nov 11 19:10:03 2008 UTC (3 years, 6 months ago) by slang
Branch: he-branch
Changes since 1.90.10.1: +22 -0 lines
Diff to previous 1.90.10.1 to branch point 1.90
reverse merge from HEAD.

Revision 1.90.16.3 / (view) - annotate - [select for diffs] , Mon Nov 10 20:44:26 2008 UTC (3 years, 6 months ago) by slang
Branch: directio-branch
Changes since 1.90.16.2: +6 -0 lines
Diff to previous 1.90.16.2 to branch point 1.90 to next main 1.91
reverse merge from HEAD to directio branch

Revision 1.93 / (view) - annotate - [select for diffs] , Wed Oct 8 18:38:27 2008 UTC (3 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: before-dio-merge, after-he-reverse-merge
Changes since 1.92: +6 -0 lines
Diff to previous 1.92
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.90.16.2 / (view) - annotate - [select for diffs] , Tue Sep 9 20:22:14 2008 UTC (3 years, 8 months ago) by slang
Branch: directio-branch
Changes since 1.90.16.1: +16 -0 lines
Diff to previous 1.90.16.1 to branch point 1.90
reverse merge of changes to HEAD since branch.  Includes small file changes.

Revision 1.90.6.1 / (view) - annotate - [select for diffs] , Thu Aug 7 16:30:17 2008 UTC (3 years, 9 months ago) by pcarns
Branch: small-file-branch
Changes since 1.90: +16 -0 lines
Diff to previous 1.90 to next main 1.91
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.90.16.1 / (view) - annotate - [select for diffs] , Tue Aug 5 15:07:50 2008 UTC (3 years, 9 months ago) by slang
Branch: directio-branch
Changes since 1.90: +7 -0 lines
Diff to previous 1.90
fixes to get alignment right and an attempt at aligning unaligned accesses

Revision 1.92 / (view) - annotate - [select for diffs] , Tue Jul 29 15:54:21 2008 UTC (3 years, 9 months ago) by pcarns
Branch: MAIN
CVS Tags: small-file-branch-point4
Changes since 1.91: +14 -0 lines
Diff to previous 1.91
Make sure that BMI initializes id generator before using.  The
id_gen_safe_initialize() is safe to call multiple times with matching
finalize calls.

This fixes server crash on startup with new BMI changes.

Revision 1.91 / (view) - annotate - [select for diffs] , Mon Jul 28 17:43:08 2008 UTC (3 years, 9 months ago) by pcarns
Branch: MAIN
Changes since 1.90: +2 -0 lines
Diff to previous 1.90
experimental fixes to some bmi address mgmt performance problems:
- Search by addr now uses existing id_gen_t field rather than scanning
  linked list.  Switched to id_gen_safe* to remain safe in case we search
  for an addr that has been destroyed.
- Search by method addr now uses a back pointer to parent addr structure rather
  than scanning linked list.

Revision 1.74.4.1 / (view) - annotate - [select for diffs] , Mon Jul 21 18:19:59 2008 UTC (3 years, 9 months ago) by aching
Branch: locking-branch
Changes since 1.74: +302 -111 lines
Diff to previous 1.74 to next main 1.75
Reverse merged and ported to HEAD.

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

Revision 1.90 / (view) - annotate - [select for diffs] , Wed Nov 7 16:43:59 2007 UTC (4 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: sumit-branch, small-file-branch-point3, small-file-branch-point2, small-file-branch-point, rr-txn, rongrong, pvfs-2-7-branch-point, pvfs-2-7-branch, pvfs-2-7-1, pvfs-2-7-0, merge_MERGE_FROM_HEAD, merge_HEAD_NEW_FEATURE_ADD4, merge_HEAD_NEW_FEATURE_ADD3, merge_HEAD_NEW_FEATURE_ADD2, merge_HEAD_NEW_FEATURE_ADD, he-branch-point, fuse-support, from_MERGE_FROM_HEAD, from_HEAD_NEW_FEATURE_ADD3, from_HEAD_NEW_FEATURE_ADD2, directio-point, cu-sandbox-branch-point, cu-sandbox-branch, branch-rongrong, Root_cu-security-branch
Branch point for: small-file-branch, he-branch, directio-branch, cu-security-branch
Changes since 1.89: +2 -2 lines
Diff to previous 1.89
fix bad commit with endpoint parsing

Revision 1.89 / (view) - annotate - [select for diffs] , Tue Nov 6 23:08:33 2007 UTC (4 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.88: +47 -48 lines
Diff to previous 1.88
bmi cleanups.

Revision 1.88 / (view) - annotate - [select for diffs] , Sat Oct 20 15:40:13 2007 UTC (4 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: mgmt-branch-point
Changes since 1.87: +101 -35 lines
Diff to previous 1.87
commit of Phil's patches for the halloween bug fixes.  See the pvfs2-dev for details.

Revision 1.75.10.3 / (view) - annotate - [select for diffs] , Tue Oct 9 22:01:37 2007 UTC (4 years, 7 months ago) by slang
Branch: pvfs-2-6-branch
Changes since 1.75.10.2: +47 -6 lines
Diff to previous 1.75.10.2 to branch point 1.75 to next main 1.76
merge halloween bug fixes to 2.6 branch.

Revision 1.87 / (view) - annotate - [select for diffs] , Tue Oct 9 21:58:29 2007 UTC (4 years, 7 months ago) by slang
Branch: MAIN
Changes since 1.86: +47 -6 lines
Diff to previous 1.86
my fix for the halloween bug.

Revision 1.86 / (view) - annotate - [select for diffs] , Fri Aug 17 19:31:19 2007 UTC (4 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.85: +4 -8 lines
Diff to previous 1.85
id_gen_safe is only needed for ids that get passed out to the user through the system interfaces.  We can use id_gen_fast for the bmi address value.

Revision 1.85 / (view) - annotate - [select for diffs] , Thu Jul 19 14:54:43 2007 UTC (4 years, 10 months ago) by pw
Branch: MAIN
CVS Tags: twod-branch-point, twod-branch
Changes since 1.84: +6 -0 lines
Diff to previous 1.84
Initial addition of portals BMI method.

Revision 1.84 / (view) - annotate - [select for diffs] , Wed Jul 18 20:35:36 2007 UTC (4 years, 10 months ago) by pw
Branch: MAIN
Changes since 1.83: +3 -0 lines
Diff to previous 1.83
Free one bit of memory on normal exit.

Revision 1.83 / (view) - annotate - [select for diffs] , Fri Jul 6 03:25:59 2007 UTC (4 years, 10 months ago) by slang
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82
fix warning

Revision 1.82 / (view) - annotate - [select for diffs] , Fri Jun 1 20:18:55 2007 UTC (4 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: kunkel-migration-hint-branch-point-2007-06-17
Changes since 1.81: +4 -0 lines
Diff to previous 1.81
fix id_gen_safe static allocation leakages.  Note that the job interface (to return op ids through the system interface) is really the only user of the id_gen_safe code.  The bmi layers call it as well, but only from _test and _testsome, which aren't ever used at presnet in PVFS.

Also increase the number of buckets in the id_gen_safe hashable.  67 gives a loading factor of about 50...we're probably going to want to allow more operations in-progress than that in todays world.

Revision 1.75.6.1 / (view) - annotate - [select for diffs] , Wed May 23 20:48:33 2007 UTC (4 years, 11 months ago) by kunkel
Branch: pvfs2-kunkel-tas-branch
Changes since 1.75: +113 -37 lines
Diff to previous 1.75 to next main 1.76
Merge HEAD changes to TAS-branch.

Revision 1.81 / (view) - annotate - [select for diffs] , Tue May 1 16:30:58 2007 UTC (5 years ago) by slang
Branch: MAIN
CVS Tags: kunkel-tas-branch-2007-05-23
Changes since 1.80: +61 -7 lines
Diff to previous 1.80
fixes to let bmi methods only get the listen addr they care about.

Revision 1.70.4.3 / (view) - annotate - [select for diffs] , Wed Apr 11 22:50:16 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.70.4.2: +52 -30 lines
Diff to previous 1.70.4.2 to branch point 1.70 to next main 1.71
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.75.10.2 / (view) - annotate - [select for diffs] , Thu Apr 5 15:49:40 2007 UTC (5 years, 1 month ago) by slang
Branch: pvfs-2-6-branch
CVS Tags: pvfs-2-6-3-tag3
Changes since 1.75.10.1: +1 -0 lines
Diff to previous 1.75.10.1 to branch point 1.75
merge recent fixes from HEAD

Revision 1.80 / (view) - annotate - [select for diffs] , Mon Mar 26 18:26:35 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: pvfs-2-6-3-tag2
Changes since 1.79: +1 -0 lines
Diff to previous 1.79
[phil]: This patch corrects a variety of error code problems.

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

Revision 1.73.4.1 / (view) - annotate - [select for diffs] , Sat Feb 17 11:17:03 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.73: +129 -30 lines
Diff to previous 1.73 to next main 1.74
Update migration branch to current CVS version

Revision 1.73.2.3 / (view) - annotate - [select for diffs] , Sat Feb 17 10:39:53 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.73.2.2: +6 -0 lines
Diff to previous 1.73.2.2 to branch point 1.73 to next main 1.74
Sync hint-branch to current CVS version

Revision 1.79 / (view) - annotate - [select for diffs] , Tue Feb 13 18:39:37 2007 UTC (5 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: kunkel-migration-hint-branch-point-2007-03-15, kunkel-hint-branch-point-2007-02-17
Changes since 1.78: +6 -0 lines
Diff to previous 1.78
Initial commit of BMI MX implementation provided by Scott and Myricom.  Thanks Scott!

Revision 1.73.2.2 / (view) - annotate - [select for diffs] , Sat Jan 13 10:12:52 2007 UTC (5 years, 4 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.73.2.1: +45 -30 lines
Diff to previous 1.73.2.1 to branch point 1.73
Synchronization with HEAD

Revision 1.78 / (view) - annotate - [select for diffs] , Sat Dec 9 16:28:24 2006 UTC (5 years, 5 months ago) by pw
Branch: MAIN
Changes since 1.77: +7 -1 lines
Diff to previous 1.77
explain a bit more what the bmi method_addr_reg callback is for

Revision 1.77 / (view) - annotate - [select for diffs] , Thu Dec 7 21:47:46 2006 UTC (5 years, 5 months ago) by pw
Branch: MAIN
Changes since 1.76: +37 -29 lines
Diff to previous 1.76
* ib: cache explict BMI_memalloc registrations; huge latency improvement
* bmi: avoid gettimeofday() to determine poll vs block for multi-method
    scenario
* ib: rely on bmi to make poll vs block decision
* ib: only check for new connections and async events during blocking periods

Revision 1.75.10.1 / (view) - annotate - [select for diffs] , Wed Dec 6 00:10:56 2006 UTC (5 years, 5 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.75: +1 -0 lines
Diff to previous 1.75
merge pw's fixes from HEAD that quiet warnings in non pthread scenario and include some headers that get missed otherwise.  Also fix some warnings that crept in.

Revision 1.76 / (view) - annotate - [select for diffs] , Tue Dec 5 22:00:11 2006 UTC (5 years, 5 months ago) by pw
Branch: MAIN
Changes since 1.75: +1 -0 lines
Diff to previous 1.75
include some headers explicitly that are pulled by pthread only in the posix locking case

Revision 1.70.4.2 / (view) - annotate - [select for diffs] , Thu Oct 19 22:16:54 2006 UTC (5 years, 6 months ago) by slang
Branch: WALT3
Changes since 1.70.4.1: +1 -1 lines
Diff to previous 1.70.4.1 to branch point 1.70
reverse merge of HEAD to WALT3 branch.

Revision 1.73.2.1 / (view) - annotate - [select for diffs] , Mon Sep 25 12:40:22 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.73: +78 -0 lines
Diff to previous 1.73
backmerging of HEAD to branch...

Revision 1.70.4.1 / (view) - annotate - [select for diffs] , Mon Sep 18 15:05:11 2006 UTC (5 years, 7 months ago) by vilayann
Branch: WALT3
Changes since 1.70: +148 -12 lines
Diff to previous 1.70
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

Revision 1.75 / (view) - annotate - [select for diffs] , Sat Sep 16 21:46:44 2006 UTC (5 years, 8 months ago) by pw
Branch: MAIN
CVS Tags: tau-sandbox-point, tau-sandbox, pvfs-2-6-point4, pvfs-2-6-point3, pvfs-2-6-point2, pvfs-2-6-point, pvfs-2-6-0, kunkel-hint-branch-point-26, 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.74: +1 -1 lines
Diff to previous 1.74
trivial const fix

Revision 1.68.8.4 / (view) - annotate - [select for diffs] , Tue Sep 12 05:10:18 2006 UTC (5 years, 8 months ago) by vilayann
Branch: posix-extensions-branch
Changes since 1.68.8.3: +78 -0 lines
Diff to previous 1.68.8.3 to branch point 1.68 to next main 1.69
Merge from HEAD to posix-extensions-branch...
This should facilitate merging the posix branch to HEAD...

Revision 1.74 / (view) - annotate - [select for diffs] , Mon Sep 11 20:22:02 2006 UTC (5 years, 8 months ago) by vilayann
Branch: MAIN
CVS Tags: version-lock-branch, version-lock-actual-branch, posix-extensions-point7
Branch point for: locking-branch
Changes since 1.73: +78 -0 lines
Diff to previous 1.73
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.68.8.3 / (view) - annotate - [select for diffs] , Sun Sep 3 17:43:57 2006 UTC (5 years, 8 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5
Changes since 1.68.8.2: +67 -20 lines
Diff to previous 1.68.8.2 to branch point 1.68
Reverse merges from HEAD..

Revision 1.71.2.4 / (view) - annotate - [select for diffs] , Tue Aug 29 10:41:16 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.71.2.3: +32 -0 lines
Diff to previous 1.71.2.3 to branch point 1.71 to next main 1.72
Backmerge with HEAD

Revision 1.73 / (view) - annotate - [select for diffs] , Tue Aug 22 15:41:14 2006 UTC (5 years, 8 months ago) by vilayann
Branch: MAIN
CVS Tags: threaded-aio-point, threaded-aio-branch, posix-extensions-point6, kunkel-branches-point, kunkel-alternativeIO-branch
Branch point for: kunkel-migration-branch, kunkel-hint-branch
Changes since 1.72: +32 -0 lines
Diff to previous 1.72
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.71.2.3 / (view) - annotate - [select for diffs] , Fri Aug 18 05:12:04 2006 UTC (5 years, 9 months ago) by slang
Branch: kunkel-branch
Changes since 1.71.2.2: +35 -20 lines
Diff to previous 1.71.2.2 to branch point 1.71
reverse merge from trunk.  working for now.

Revision 1.72 / (view) - annotate - [select for diffs] , Fri Aug 11 19:18:05 2006 UTC (5 years, 9 months ago) by slang
Branch: MAIN
Changes since 1.71: +35 -20 lines
Diff to previous 1.71
[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.68.8.2 / (view) - annotate - [select for diffs] , Wed Aug 9 20:17:39 2006 UTC (5 years, 9 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point3
Changes since 1.68.8.1: +11 -0 lines
Diff to previous 1.68.8.1 to branch point 1.68
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.71.2.2 / (view) - annotate - [select for diffs] , Mon Jul 24 17:20:25 2006 UTC (5 years, 9 months ago) by slang
Branch: kunkel-branch
Changes since 1.71.2.1: +693 -799 lines
Diff to previous 1.71.2.1 to branch point 1.71
revert style changes back to previous versions.

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

Revision 1.71 / (view) - annotate - [select for diffs] , Fri Jul 14 20:46:00 2006 UTC (5 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: posix-extensions-point4, before-style-changes
Branch point for: kunkel-branch
Changes since 1.70: +11 -0 lines
Diff to previous 1.70
[pete] add a connection close set_info option to bmi-tcp so that we can reset the buffer sizes for the connection to the mountpoint server.
[slang] set the defaults for the buffer sizes to 0 in the config file so they
don't get set on new connections unless the config file requests it.

Revision 1.68.10.1 / (view) - annotate - [select for diffs] , Wed Jun 7 19:27:09 2006 UTC (5 years, 11 months ago) by vilayann
Branch: lockd-branch
Changes since 1.68: +4 -16 lines
Diff to previous 1.68 to next main 1.69
Reverse merge from trunk to lockd-branch...

Revision 1.68.8.1 / (view) - annotate - [select for diffs] , Wed Jun 7 03:20:45 2006 UTC (5 years, 11 months ago) by slang
Branch: posix-extensions-branch
Changes since 1.68: +4 -16 lines
Diff to previous 1.68
reverse merge of branch

Revision 1.68.12.1 / (view) - annotate - [select for diffs] , Thu Jun 1 21:29:22 2006 UTC (5 years, 11 months ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.68: +4 -16 lines
Diff to previous 1.68 to next main 1.69
reverse merge of trunk to branch

Revision 1.70 / (view) - annotate - [select for diffs] , Sat May 27 23:48:32 2006 UTC (5 years, 11 months ago) by pw
Branch: MAIN
CVS Tags: pvfs2-1_5_1_for_bgl3, pvfs2-1_5_1_for_bgl2, pvfs2-1_5_1_for_bgl, pvfs2-1-5-point2, pvfs2-1-5-point, pvfs2-1-5-branch, 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, posix-extensions-point2, lockd-point2
Branch point for: WALT3
Changes since 1.69: +4 -4 lines
Diff to previous 1.69
extraneous breaks; fix logic if open_context failed in some method

Revision 1.69 / (view) - annotate - [select for diffs] , Wed May 24 13:24:49 2006 UTC (5 years, 11 months ago) by vilayann
Branch: MAIN
Changes since 1.68: +0 -12 lines
Diff to previous 1.68
Fixes for the latencies noticed in BMI (by Julian) when the main thread is waiting in the poll/epoll_wait
and another thread indicates that data is ready on another socket which is not being watched.
In the poll case, the fix (suggested by pete) is to create a pipe and add the pipe fd
to the poll set being watched. Adding a socket for watch also sends a 1 byte message over the pipe.
This in turn caused the poll() thread to break out of the poll and cause it to retry with the updated poll
sock set.
For the epoll case it is perfectly safe for the thread adding the socket to the watch list to call
epoll_ctl() directly since the kernel takes care of necessary serialization for that.

Revision 1.68 / (view) - annotate - [select for diffs] , Wed Dec 14 21:50:20 2005 UTC (6 years, 5 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-4-0-point, pvfs2-1-4-0-branch, pvfs2-1-4-0, posix-extensions-point, lockd-point, dbpf-slowskip, dbpf-onekeyval-point, dbpf-onekeyval-branch, dbpf-coalesce-point, dbpf-changes-branch, dbpf-changes, before-dbpf-onekeyval
Branch point for: posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.67: +18 -0 lines
Diff to previous 1.67
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.65.2.2 / (view) - annotate - [select for diffs] , Fri Nov 11 22:19:04 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.65.2.1: +5 -9 lines
Diff to previous 1.65.2.1 to branch point 1.65 to next main 1.66
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.66.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 21:38:05 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.66: +1 -0 lines
Diff to previous 1.66 to next main 1.67
committing lld/llu fixes to 1.3.1 branch

Revision 1.67 / (view) - annotate - [select for diffs] , Fri Nov 11 21:31:03 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.66: +1 -0 lines
Diff to previous 1.66
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.66 / (view) - annotate - [select for diffs] , Thu Nov 10 01:27:02 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Branch point for: pvfs2-1-3-1-branch
Changes since 1.65: +4 -9 lines
Diff to previous 1.65
* 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.65.2.1 / (view) - annotate - [select for diffs] , Fri Nov 4 07:14:15 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.65: +18 -0 lines
Diff to previous 1.65
small I/O changes in sio branch for now

Revision 1.65 / (view) - annotate - [select for diffs] , Tue Oct 25 18:00:57 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.64: +1 -0 lines
Diff to previous 1.64
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.61.6.1 / (view) - annotate - [select for diffs] , Thu Aug 25 20:38:19 2005 UTC (6 years, 8 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.61: +35 -1 lines
Diff to previous 1.61 to next main 1.62
updates to my event changes to bring them inline with trunk

Revision 1.62.2.1 / (view) - annotate - [select for diffs] , Wed Aug 10 19:37:56 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.62: +34 -1 lines
Diff to previous 1.62 to next main 1.63
merge changes from trunk since branch point into branch.  Effectively moves the branchpoint to the latest trunk.

Revision 1.64 / (view) - annotate - [select for diffs] , Tue Aug 2 17:56:12 2005 UTC (6 years, 9 months ago) by robl
Branch: MAIN
CVS Tags: slang-reqsched-point, slang-reqsched-branch, pvfs2-1-3-0
Changes since 1.63: +33 -0 lines
Diff to previous 1.63
[pcarns]: add a new bmi method that can resolve connections from unexpected
requests into hostnames

Revision 1.63 / (view) - annotate - [select for diffs] , Mon Aug 1 20:24:56 2005 UTC (6 years, 9 months ago) by pw
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
fix debug: not a context_id, it is an op id

Revision 1.62 / (view) - annotate - [select for diffs] , Wed Jul 13 15:45:54 2005 UTC (6 years, 10 months ago) by walt
Branch: MAIN
CVS Tags: slang-attr-cache-fixups-point, pvfs2-1-2-0
Branch point for: slang-attr-cache-fixups-branch
Changes since 1.61: +1 -0 lines
Diff to previous 1.61
fixed error reporting for gethostbyname in BMI-TCP
also fixed simple omissions and errors in related code

Revision 1.61 / (view) - annotate - [select for diffs] , Tue Dec 21 17:52:18 2004 UTC (7 years, 4 months ago) by rbross
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-event-changes-point, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, pvfs2-1-1-0, WALT2, WALT1
Branch point for: slang-event-changes-branch
Changes since 1.60: +2 -0 lines
Diff to previous 1.60
more doxygen work.

Revision 1.60 / (view) - annotate - [select for diffs] , Tue Dec 21 14:54:49 2004 UTC (7 years, 4 months ago) by rbross
Branch: MAIN
Changes since 1.59: +69 -105 lines
Diff to previous 1.59
doxygen-related checkins.

Revision 1.59 / (view) - annotate - [select for diffs] , Thu Dec 2 18:10:07 2004 UTC (7 years, 5 months ago) by pw
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
label where the mysterious message comes from

Revision 1.58 / (view) - annotate - [select for diffs] , Mon Oct 11 13:49:49 2004 UTC (7 years, 7 months ago) by pw
Branch: MAIN
CVS Tags: pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0, pvfs2-0-7-0
Changes since 1.57: +129 -60 lines
Diff to previous 1.57
adaptive polling for bmi

Revision 1.57 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:39 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-5, pvfs2-0-6-4, pvfs2-0-6-3, pvfs2-0-6-2, pvfs2-0-6-1
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
- 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.56 / (view) - annotate - [select for diffs] , Thu Jul 8 16:17:09 2004 UTC (7 years, 10 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-0
Changes since 1.55: +61 -7 lines
Diff to previous 1.55
- merging in the pvfs2-nm-nb-branch with the main tree
  see ChangeLog for details, or browse the cvs history of the branch
  for full details

Revision 1.55.2.1 / (view) - annotate - [select for diffs] , Wed Jun 23 19:24:16 2004 UTC (7 years, 10 months ago) by pcarns
Branch: pvfs2-nm-nb-branch
Changes since 1.55: +61 -7 lines
Diff to previous 1.55 to next main 1.56
(branch commit): some mutex protection of the active method count in bmi, so
that runtime addition of bmi methods will work safely if a threaded job
library is also being used

Revision 1.55 / (view) - annotate - [select for diffs] , Mon May 17 21:06:51 2004 UTC (8 years ago) by pw
Branch: MAIN
CVS Tags: pvfs2-0-6-0pre1, pvfs2-0-5-1
Branch point for: pvfs2-nm-nb-branch
Changes since 1.54: +0 -3 lines
Diff to previous 1.54
fail quietly on unrecognized BMI method types in pvfs2tab

Revision 1.54 / (view) - annotate - [select for diffs] , Thu Apr 29 15:23:22 2004 UTC (8 years ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-5-0
Changes since 1.53: +0 -3 lines
Diff to previous 1.53
bmi_tcp now safely destroys failed address references which cannot be
reconnected

Revision 1.53 / (view) - annotate - [select for diffs] , Thu Apr 29 15:15:06 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52
bug fix to address cleanup, still can't enable because of a race condition
in bmi_tcp

Revision 1.52 / (view) - annotate - [select for diffs] , Thu Apr 29 13:59:58 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.51: +25 -0 lines
Diff to previous 1.51
- started hacking on a way to let servers release bmi resources for addresses
  that cannot be reconnected; commented out for now until I have more time to
  work on it
- also a bug fix on socket cleanup path, making sure not to call close on a
  socket that is already set to -1

Revision 1.51 / (view) - annotate - [select for diffs] , Wed Apr 28 23:21:29 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50
removed bogus comment

Revision 1.50 / (view) - annotate - [select for diffs] , Wed Apr 28 23:14:40 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.49: +15 -8 lines
Diff to previous 1.49
on second thought, handle reference counting at the bmi level rather than
handing it off to individual modules

Revision 1.49 / (view) - annotate - [select for diffs] , Wed Apr 28 21:10:58 2004 UTC (8 years ago) by pcarns
Branch: MAIN
Changes since 1.48: +10 -1 lines
Diff to previous 1.48
added bmi hint to reference count addresses; not doing anything with it yet

Revision 1.48 / (view) - annotate - [select for diffs] , Mon Apr 26 17:58:34 2004 UTC (8 years ago) by neill
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47
- make all of bmi use the id-safe-register methods instead of the fast ones
  to disassociate the ids from the data

Revision 1.47 / (view) - annotate - [select for diffs] , Wed Mar 24 00:33:22 2004 UTC (8 years, 1 month ago) by robl
Branch: MAIN
CVS Tags: pvfs2-0-1-3, pvfs2-0-1-2
Changes since 1.46: +2 -1 lines
Diff to previous 1.46
make old c compilers happy

Revision 1.46 / (view) - annotate - [select for diffs] , Wed Mar 24 00:03:11 2004 UTC (8 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.45: +200 -192 lines
Diff to previous 1.45
initialize needed methods dynamically, not at startup

Revision 1.45 / (view) - annotate - [select for diffs] , Tue Mar 23 20:46:22 2004 UTC (8 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.44: +13 -24 lines
Diff to previous 1.44
fix null pointer in rarely-used multi-method testsome

Revision 1.44 / (view) - annotate - [select for diffs] , Fri Mar 19 15:59:23 2004 UTC (8 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.43: +138 -235 lines
Diff to previous 1.43
- consolidate the string split functions in flow/bmi by adding a new
  str util function that does what they did
- some cleanups

Revision 1.43 / (view) - annotate - [select for diffs] , Thu Mar 11 18:37:02 2004 UTC (8 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.42: +51 -21 lines
Diff to previous 1.42
reapply earlier updates to allow BMI to initialize all modules by default
if none are explicitly listed by caller

Revision 1.42 / (view) - annotate - [select for diffs] , Tue Mar 9 18:31:09 2004 UTC (8 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41
- better error translation function (doesn't assume -errno values)
- gm error translation started

Revision 1.41 / (view) - annotate - [select for diffs] , Tue Mar 9 17:30:04 2004 UTC (8 years, 2 months ago) by neill
Branch: MAIN
Changes since 1.40: +127 -87 lines
Diff to previous 1.40
- cleanup the error codes in bmi by translating them and making them
  more pvfs friendly.  this only fixes the generic bmi and bmi-tcp parts,
  as the other modules will need some similar translation
- bug fix that will not add an invalid socket if detected

Revision 1.40 / (view) - annotate - [select for diffs] , Tue Mar 9 05:11:06 2004 UTC (8 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.39: +50 -20 lines
Diff to previous 1.39
give BMI the optional ability to initialize all compiled in modules at once

Revision 1.39 / (view) - annotate - [select for diffs] , Mon Feb 16 21:35:28 2004 UTC (8 years, 3 months ago) by rbross
Branch: MAIN
CVS Tags: pvfs2-0-1-1, pvfs2-0-1-0
Changes since 1.38: +12 -12 lines
Diff to previous 1.38
Move from bmi_addr_t to PVFS_BMI_addr_t for consistency.

Revision 1.38 / (view) - annotate - [select for diffs] , Mon Feb 16 16:23:44 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.37: +8 -0 lines
Diff to previous 1.37
here comes more bmi debugging output

Revision 1.37 / (view) - annotate - [select for diffs] , Sat Feb 14 19:45:12 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.36: +2 -7 lines
Diff to previous 1.36
consistent BMI assertions

Revision 1.36 / (view) - annotate - [select for diffs] , Thu Feb 12 22:30:38 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35
tightening the bmi_tcp error handling a bit, still needs work

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

Revision 1.34 / (view) - annotate - [select for diffs] , Fri Jan 30 20:05:00 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
demoted some gossip_lerr messages to gossip_err

Revision 1.33 / (view) - annotate - [select for diffs] , Wed Jan 21 01:34:56 2004 UTC (8 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.32: +35 -0 lines
Diff to previous 1.32
hooks to start tinkering with a cancel operation function in BMI

Revision 1.32 / (view) - annotate - [select for diffs] , Tue Dec 9 19:24:39 2003 UTC (8 years, 5 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-0-8, pvfs2-0-0-7
Changes since 1.31: +48 -103 lines
Diff to previous 1.31
step one of some lock reorganization- get rid of "one big mutex" that
serializes all BMI calls, and put burden of thread safety on individual
modules.  for now this means that each module has its own big mutex to
serialize things, but this can be optimized on a per module basis later.

this is a necessary step towards making pvfs2 work under nptl; the fact that
we hold mutex locks for too long seems to exacerbate starvation problems
in that environment...

Revision 1.31 / (view) - annotate - [select for diffs] , Wed Sep 24 15:34:17 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-dbpf-attr-cache-branch, pvfs2-0-0-6, pvfs2-0-0-5, pvfs2-0-0-4, pvfs2-0-0-3
Changes since 1.30: +2 -1 lines
Diff to previous 1.30
added some more descriptive printing in cases in which BMI (and in particular,
bmi_gm) can't resolve a given address string

Revision 1.30 / (view) - annotate - [select for diffs] , Tue Sep 16 12:30:00 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.29: +29 -0 lines
Diff to previous 1.29
added a simple reverse lookup function

Revision 1.29 / (view) - annotate - [select for diffs] , Wed Sep 10 15:19:40 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.28: +5 -0 lines
Diff to previous 1.28
moved BMI addr length limit to somewhere globally accessable (although
it should probably reside somewhere else long term?) and made BMI
enforce it

Revision 1.28 / (view) - annotate - [select for diffs] , Wed Aug 27 11:34:34 2003 UTC (8 years, 8 months ago) by pw
Branch: MAIN
CVS Tags: pvfs2-0-0-2
Changes since 1.27: +8 -8 lines
Diff to previous 1.27
Change BMI send functions to accept const buffer pointers.
    Change BMI list functions to promise not to modify the lists themselves.
    Some casts in BMI methods are to stick non-const pointers in const pointer
    storage to permit the use of generic functions for both send and recv.

Revision 1.27 / (view) - annotate - [select for diffs] , Wed Aug 27 10:40:09 2003 UTC (8 years, 8 months ago) by pw
Branch: MAIN
Changes since 1.26: +53 -21 lines
Diff to previous 1.26
add function to determine method name from a scheme,
requires moving static methods out of init; add IB method option too

Revision 1.26 / (view) - annotate - [select for diffs] , Tue Aug 26 20:03:40 2003 UTC (8 years, 8 months ago) by pw
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
remove unnecessary +1

Revision 1.25 / (view) - annotate - [select for diffs] , Tue Aug 26 17:11:37 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.24: +1 -0 lines
Diff to previous 1.24
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.24 / (view) - annotate - [select for diffs] , Fri Jun 27 05:26:36 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-0-1
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
Renamed id_gen_t to PVFS_id_gen_t and moved it definition into pvfs2-types.h.
Also took the #include for id-generator.h out of header files and into .c
files where possible.

Revision 1.23 / (view) - annotate - [select for diffs] , Fri May 30 19:46:07 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.22: +14 -12 lines
Diff to previous 1.22
turned the "bmi_flag_t buffer_flag" variable into a named enumeration
"enum bmi_buffer_type buffer_type"

Revision 1.22 / (view) - annotate - [select for diffs] , Fri May 30 17:47:38 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.21: +8 -8 lines
Diff to previous 1.21
got rid of PVFS_flag type and bmi_flag_t.  need to come back later and
convert the buffer_flag variables in BMI to named enumerations; they are
ints for now

Revision 1.21 / (view) - annotate - [select for diffs] , Thu May 29 16:44:15 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
Consolidated some redundant types in BMI and converted to a named
enumeration.  Required changing the name of the flags passed in to
bmi_memalloc() and bmi_memfree() all over the place, unfortunately.

Revision 1.20 / (view) - annotate - [select for diffs] , Wed May 14 19:16:03 2003 UTC (9 years ago) by pcarns
Branch: MAIN
Changes since 1.19: +1 -0 lines
Diff to previous 1.19
fixed long standing segfault bug that would occur if GM initialization
failed

Revision 1.19 / (view) - annotate - [select for diffs] , Tue May 13 20:25:26 2003 UTC (9 years ago) by pcarns
Branch: MAIN
Changes since 1.18: +62 -75 lines
Diff to previous 1.18
rewrote BMI_testsome() for case in which support for more than one
method is compiled in.  Still not very clever, but much less ugly than
the original implementation.

Revision 1.18 / (view) - annotate - [select for diffs] , Thu May 8 16:29:55 2003 UTC (9 years ago) by pcarns
Branch: MAIN
Changes since 1.17: +58 -0 lines
Diff to previous 1.17
added a new debugging mask (BMI_DEBUG_OFFSETS) that dumps all of the
size and offset information about buffers passing through BMI as they
are posted

Revision 1.17 / (view) - annotate - [select for diffs] , Wed May 7 16:29:01 2003 UTC (9 years ago) by pcarns
Branch: MAIN
Changes since 1.16: +10 -0 lines
Diff to previous 1.16
added a get_info() option to BMI that can be used to retrieve a void*
pointer to the method specific address structure for a bmi address.
Could be used by a flow protocol that wants to use the same addressing
scheme as BMI.

Revision 1.16 / (view) - annotate - [select for diffs] , Tue Apr 8 00:54:48 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.15: +7 -2 lines
Diff to previous 1.15
whoops- realized that I should probably be nice and hand back a list of
completed ids in testcontext() :)

Revision 1.15 / (view) - annotate - [select for diffs] , Mon Apr 7 23:45:55 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.14: +83 -0 lines
Diff to previous 1.14
implemented testcontext() at the BMI multiplexer level; untested; no
module level support yet

Revision 1.14 / (view) - annotate - [select for diffs] , Mon Apr 7 23:00:01 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.13: +68 -6 lines
Diff to previous 1.13
contexts are now handled correctly at the bmi multiplexing level; still
not doing anything with them at the modules level

Revision 1.13 / (view) - annotate - [select for diffs] , Mon Apr 7 22:19:39 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.12: +14 -8 lines
Diff to previous 1.12
started putting hooks in place to pass context information down to the
module level in BMI

Revision 1.12 / (view) - annotate - [select for diffs] , Mon Apr 7 21:04:39 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.11: +45 -9 lines
Diff to previous 1.11
modified existing BMI API functions to support the concept of
"contexts" and added hooks to create and destroy them.  This is just a
placeholder, contexts aren't actually implemented yet.

Revision 1.11 / (view) - annotate - [select for diffs] , Thu Apr 3 17:01:51 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.10: +4 -0 lines
Diff to previous 1.10
#if 0'd some awful code and replaced it with an ENOSYS (should force me
to reimplement it when needed, I hope- I don't want to work on it right
now, but I also don't want to forget about it later :)

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Apr 2 21:08:00 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.8: +1046 -895 lines
Diff to previous 1.8
modified all of the BMI code to fall in line with the code formatting
style that we want to use now.  Used the pvfs2-mangle-in-place-80col.sh
script (teamed up with a find -exec command) to do so.

Revision 1.10 / (view) - annotate - [select for diffs] , Wed Apr 2 17:20:27 2003 UTC (9 years, 1 month ago) by rbross
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
vim formatting line fixes, using pvfs2fixbadformat.pl.

Revision 1.8 / (view) - annotate - [select for diffs] , Tue Mar 25 20:08:31 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.7: +2 -8 lines
Diff to previous 1.7
moved reference-list code from llist to quicklist (this was the last
place in the I/O path using llist)

Revision 1.7 / (view) - annotate - [select for diffs] , Wed Mar 19 01:03:10 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.6: +20 -0 lines
Diff to previous 1.6
made all testXXX functions return 1 if anything completes

Revision 1.6 / (view) - annotate - [select for diffs] , Tue Mar 11 14:11:16 2003 UTC (9 years, 2 months ago) by robl
Branch: MAIN
CVS Tags: snapshot-osc-03-11-2003, snapshot-amerson-3-18-2003
Changes since 1.5: +9 -0 lines
Diff to previous 1.5
free 'requested_method' array after using it

Revision 1.5 / (view) - annotate - [select for diffs] , Thu Feb 27 01:40:25 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
renamed struct unexpected_info to struct BMI_unexpected_info, so that
it is more consistent with the rest of the API

Revision 1.4 / (view) - annotate - [select for diffs] , Wed Feb 26 16:50:56 2003 UTC (9 years, 2 months ago) by pcarns
Branch: MAIN
Changes since 1.3: +22 -22 lines
Diff to previous 1.3
fixed nomenclature in BMI api, so that timeout is now
max_idle_timeout.  At the time of this checkin, still need to
update modules accordingly.

Revision 1.3 / (view) - annotate - [select for diffs] , Wed Feb 12 18:10:35 2003 UTC (9 years, 3 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-osc-02-19-2003
Changes since 1.2: +39 -214 lines
Diff to previous 1.2
big changes to various I/O API's- there are no longer any "wait"
functions in the BMI, flow, or request scheduling APIs.  In the
request scheduler case, they have simply been discarded.  In BMI
and flows, the testXXX() functions have been augmented with a
timeout argument so that they may perform the role of the
former waitXXX() functions.

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Jan 24 21:52:49 2003 UTC (9 years, 3 months ago) by pcarns
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
renamed a bunch of files in the bmi subdirectory to use dashes instead
of underscores

Revision 1.1 / (view) - annotate - [select for diffs] , Fri Jan 10 06:26:24 2003 UTC (9 years, 4 months ago) by pcarns
Branch: MAIN
merged in bmi code

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