Gilles Gouaillardet
cd45c7abb6
ompio: misc renames
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2018-06-14 09:41:10 +09:00
Edgar Gabriel
be0de21e6f
fs/ufs and fbtl/posix: cleanup lock management
...
This commit looks large, but its really mostly a cleanup step.
1. introduce proper error handling for the return values of fcntl and the fbtl_posix_lock function
2. rename a parameter to more accurately reflect what it does
3. introduce an mca parameter in the fs/ufs component that allows to control
what the level of locking the user would like to enforce
4. move the initialization of the fs_block_size parameter from fs/ufs into the
common/ompio component. An fs component might be allowed to overwrite this
value, but none of the actual fs components do that.
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2017-10-19 14:56:28 -05:00
Edgar Gabriel
f66c55f77a
fbtl/posix: fixes in the offset calculation and for aio operations
...
our own internal testsuite passes now correctly. More testing to follow.
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2017-10-19 13:32:39 -05:00
Edgar Gabriel
a3c638bc38
fbtl/posix: add support for file locking for the non-blocking operations
...
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2017-10-19 13:32:38 -05:00
Edgar Gabriel
415e76514d
fbtl/posix: make the code compile
...
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2017-10-19 13:32:37 -05:00
Edgar Gabriel
f5e158c869
fbtl/posix: first cut in adding locking support
...
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
2017-10-19 13:32:37 -05:00
Gilles Gouaillardet
fa5cd0dbe5
use ptrdiff_t instead of OPAL_PTRDIFF_TYPE
...
since Open MPI now requires a C99, and ptrdiff_t type is part of C99,
there is no more need for the abstract OPAL_PTRDIFF_TYPE type.
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2017-04-19 13:41:56 +09:00
Ralph Castain
1e2019ce2a
Revert "Update to sync with OMPI master and cleanup to build"
...
This reverts commit cb55c88a8b7817d5891ff06a447ea190b0e77479.
2016-11-22 15:03:20 -08:00
Ralph Castain
cb55c88a8b
Update to sync with OMPI master and cleanup to build
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-22 14:24:54 -08:00
Edgar Gabriel
0a1b735eed
use the actual preadv and pwritev functions if available. That's what the fbtl interfaces have been designed for.
2016-01-07 08:29:17 -06:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00
Gilles Gouaillardet
9f13425980
fbtl/posix: fix misc memory leaks
...
as reported by Coverity with CIDs 72125, 72126, 1269899 and 1269900
2015-03-05 14:20:08 +09:00
Edgar Gabriel
4ccc0f5ea2
the length of the iov array should be limited to IOV_MAX, which is defined in limits.h
...
This commit was SVN r32706.
2014-09-10 21:59:45 +00:00
Edgar Gabriel
cc46b65a5e
the fbtl interfaces should really be an ssize_t not a size_t, since the return
...
value could be negative, which is allowed for ssize_t, but not for size_t.
This commit was SVN r32700.
2014-09-10 15:01:54 +00:00
Edgar Gabriel
0d425e2f74
resetting the counter for the iov array has to happen outside of the if statement.
...
This commit was SVN r32677.
2014-09-07 16:30:56 +00:00
Edgar Gabriel
0f59ce6591
use the fbtl return value as originally intended, namely to retrieve the
...
number of bytes written and read. Status contains now the actual number of
bytes written for individual operations. For collective operations, this is
unfortunately not possible.
This commit was SVN r32674.
2014-09-07 15:14:57 +00:00
Edgar Gabriel
52eac0146d
cleanup of the fbtl interfaces: remove the *sorted optimization flag, since it
...
was not used anyway in the last two years. Simplifies the code significantly.
This commit was SVN r32602.
2014-08-25 18:04:24 +00:00
Vishwanath Venkatesan
74c418b860
Adding typecasting with intptr_t to remove warnings.
...
This commit was SVN r28278.
2013-04-03 17:07:43 +00:00
Vishwanath Venkatesan
ac1dfae007
Perror should say readv in preadv fbtl, currently says writev
...
This commit was SVN r27610.
2012-11-15 00:57:13 +00:00
George Bosilca
ce7935c8fa
Obviously these were not needed.
...
This commit was SVN r25231.
2011-10-04 14:56:34 +00:00
Edgar Gabriel
52063267df
commit of the OMPIO modules and frameworks.
...
This commit was SVN r25079.
2011-08-25 20:08:17 +00:00