Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

MAIN 1.99 1.90 1.75 1.74 1.73 1.71 1.70 1.68 1.66 1.65 1.62 1.61 1.55 1.1 directio-branch 1.90.16.3 1.90.16.1 he-branch 1.90.10.3 1.90.10.1 small-file-branch 1.90.6.1 pvfs-2-6-branch 1.75.10.3 1.75.10.1 pvfs2-kunkel-tas-branch 1.75.6.1 locking-branch 1.74.4.1 kunkel-hint-branch 1.73.2.3 1.73.2.1 kunkel-migration-branch 1.73.4.1 kunkel-branch 1.71.2.4 1.71.2.1 WALT3 1.70.4.3 1.70.4.1 dbpf-coalesce-branch 1.68.12.1 lockd-branch 1.68.10.1 posix-extensions-branch 1.68.8.4 1.68.8.1 pvfs2-1-3-1-branch 1.66.2.1 slang-sio-branch 1.65.2.2 1.65.2.1 slang-attr-cache-fixups-branch 1.62.2.1 slang-event-changes-branch 1.61.6.1 pvfs2-nm-nb-branch 1.55.2.1

latest revision Branch MAIN

1.99 annotated / raw | Diffs: previous, other | Lines: 2206 ( +0, -1 )

Created: 2008-12-09 17:31:59 -0500 (28 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20081209223159

unused header inclusion

1.98 annotated / raw | Diffs: previous, other | Lines: 2207 ( +0, -6 )

Created: 2008-12-09 17:30:19 -0500 (28 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20081209223019

How did this stuff sneak back in?  Remove unecessary memory alignment stuff
from bmi.c and flowproto-multiqueue.c

1.97 annotated / raw | Diffs: previous, other | Lines: 2213 ( +21, -12 )

Created: 2008-11-19 20:16:54 -0500 (48 days ago) | Author: slang | Changeset: MAIN:slang:20081120011639

merging hints/events code into trunk.

1.96 annotated / raw | Diffs: previous, other | Lines: 2204 ( +22, -21 )

Created: 2008-11-19 14:00:13 -0500 (48 days ago) | Author: slang | Changeset: MAIN:slang:20081119190003

bmi changes to allow separate bmi packaging

1.95 annotated / raw | Diffs: previous, other | Lines: 2203 ( +0, -3 )

Created: 2008-11-12 12:08:49 -0500 (55 days ago) | Author: slang | Changeset: MAIN:slang:20081112170849

Move aligned allocation call to bmi-tcp.  Remove padding stuff from flow.

1.94 annotated / raw | Diffs: previous, other | Lines: 2206 ( +7, -0 )

Created: 2008-11-11 14:25:52 -0500 (56 days ago) | Author: slang | Changeset: MAIN:slang:20081111192540

merge of direct IO code to PVFS HEAD.

1.93 annotated / raw | Diffs: previous, other | Lines: 2199 ( +6, -0 )

Created: 2008-10-08 14:38:27 -0400 (2 months 29 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20081008183827

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.

Tags: before-dio-merge after-he-reverse-merge

1.92 annotated / raw | Diffs: previous, other | Lines: 2193 ( +14, -0 )

Created: 2008-07-29 11:54:21 -0400 (5 months 8 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20080729155421

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.

Tags: small-file-branch-point4

1.91 annotated / raw | Diffs: previous, other | Lines: 2179 ( +2, -0 )

Created: 2008-07-28 13:43:08 -0400 (5 months 9 days ago) | Author: pcarns | Changeset: MAIN:pcarns:20080728174308

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.

1.90 annotated / raw | Diffs: previous, other | Lines: 2177 ( +2, -2 )

Created: 2007-11-07 11:43:59 -0500 (13 months ago) | Author: slang | Changeset: MAIN:slang:20071107164359

fix bad commit with endpoint parsing

Branch point for: cu-sandbox-branch cu-security-branch directio-branch fuse-support he-branch pvfs-2-7-0 pvfs-2-7-branch pvfs2-2-7-branch rongrong small-file-branch

Tags: pvfs-2-7-branch-point pvfs-2-7-branch$BP pvfs-2-7-0 cu-sandbox-branch-point cu-sandbox-branch$BP small-file-branch-point small-file-branch$BP Root_cu-security-branch cu-security-branch$BP small-file-branch-point2 he-branch$BP he-branch-point pvfs-2-7-1 merge_HEAD_NEW_FEATURE_ADD ... more hide

1.89 annotated / raw | Diffs: previous, other | Lines: 2177 ( +47, -48 )

Created: 2007-11-06 18:08:33 -0500 (14 months ago) | Author: slang | Changeset: MAIN:slang:20071106230833

bmi cleanups.

1.88 annotated / raw | Diffs: previous, other | Lines: 2178 ( +101, -35 )

Created: 2007-10-20 11:40:13 -0400 (14 months ago) | Author: slang | Changeset: MAIN:slang:20071020154013

commit of Phil's patches for the halloween bug fixes.  See the pvfs2-dev for details.

Tags: mgmt-branch-point

1.87 annotated / raw | Diffs: previous, other | Lines: 2112 ( +47, -6 )

Created: 2007-10-09 17:58:29 -0400 (14 months ago) | Author: slang | Changeset: MAIN:slang:20071009215829

my fix for the halloween bug.

1.86 annotated / raw | Diffs: previous, other | Lines: 2071 ( +4, -8 )

Created: 2007-08-17 15:31:19 -0400 (16 months ago) | Author: slang | Changeset: MAIN:slang:20070817193119

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.

1.85 annotated / raw | Diffs: previous, other | Lines: 2075 ( +6, -0 )

Created: 2007-07-19 10:54:43 -0400 (17 months ago) | Author: pw | Changeset: MAIN:pw:20070719145441

Initial addition of portals BMI method.

Branch point for: twod-branch

Tags: twod-branch$BP twod-branch-point

1.84 annotated / raw | Diffs: previous, other | Lines: 2069 ( +3, -0 )

Created: 2007-07-18 16:35:36 -0400 (17 months ago) | Author: pw | Changeset: MAIN:pw:20070718203536

Free one bit of memory on normal exit.

1.83 annotated / raw | Diffs: previous, other | Lines: 2066 ( +1, -1 )

Created: 2007-07-05 23:25:59 -0400 (18 months ago) | Author: slang | Changeset: MAIN:slang:20070706032559

fix warning

1.82 annotated / raw | Diffs: previous, other | Lines: 2066 ( +4, -0 )

Created: 2007-06-01 16:18:55 -0400 (19 months ago) | Author: slang | Changeset: MAIN:slang:20070601201854

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.

Tags: kunkel-migration-hint-branch-point-2007-06-17

1.81 annotated / raw | Diffs: previous, other | Lines: 2062 ( +61, -7 )

Created: 2007-05-01 12:30:58 -0400 (20 months ago) | Author: slang | Changeset: MAIN:slang:20070501163058

fixes to let bmi methods only get the listen addr they care about.

Tags: kunkel-tas-branch-2007-05-23

1.80 annotated / raw | Diffs: previous, other | Lines: 2008 ( +1, -0 )

Created: 2007-03-26 13:26:35 -0500 (21 months ago) | Author: slang | Changeset: MAIN:slang:20070326182634

[phil]: This patch corrects a variety of error code problems.

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

Tags: pvfs-2-6-3-tag2

1.79 annotated / raw | Diffs: previous, other | Lines: 2007 ( +6, -0 )

Created: 2007-02-13 13:39:37 -0500 (22 months ago) | Author: slang | Changeset: MAIN:slang:20070213183932

Initial commit of BMI MX implementation provided by Scott and Myricom.  Thanks Scott!

Tags: kunkel-hint-branch-point-2007-02-17 kunkel-migration-hint-branch-point-2007-03-15

1.78 annotated / raw | Diffs: previous, other | Lines: 2001 ( +7, -1 )

Created: 2006-12-09 11:28:24 -0500 (2 years ago) | Author: pw | Changeset: MAIN:pw:20061209162824

explain a bit more what the bmi method_addr_reg callback is for

1.77 annotated / raw | Diffs: previous, other | Lines: 1995 ( +37, -29 )

Created: 2006-12-07 16:47:46 -0500 (2 years 1 month ago) | Author: pw | Changeset: MAIN:pw:20061207214746


* 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

1.76 annotated / raw | Diffs: previous, other | Lines: 1987 ( +1, -0 )

Created: 2006-12-05 17:00:11 -0500 (2 years 1 month ago) | Author: pw | Changeset: MAIN:pw:20061205220011

include some headers explicitly that are pulled by pthread only in the posix locking case

1.75 annotated / raw | Diffs: previous, other | Lines: 1986 ( +1, -1 )

Created: 2006-09-16 17:46:44 -0400 (2 years 3 months ago) | Author: pw | Changeset: MAIN:pw:20060916214644

trivial const fix

Branch point for: dbpf-methods-branch pvfs-2-6-branch pvfs2-kunkel-tas-branch tau-sandbox

Tags: dbpf-methods-point tau-sandbox$BP tau-sandbox-point pvfs-2-6-branch$BP pvfs2-kunkel-tas-branch$BP pvfs-2-6-0 pvfs-2-6-point2 pvfs-2-6-point pvfs-2-6-point3 dbpf-methods-branch$BP WALT3-point pvfs-2-6-point4 kunkel-hint-branch-point-26 WALT3-last-merged ... more hide

1.74 annotated / raw | Diffs: previous, other | Lines: 1986 ( +78, -0 )

Created: 2006-09-11 16:22:02 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060911202200

Implement root squash, read only and all squash export options. All of these are server-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.

Branch point for: locking-branch version-lock-actual-branch

Tags: version-lock-actual-branch$BP version-lock-branch posix-extensions-point7 locking-branch$BP

1.73 annotated / raw | Diffs: previous, other | Lines: 1908 ( +32, -0 )

Created: 2006-08-22 11:41:14 -0400 (2 years 4 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060822154113

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..

Branch point for: kunkel-alternativeIO-branch kunkel-hint-branch kunkel-migration-branch threaded-aio-branch

Tags: kunkel-hint-branch$BP posix-extensions-point6 threaded-aio-branch$BP kunkel-alternativeIO-branch$BP kunkel-branches-point threaded-aio-point kunkel-migration-branch$BP

1.72 annotated / raw | Diffs: previous, other | Lines: 1876 ( +35, -20 )

Created: 2006-08-11 15:18:05 -0400 (2 years 4 months ago) | Author: slang | Changeset: MAIN:slang:20060811191804

[phil]: alternative lio_listio implementation that spawns a thread and does pwrite/pread.

[phil]: bmi-socket-close: This fixes a bug in the new BMI_set_info(... BMI_TCP_CLOSE_SOCKET ...) mechanism, which is used to reconnect the socket to the initial configuration server if new socket buffer sizes are specified in the config file.  I didn't follow the code path find the exact problem, but at a high level it wasn't being thorough enough in cleaning out the old socket.  This showed up when using epoll and specifying socket buffer sizes in the server configuration- in this case the client will often fail to mount with a cryptic "not a directory" error and leave some epoll() errors in the pvfs2-client.log file.  I think a stale (or possibly reused) file descriptor was being left in the epoll fd set.  At any rate, the fix is to use a different set of functions for tearing down the entire address etc. so that it is reconnected on the next BMI addr lookup.  This path is already used by the server to discard old BMI addresses after critical errors on addresses that cannot be reconnected.  It is triggered from bmi.c without entering the bmi_tcp module, so this patch also adds a check to make sure we don't bother for non-tcp methods.

[phil]: bmi-test-overflow: One of the bmi bandwidth test programs was using types that might overflow if testing large enough transfers.  The fix is to convert to doubles and drop in several type casts to be cautious when performing the computation that was causing trouble.

[phil]: cancel-bugs: The biggest fix here is a change to the job timer code.  It was performing some pointer operations in the wrong order, which could lead to job timers failing to trigger in some cases. This would prevent some operations from ever timing out.  A secondary fix is a minor cleanup in BMI to catch potential race conditions in cancellation where a lock wasn't being held while checking to see if the target operation is complete.

[phil]: flow-post-error: This patch adds checks in the client side I/O state machine to test for failure at post time for flow operations.  This type of error is uncommon unless the flow parameters are faulty, but it should have checked anyway to be safe.

[phil]: dfile-config-check: This is a safety test.  The problem here is that there was no bounds checking for the DefaultNumDFiles option in the config file.  This made it possible to select -1 (which in PVFS1 meant "use the default number").  In PVFS2 this number gets passed verbatim to the client and would cause malloc failures and various other odd results when used. The patch just checks at parse time to make sure the value isn't negative.

[phil]: bmi-flow-logging: This patch just adds a little bit more gossip logging output to BMI and the flow protocol.  In particular, it adds tag information to messages about BMI operations, and adds pointer information to the flow protocol to help match posts and completions of flows in log files.

[phil]: server-freopen: This patch just removes duplicate calls to fdreopen(stdin/stdout/stderr) that were being performed on server startup when the server is run in the background.  The first set should be sufficient.

1.71 annotated / raw | Diffs: previous, other | Lines: 1861 ( +11, -0 )

Created: 2006-07-14 16:46:00 -0400 (2 years 5 months ago) | Author: slang | Changeset: MAIN:slang:20060714204559

[pete] add a connection close set_info option to bmi-tcp so that we can reset the buffer sizes for the connection to the mountpoint server.
[slang] set the defaults for the buffer sizes to 0 in the config file so they
don't get set on new connections unless the config file requests it.

Branch point for: kunkel-branch

Tags: kunkel-branch$BP posix-extensions-point4 before-style-changes

1.70 annotated / raw | Diffs: previous, other | Lines: 1850 ( +4, -4 )

Created: 2006-05-27 19:48:32 -0400 (2 years 7 months ago) | Author: pw | Changeset: MAIN:pw:20060527234832

extraneous breaks; fix logic if open_context failed in some method

Branch point for: WALT3 pvfs2-1-5-branch

Tags: pvfs2-1-5-1-rc3 pvfs2-1-5-1-rc2 pvfs2-1-5-1-rc1 WALT3$BP pvfs2-1_5_1_for_bgl lockd-point2 posix-extensions-point2 pvfs2-1-5-0-rc1 pvfs2-1-5-0 pvfs2-1-5-point2 pvfs2-1-5-0-rc2 pvfs2-1-5-point pvfs2-1_5_1_for_bgl2 pvfs2-1-5-branch$BP ... more hide

1.69 annotated / raw | Diffs: previous, other | Lines: 1850 ( +0, -12 )

Created: 2006-05-24 09:24:49 -0400 (2 years 7 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20060524132449

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.

1.68 annotated / raw | Diffs: previous, other | Lines: 1862 ( +18, -0 )

Created: 2005-12-14 16:50:20 -0500 (3 years ago) | Author: slang | Changeset: MAIN:slang:20051214215017

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.

Branch point for: dbpf-changes-branch dbpf-coalesce-branch dbpf-onekeyval-branch lockd-branch posix-extensions-branch pvfs2-1-4-0-branch

Tags: posix-extensions-branch$BP posix-extensions-point dbpf-changes pvfs2-1-4-0 before-dbpf-onekeyval dbpf-onekeyval-point dbpf-slowskip pvfs2-1-4-0-branch$BP dbpf-coalesce-branch$BP dbpf-onekeyval-branch$BP lockd-branch$BP pvfs2-1-4-0-point dbpf-coalesce-point dbpf-changes-branch$BP ... more hide

1.67 annotated / raw | Diffs: previous, other | Lines: 1844 ( +1, -0 )

Created: 2005-11-11 16:31:03 -0500 (3 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20051111213056

moved the llu and lld macros to an internal header so that we don't have to include pvfs2-config.h in the installed pvfs2-types.h header.

1.66 annotated / raw | Diffs: previous, other | Lines: 1843 ( +4, -9 )

Created: 2005-11-09 20:27:02 -0500 (3 years 1 month ago) | Author: slang | Changeset: MAIN:slang:20051110012652

* malloc.h is obsolete in freebsd, check for it
* No error.h in freebsd
* linux allows Lu,Lx, and Ld to be interchangeable with llu,llx, and
lld.  Other platforms (solaris, bsd) don't.  Replaced all the L*
with ll*.
* bsd doesn't have mntent.h.  use fstab.h and our own funcs.
* bsd doesn't know about ssize_t.  Use size_t instead.
* bsd doesn't have asm errnos.  Check for each of those
errno macros and if not defined define to -1
* check for db3/db.h db4/db.h header if db path is specified using
--with-db
* darwin has aio support builtin, doesn't need -lrt
* remove kernel stuff in pvfs2-types.h that sets WORDSIZE.  gcc
defines __LP64__ on archs with 64bit longs so we use that instead.
* darwin's open doesn't accept O_LARGEFILE.  off_t is an int64 by
default.  define O_LARGEFILE if it hasn't been.
* need to run ranlib on darwin after libpvfs2.a gets installed to regenerate
table of contents

Branch point for: pvfs2-1-3-1-branch

Tags: pvfs2-1-3-1-branch$BP

1.65 annotated / raw | Diffs: previous, other | Lines: 1848 ( +1, -0 )

Created: 2005-10-25 14:00:57 -0400 (3 years 2 months ago) | Author: vilayann | Changeset: MAIN:vilayann:20051025180054

Attached patches implements trusted ports and networks similar 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.

Branch point for: slang-sio-branch

Tags: slang-sio-point slang-sio-branch$BP

1.64 annotated / raw | Diffs: previous, other | Lines: 1847 ( +33, -0 )

Created: 2005-08-02 13:56:12 -0400 (3 years 5 months ago) | Author: robl | Changeset: MAIN:robl:20050802175610

[pcarns]: add a new bmi method that can resolve connections from unexpected
requests into hostnames

Branch point for: slang-reqsched-branch

Tags: slang-reqsched-branch$BP slang-reqsched-point pvfs2-1-3-0

1.63 annotated / raw | Diffs: previous, other | Lines: 1814 ( +1, -1 )

Created: 2005-08-01 16:24:56 -0400 (3 years 5 months ago) | Author: pw | Changeset: MAIN:pw:20050801202456

fix debug: not a context_id, it is an op id

1.62 annotated / raw | Diffs: previous, other | Lines: 1814 ( +1, -0 )

Created: 2005-07-13 11:45:54 -0400 (3 years 5 months ago) | Author: walt | Changeset: MAIN:walt:20050713154552

fixed error reporting for gethostbyname in BMI-TCP
also fixed simple omissions and errors in related code

Branch point for: slang-attr-cache-fixups-branch

Tags: pvfs2-1-2-0 slang-attr-cache-fixups-point slang-attr-cache-fixups-branch$BP

1.61 annotated / raw | Diffs: previous, other | Lines: 1813 ( +2, -0 )

Created: 2004-12-21 12:52:18 -0500 (4 years ago) | Author: rbross | Changeset: MAIN:rbross:20041221175217

more doxygen work.

Branch point for: WALT1 WALT2 pvfs2-bugfix-39 pvfs2-bugfix-67 pvfs2-tag-bugfix-67 slang-event-changes-branch

Tags: pvfs2-1-1-0 pvfs2-snapshot-Alejandro pvfs2-tag-bugfix-67$BP pvfs2-bugfix-39$BP slang-event-changes-branch$BP WALT1$BP WALT2$BP pvfs2-bugfix-67$BP snapshot-bluegene-20050216 slang-event-changes-point

1.60 annotated / raw | Diffs: previous, other | Lines: 1811 ( +69, -105 )

Created: 2004-12-21 09:54:49 -0500 (4 years ago) | Author: rbross | Changeset: MAIN:rbross:20041221145447

doxygen-related checkins.

1.59 annotated / raw | Diffs: previous, other | Lines: 1847 ( +1, -1 )

Created: 2004-12-02 13:10:07 -0500 (4 years 1 month ago) | Author: pw | Changeset: MAIN:pw:20041202181007

label where the mysterious message comes from

1.58 annotated / raw | Diffs: previous, other | Lines: 1847 ( +129, -60 )

Created: 2004-10-11 09:49:49 -0400 (4 years 2 months ago) | Author: pw | Changeset: MAIN:pw:20041011134949

adaptive polling for bmi

Tags: pvfs2-0-9-0 pvfs2-1-0-0 pvfs2-0-7-0 pvfs2-1-0-1 pvfs2-0-8-0

1.57 annotated / raw | Diffs: previous, other | Lines: 1778 ( +1, -1 )

Created: 2004-07-28 10:32:39 -0400 (4 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20040728143227

- applied Nathan's expandtab patch (expandtab-2.patch.gz)

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

Tags: pvfs2-0-6-2 pvfs2-0-6-5 pvfs2-0-6-3 pvfs2-0-6-4 pvfs2-0-6-1

1.56 annotated / raw | Diffs: previous, other | Lines: 1778 ( +61, -7 )

Created: 2004-07-08 12:17:09 -0400 (4 years 5 months ago) | Author: neill | Changeset: MAIN:neill:20040708161703

- 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

Tags: pvfs2-0-6-0

1.55 annotated / raw | Diffs: previous, other | Lines: 1724 ( +0, -3 )

Created: 2004-05-17 17:06:51 -0400 (4 years 7 months ago) | Author: pw | Changeset: MAIN:pw:20040517210651

fail quietly on unrecognized BMI method types in pvfs2tab

Branch point for: pvfs2-nm-nb-branch

Tags: pvfs2-0-6-0pre1 pvfs2-0-5-1 pvfs2-nm-nb-branch$BP

1.54 annotated / raw | Diffs: previous, other | Lines: 1727 ( +0, -3 )

Created: 2004-04-29 11:23:22 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040429152322

bmi_tcp now safely destroys failed address references which cannot be
reconnected

Tags: pvfs2-0-5-0

1.53 annotated / raw | Diffs: previous, other | Lines: 1730 ( +3, -2 )

Created: 2004-04-29 11:15:06 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040429151506

bug fix to address cleanup, still can't enable because of a race condition
in bmi_tcp

1.52 annotated / raw | Diffs: previous, other | Lines: 1729 ( +25, -0 )

Created: 2004-04-29 09:59:58 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040429135958

- 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

1.51 annotated / raw | Diffs: previous, other | Lines: 1704 ( +1, -0 )

Created: 2004-04-28 19:21:29 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040428232129

removed bogus comment

1.50 annotated / raw | Diffs: previous, other | Lines: 1703 ( +15, -8 )

Created: 2004-04-28 19:14:40 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040428231440

on second thought, handle reference counting at the bmi level rather than
handing it off to individual modules

1.49 annotated / raw | Diffs: previous, other | Lines: 1696 ( +10, -1 )

Created: 2004-04-28 17:10:58 -0400 (4 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040428211058

added bmi hint to reference count addresses; not doing anything with it yet

1.48 annotated / raw | Diffs: previous, other | Lines: 1687 ( +3, -3 )

Created: 2004-04-26 13:58:34 -0400 (4 years 8 months ago) | Author: neill | Changeset: MAIN:neill:20040426175834

- make all of bmi use the id-safe-register methods instead of the fast ones
 to disassociate the ids from the data

1.47 annotated / raw | Diffs: previous, other | Lines: 1687 ( +2, -1 )

Created: 2004-03-23 19:33:22 -0500 (4 years 9 months ago) | Author: robl | Changeset: MAIN:robl:20040324003322

make old c compilers happy

Tags: pvfs2-0-1-3 pvfs2-0-1-2

1.46 annotated / raw | Diffs: previous, other | Lines: 1686 ( +200, -192 )

Created: 2004-03-23 19:03:11 -0500 (4 years 9 months ago) | Author: pw | Changeset: MAIN:pw:20040324000311

initialize needed methods dynamically, not at startup

1.45 annotated / raw | Diffs: previous, other | Lines: 1678 ( +13, -24 )

Created: 2004-03-23 15:46:22 -0500 (4 years 9 months ago) | Author: pw | Changeset: MAIN:pw:20040323204622

fix null pointer in rarely-used multi-method testsome

1.44 annotated / raw | Diffs: previous, other | Lines: 1689 ( +138, -235 )

Created: 2004-03-19 10:59:23 -0500 (4 years 9 months ago) | Author: neill | Changeset: MAIN:neill:20040319155919

- consolidate the string split functions in flow/bmi by adding a new
 str util function that does what they did
- some cleanups

1.43 annotated / raw | Diffs: previous, other | Lines: 1786 ( +51, -21 )

Created: 2004-03-11 13:37:02 -0500 (4 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040311183702

reapply earlier updates to allow BMI to initialize all modules by default
if none are explicitly listed by caller

1.42 annotated / raw | Diffs: previous, other | Lines: 1756 ( +3, -1 )

Created: 2004-03-09 13:31:09 -0500 (4 years 9 months ago) | Author: neill | Changeset: MAIN:neill:20040309183109

- better error translation function (doesn't assume -errno values)
- gm error translation started

1.41 annotated / raw | Diffs: previous, other | Lines: 1754 ( +127, -87 )

Created: 2004-03-09 12:30:04 -0500 (4 years 9 months ago) | Author: neill | Changeset: MAIN:neill:20040309173004

- 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

1.40 annotated / raw | Diffs: previous, other | Lines: 1714 ( +50, -20 )

Created: 2004-03-09 00:11:06 -0500 (4 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040309051106

give BMI the optional ability to initialize all compiled in modules at once

1.39 annotated / raw | Diffs: previous, other | Lines: 1684 ( +12, -12 )

Created: 2004-02-16 16:35:28 -0500 (4 years 10 months ago) | Author: rbross | Changeset: MAIN:rbross:20040216213527

Move from bmi_addr_t to PVFS_BMI_addr_t for consistency.

Tags: pvfs2-0-1-0 pvfs2-0-1-1

1.38 annotated / raw | Diffs: previous, other | Lines: 1684 ( +8, -0 )

Created: 2004-02-16 11:23:44 -0500 (4 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040216162344

here comes more bmi debugging output

1.37 annotated / raw | Diffs: previous, other | Lines: 1676 ( +2, -7 )

Created: 2004-02-14 14:45:12 -0500 (4 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040214194512

consistent BMI assertions

1.36 annotated / raw | Diffs: previous, other | Lines: 1681 ( +5, -5 )

Created: 2004-02-12 17:30:38 -0500 (4 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040212223038

tightening the bmi_tcp error handling a bit, still needs work

1.35 annotated / raw | Diffs: previous, other | Lines: 1681 ( +9, -9 )

Created: 2004-01-30 15:12:11 -0500 (4 years 11 months ago) | Author: neill | Changeset: MAIN:neill:20040130201209

- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Tags: pvfs2-0-0-9

1.34 annotated / raw | Diffs: previous, other | Lines: 1681 ( +1, -1 )

Created: 2004-01-30 15:05:00 -0500 (4 years 11 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040130200500

demoted some gossip_lerr messages to gossip_err

1.33 annotated / raw | Diffs: previous, other | Lines: 1681 ( +35, -0 )

Created: 2004-01-20 20:34:56 -0500 (4 years 11 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20040121013456

hooks to start tinkering with a cancel operation function in BMI

1.32 annotated / raw | Diffs: previous, other | Lines: 1646 ( +48, -103 )

Created: 2003-12-09 14:24:39 -0500 (5 years ago) | Author: pcarns | Changeset: MAIN:pcarns:20031209192439

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...

Tags: pvfs2-0-0-8 pvfs2-0-0-7

1.31 annotated / raw | Diffs: previous, other | Lines: 1701 ( +2, -1 )

Created: 2003-09-24 11:34:17 -0400 (5 years 3 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030924153417

added some more descriptive printing in cases in which BMI (and in particular,
bmi_gm) can't resolve a given address string

Branch point for: pvfs2-dbpf-attr-cache-branch

Tags: pvfs2-0-0-6 pvfs2-dbpf-attr-cache-branch$BP snapshot-kraken-10-16-2003 pvfs2-0-0-5 pvfs2-0-0-4 pvfs2-0-0-3 snapshot-kraken-10-16-2003-B

1.30 annotated / raw | Diffs: previous, other | Lines: 1700 ( +29, -0 )

Created: 2003-09-16 08:30:00 -0400 (5 years 3 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030916123000

added a simple reverse lookup function

1.29 annotated / raw | Diffs: previous, other | Lines: 1671 ( +5, -0 )

Created: 2003-09-10 11:19:40 -0400 (5 years 3 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030910151939

moved BMI addr length limit to somewhere globally accessable (although
it should probably reside somewhere else long term?) and made BMI
enforce it

1.28 annotated / raw | Diffs: previous, other | Lines: 1666 ( +8, -8 )

Created: 2003-08-27 07:34:34 -0400 (5 years 4 months ago) | Author: pw | Changeset: MAIN:pw:20030827113434

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.

Tags: pvfs2-0-0-2

1.27 annotated / raw | Diffs: previous, other | Lines: 1666 ( +53, -21 )

Created: 2003-08-27 06:40:09 -0400 (5 years 4 months ago) | Author: pw | Changeset: MAIN:pw:20030827104009

add function to determine method name from a scheme,
requires moving static methods out of init; add IB method option too

1.26 annotated / raw | Diffs: previous, other | Lines: 1634 ( +1, -1 )

Created: 2003-08-26 16:03:40 -0400 (5 years 4 months ago) | Author: pw | Changeset: MAIN:pw:20030826200340

remove unnecessary +1

1.25 annotated / raw | Diffs: previous, other | Lines: 1634 ( +1, -0 )

Created: 2003-08-26 13:11:37 -0400 (5 years 4 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030826171137

added a manditory server config file option (BMIModules) that lists
which bmi modules the server should initialize, also fixed a bug in
BMI's parsing of module list

1.24 annotated / raw | Diffs: previous, other | Lines: 1633 ( +1, -0 )

Created: 2003-06-27 01:26:36 -0400 (5 years 6 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030627052635

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.

Tags: pvfs2-0-0-1

1.23 annotated / raw | Diffs: previous, other | Lines: 1632 ( +14, -12 )

Created: 2003-05-30 15:46:07 -0400 (5 years 7 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030530194601

turned the "bmi_flag_t buffer_flag" variable into a named enumeration
"enum bmi_buffer_type buffer_type"

1.22 annotated / raw | Diffs: previous, other | Lines: 1630 ( +8, -8 )

Created: 2003-05-30 13:47:38 -0400 (5 years 7 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030530174729

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

1.21 annotated / raw | Diffs: previous, other | Lines: 1630 ( +2, -2 )

Created: 2003-05-29 12:44:15 -0400 (5 years 7 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030529164412

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.

1.20 annotated / raw | Diffs: previous, other | Lines: 1630 ( +1, -0 )

Created: 2003-05-14 15:16:03 -0400 (5 years 7 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030514191603

fixed long standing segfault bug that would occur if GM initialization
failed

1.19 annotated / raw | Diffs: previous, other | Lines: 1629 ( +62, -75 )

Created: 2003-05-13 16:25:26 -0400 (5 years 7 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030513202526

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.

1.18 annotated / raw | Diffs: previous, other | Lines: 1642 ( +58, -0 )

Created: 2003-05-08 12:29:55 -0400 (5 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030508162951

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

1.17 annotated / raw | Diffs: previous, other | Lines: 1584 ( +10, -0 )

Created: 2003-05-07 12:29:01 -0400 (5 years 8 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030507162901

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.

1.16 annotated / raw | Diffs: previous, other | Lines: 1574 ( +7, -2 )

Created: 2003-04-07 20:54:48 -0400 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030408005448

whoops- realized that I should probably be nice and hand back a list of
completed ids in testcontext() :)

1.15 annotated / raw | Diffs: previous, other | Lines: 1569 ( +83, -0 )

Created: 2003-04-07 19:45:55 -0400 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030407234555

implemented testcontext() at the BMI multiplexer level; untested; no
module level support yet

1.14 annotated / raw | Diffs: previous, other | Lines: 1486 ( +68, -6 )

Created: 2003-04-07 19:00:01 -0400 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030407230001

contexts are now handled correctly at the bmi multiplexing level; still
not doing anything with them at the modules level

1.13 annotated / raw | Diffs: previous, other | Lines: 1424 ( +14, -8 )

Created: 2003-04-07 18:19:39 -0400 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030407221939

started putting hooks in place to pass context information down to the
module level in BMI

1.12 annotated / raw | Diffs: previous, other | Lines: 1418 ( +45, -9 )

Created: 2003-04-07 17:04:39 -0400 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030407210436

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.

1.11 annotated / raw | Diffs: previous, other | Lines: 1382 ( +4, -0 )

Created: 2003-04-03 12:01:51 -0500 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030403170151

#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 :)

1.9 annotated / raw | Diffs: previous, other | Lines: 1378 ( +1046, -895 )

Created: 2003-04-02 16:08:00 -0500 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030402210800

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.

1.10 annotated / raw | Diffs: previous, other | Lines: 1378 ( +1, -1 )

Created: 2003-04-02 12:20:27 -0500 (5 years 9 months ago) | Author: rbross | Changeset: MAIN:rbross:20030402172027

vim formatting line fixes, using pvfs2fixbadformat.pl.

1.8 annotated / raw | Diffs: previous, other | Lines: 1227 ( +2, -8 )

Created: 2003-03-25 15:08:31 -0500 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030325200831

moved reference-list code from llist to quicklist (this was the last
place in the I/O path using llist)

1.7 annotated / raw | Diffs: previous, other | Lines: 1233 ( +20, -0 )

Created: 2003-03-18 20:03:10 -0500 (5 years 9 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030319010310

made all testXXX functions return 1 if anything completes

1.6 annotated / raw | Diffs: previous, other | Lines: 1213 ( +9, -0 )

Created: 2003-03-11 09:11:16 -0500 (5 years 9 months ago) | Author: robl | Changeset: MAIN:robl:20030311141116

free 'requested_method' array after using it

Tags: snapshot-amerson-3-18-2003 snapshot-osc-03-11-2003

1.5 annotated / raw | Diffs: previous, other | Lines: 1204 ( +1, -1 )

Created: 2003-02-26 20:40:25 -0500 (5 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030227014025

renamed struct unexpected_info to struct BMI_unexpected_info, so that
it is more consistent with the rest of the API

1.4 annotated / raw | Diffs: previous, other | Lines: 1204 ( +22, -22 )

Created: 2003-02-26 11:50:56 -0500 (5 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030226165056

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.

1.3 annotated / raw | Diffs: previous, other | Lines: 1204 ( +39, -214 )

Created: 2003-02-12 13:10:35 -0500 (5 years 10 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030212181035

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.

Tags: snapshot-osc-02-19-2003

1.2 annotated / raw | Diffs: previous, other | Lines: 1379 ( +3, -3 )

Created: 2003-01-24 16:52:49 -0500 (5 years 11 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030124215249

renamed a bunch of files in the bmi subdirectory to use dashes instead
of underscores

1.1 new annotated / raw | Lines: 1379 ( +1379, -0 )

Created: 2003-01-10 01:26:24 -0500 (5 years 11 months ago) | Author: pcarns | Changeset: MAIN:pcarns:20030110062624

merged in bmi code

latest revision Branch WALT3

1.70.4.3 annotated / raw | Diffs: previous, other | Lines: 2008 ( +52, -30 )

Created: 2007-04-11 18:50:16 -0400 (20 months ago) | Author: slang | Changeset: WALT3:slang:20070411224932

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.

1.70.4.2 annotated / raw | Diffs: previous, other | Lines: 1986 ( +1, -1 )

Created: 2006-10-19 18:16:54 -0400 (2 years 2 months ago) | Author: slang | Changeset: WALT3:slang:20061019221631

reverse merge of HEAD to WALT3 branch.

1.70.4.1 annotated / raw | Diffs: previous, other | Lines: 1986 ( +148, -12 )

Created: 2006-09-18 11:05:11 -0400 (2 years 3 months ago) | Author: vilayann | Changeset: WALT3:vilayann:20060918150453

Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

latest revision Branch dbpf-coalesce-branch

1.68.12.1 annotated / raw | Diffs: previous, other | Lines: 1850 ( +4, -16 )

Created: 2006-06-01 17:29:22 -0400 (2 years 7 months ago) | Author: slang | Changeset: dbpf-coalesce-branch:slang:20060601212907

reverse merge of trunk to branch

latest revision Branch directio-branch

1.90.16.3 annotated / raw | Diffs: previous, other | Lines: 2206 ( +6, -0 )

Created: 2008-11-10 15:44:26 -0500 (57 days ago) | Author: slang | Changeset: directio-branch:slang:20081110204421

reverse merge from HEAD to directio branch

1.90.16.2 annotated / raw | Diffs: previous, other | Lines: 2200 ( +16, -0 )

Created: 2008-09-09 16:22:14 -0400 (3 months 27 days ago) | Author: slang | Changeset: directio-branch:slang:20080909202154

reverse merge of changes to HEAD since branch.  Includes small file changes.

1.90.16.1 annotated / raw | Diffs: previous, other | Lines: 2184 ( +7, -0 )

Created: 2008-08-05 11:07:50 -0400 (5 months 1 day ago) | Author: slang | Changeset: directio-branch:slang:20080805150746

fixes to get alignment right and an attempt at aligning unaligned accesses

latest revision Branch he-branch

1.90.10.3 annotated / raw | Diffs: previous, other | Lines: 2212 ( +7, -0 )

Created: 2008-11-11 18:29:32 -0500 (56 days ago) | Author: slang | Changeset: he-branch:slang:20081111232926

reverse merge of direct IO changes to he-branch.

1.90.10.2 annotated / raw | Diffs: previous, other | Lines: 2205 ( +22, -0 )

Created: 2008-11-11 14:10:03 -0500 (56 days ago) | Author: slang | Changeset: he-branch:slang:20081111190955<