•  
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
replace pvfs2-ls with pvfs2-lsplus; install symlink in case anyone has…
replace pvfs2-ls with pvfs2-lsplus; install symlink in case anyone has

scripts etc. that use pvfs2-lsplus explicitly

  1. … 3 more files in changeset.
Why perform arithmetic on the directory token when the system interface…
Why perform arithmetic on the directory token when the system interface

gives you the right value to use? This fixes a few lingering directory

handling bugs in the admin utilities.

  1. … 3 more files in changeset.
committing patch from Bart Taylor to increase the number of directory…
committing patch from Bart Taylor to increase the number of directory

entries retrieved per readdir in both gnu ls and pvfs2-ls.

  1. … 2 more files in changeset.
fix user_opts double free
fix user_opts double free

commit fix for Ignore path errors in pvfs2-ls reported by Phil.
commit fix for Ignore path errors in pvfs2-ls reported by Phil.

stupid
stupid

from kyle: fix small mem leak
from kyle: fix small mem leak

merge 2.6 branch changes to head
merge 2.6 branch changes to head

  1. … 37 more files in changeset.
initialize variable just to convince gcc it is not potentially used uninitialized
initialize variable just to convince gcc it is not potentially used uninitialized

  1. … 1 more file in changeset.
remove some casts by using proper const
remove some casts by using proper const

  1. … 7 more files in changeset.
Merge posix-extensions-branch to HEAD…
Merge posix-extensions-branch to HEAD

This branch implemented patches to the 2.6.16 kernel for the proposed POSIX I/O extensions and those patches are under

the patches subdirectory.

It also implements the PVFS2 specific hooks for these system calls.

Tools that may be of immediate use to the pvfs2 general audience is the pvfs2-lsplus utility in src/apps/admin

that should be noticeably faster than the pvfs2-ls utility if there are a lot of objects in a single directory.

Other features are left out by configure and are not even built if the kernels do not support those features

and callbacks.

  1. … 134 more files in changeset.
[pcarns]: Patch to allow modifying distribution, distribution parameters and number of…
[pcarns]: Patch to allow modifying distribution, distribution parameters and number of

data files to use within a given directory. Such setting will only impact creation of future files

within the same directory. It does not change existing files' parameters. All such hints

are inherited by newly created directories as well..

[pcarns]: Allow trove to continue to read a list of xattrs/keyvals

without stopping if some subset of keys dont exist in the keyval db. Modifies the keyval_read_list() function

to return an array of completely independant error codes for each key that is read.

[pcarns]: adjust encode_string() macro to make it safe to call on NULL strings

[pcarns]: bug in the getattr state machine that would cause it to read dirent_count most of the time

regardless of whether the attribute mask requested it or not.

[slang]: fix a couple of bugs in the get-attr server-side state machine whereby the dirent_count was being read

using the dirent handle instead of the dirdata handle. Fixed a return value from dbpf_keyval_get_handle_info_op_svc

so that get-attr would not needlessly hang..

[vilayann]: fixes for the viewdist utility yet again, since the keys for the xattrs have changed...

  1. … 38 more files in changeset.
remove unused variable
remove unused variable

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.
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. … 141 more files in changeset.
* malloc.h is obsolete in freebsd, check for it…
* 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

  1. … 172 more files in changeset.
months start from 0 in struct tm
months start from 0 in struct tm

[pcarns]: This patch adds setgid support to pvfs2 (server side, kernel module,…
[pcarns]: This patch adds setgid support to pvfs2 (server side, kernel module,

and admin utitilies), including the semantics of propigating the setgid bit

to new subdirectories or files. It also makes sure that setattr returns

an error if the user requests permission bits that are not supported

(just the setuid and sticky bits after this patch).

It turns out that there was already a getattr (or maybe a lookup?) in place

that we can get the information from [avoiding an additional getattr call].

  1. … 8 more files in changeset.
[pcarns]: fix bogus error messages
[pcarns]: fix bogus error messages

  1. … 1 more file in changeset.
Merge in all of phil's patches fixing up permissions checking as described…
Merge in all of phil's patches fixing up permissions checking as described

here:

http://www.parl.clemson.edu/pipermail/pvfs2-developers/2005-June/001258.html

  1. … 8 more files in changeset.
- removed unused -v command option to pvfs2-ls…
- removed unused -v command option to pvfs2-ls

- added command option -V (and --verbose) which can detect version

differences in the directory being read and will report them if this

switch is enabled

- fixed test program ls.c and admin program pvfs2-ls.c to not issue…
- fixed test program ls.c and admin program pvfs2-ls.c to not issue

an extra call to readdir on every run by fixing a slight logic bug

- changed some readdir debugging

- added a directory version that is passed back from the server to

the client on each successful readdir call (happens to be the

directory's mtime encoded as an opaque uint64_t)

- updated client and server response structures and encoder to

accomodate this

- NOTE: the versioning is not perfect since retrieving the directory

mtime and iterating the handle list isn't an atomic operation with

respect to the overall readdir op; i.e. there's still a window where

a difference may not be detected. then again, since the mtime is in

seconds granularity, this should not present a major detectable

problem anyway. can use a different version number if problems

arise often in practice

  1. … 9 more files in changeset.
- make pvfs2-ls show the mtime for long listings instead of the atime…
- make pvfs2-ls show the mtime for long listings instead of the atime

- make set-info test program update the mtime, rather than atime

- fixed bug on I/O that didn't do an opencache 'put' to release the

descriptor in use from the cache (pointed out by Avery)

- replace tabs in dbpf-keyval.c

- misc cleanups

  1. … 5 more files in changeset.
- applied Nathan's expandtab patch (expandtab-2.patch.gz)…
- applied Nathan's expandtab patch (expandtab-2.patch.gz)

first referenced at:

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

  1. … 342 more files in changeset.
- convert times reported by pvfs2-ls to user's localtime
- convert times reported by pvfs2-ls to user's localtime

- some cleanups while looking to see if we could format things better like…
- some cleanups while looking to see if we could format things better like

GNU ls, but we can't unless we split this up into a two pass program that

retrieves all the data in the first pass and formats and displays it

afterward

- merging in the pvfs2-nm-nb-branch with the main tree…
- 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

  1. … 65 more files in changeset.
when number of digits in size == spaces_size_allowed, we were starting one…
when number of digits in size == spaces_size_allowed, we were starting one

character too early. for reference, gnu ls has 1 space between size and date:

this patch makes pvfs2-ls do that too.

if a file size is really really big, do our best to handle it
if a file size is really really big, do our best to handle it

- make unnecessarily exported pvfs2_util string methods internal…
- make unnecessarily exported pvfs2_util string methods internal

PINT_* methods along with the others

  1. … 21 more files in changeset.
- implement non-blocking operations for all sysint and mgmt operations…
- implement non-blocking operations for all sysint and mgmt operations

- refactor blocking operations in terms of non-blocking operations

- change all sysint credential arguments to credential references

- memory leaks, bug fixes, cleanups

NOTE: this is a non-blocking first draft, updates are sure to come

  1. … 88 more files in changeset.