CVS log for pvfs2/include/pvfs2-util.h |
 |
|
Up to [PVFS2] / pvfs2 / include
Request diff between arbitrary revisions
/ Display revisions graphically
Default branch: MAIN
Bookmark a link to:
HEAD
/
(download)
Revision
1.50.26.2
/
(view)
- annotate
- [select for diffs]
, Fri Nov 4 20:40:23 2011 UTC (6 months, 1 week ago) by sampson
Branch:
Orange-Branch
CVS Tags:
Orange-security-postmerge
Changes since 1.50.26.1: +7 -13 lines
Diff to previous 1.50.26.1
to branch point 1.50
Merged robust security code into Orange-Branch.
Revision
1.50.26.1
/
(view)
- annotate
- [select for diffs]
, Wed Sep 7 20:00:18 2011 UTC (8 months, 1 week ago) by walt
Branch:
Orange-Branch
CVS Tags:
windows-release-2-8-5-20110921,
pnfs-merge,
orangefs-2-8-5,
Orange-security-premerge
Changes since 1.50: +5 -0 lines
Diff to previous 1.50
added PVFS_PATH_MAX
Revision
1.50.8.8
/
(view)
- annotate
- [select for diffs]
, Wed Jul 14 21:37:27 2010 UTC (22 months ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.7: +2 -2 lines
Diff to previous 1.50.8.7
to branch point 1.50
added support for group ids in credential generation
Revision
1.50.8.7
/
(view)
- annotate
- [select for diffs]
, Fri Jun 4 19:26:24 2010 UTC (23 months, 1 week ago) by nlmills
Branch:
cu-security-branch
CVS Tags:
cu-security-branch-premerge
Changes since 1.50.8.6: +1 -0 lines
Diff to previous 1.50.8.6
to branch point 1.50
added utility function to refresh credentials for long operations
Revision
1.50.8.6
/
(view)
- annotate
- [select for diffs]
, Wed Jun 2 18:50:48 2010 UTC (23 months, 2 weeks ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.5: +0 -1 lines
Diff to previous 1.50.8.5
to branch point 1.50
moved security types into main pvfs2-types.h header
Revision
1.50.8.5
/
(view)
- annotate
- [select for diffs]
, Thu May 27 04:38:02 2010 UTC (23 months, 3 weeks ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.4: +4 -6 lines
Diff to previous 1.50.8.4
to branch point 1.50
brought create credential utility functions up to date
Revision
1.50.8.4
/
(view)
- annotate
- [select for diffs]
, Mon May 24 04:48:43 2010 UTC (23 months, 3 weeks ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.3: +0 -7 lines
Diff to previous 1.50.8.3
to branch point 1.50
removed unused fsid and serial fields from credential struct
Revision
1.50.8.3
/
(view)
- annotate
- [select for diffs]
, Tue Aug 25 17:55:45 2009 UTC (2 years, 8 months ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.2: +14 -1 lines
Diff to previous 1.50.8.2
to branch point 1.50
merged in changes from summer at LANL
Revision
1.50.40.1
/
(view)
- annotate
- [select for diffs]
, Tue Jul 14 17:19:32 2009 UTC (2 years, 10 months ago) by mtmoore
Branch:
Orange-mtmoore
Changes since 1.50: +4 -0 lines
Diff to previous 1.50
Initial import of branch supporting keyval attribute/value lookup
Revision
1.50.8.2
/
(view)
- annotate
- [select for diffs]
, Mon Jul 21 22:02:46 2008 UTC (3 years, 9 months ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50.8.1: +0 -14 lines
Diff to previous 1.50.8.1
to branch point 1.50
updated all references in include/, src/client/, src/common/, src/io/,
src/proto/, and src/server/ to use the new PVFS_credential in place of the
old PVFS_credentials. the admin apps in particular need to be updated to use
the new API.
Revision
1.45.4.1
/
(view)
- annotate
- [select for diffs]
, Mon Jul 21 18:22:06 2008 UTC (3 years, 9 months ago) by aching
Branch:
locking-branch
Changes since 1.45: +9 -96 lines
Diff to previous 1.45
to next main 1.46
Reverse merged and ported to HEAD.
Revision
1.50.8.1
/
(view)
- annotate
- [select for diffs]
, Wed Jul 16 04:02:15 2008 UTC (3 years, 10 months ago) by nlmills
Branch:
cu-security-branch
Changes since 1.50: +2 -0 lines
Diff to previous 1.50
created function to create a fake credential then updated every admin app
that uses PVFS_sys_getattr
Revision
1.50
/
(view)
- annotate
- [select for diffs]
, Wed Nov 7 21:46:55 2007 UTC (4 years, 6 months ago) by slang
Branch:
MAIN
CVS Tags:
windows-client-to-Orange-Branch-20110712,
windows-client,
tr-branch,
test-slab-cache-patch,
test-duplicate-patch,
tcp-peer-comm-branch,
sumit-branch,
solaris-point,
solaris-branch,
small-file-branch-point4,
small-file-branch-point3,
small-file-branch-point2,
small-file-branch-point,
small-file-branch,
sa-branch,
rr-txn,
rongrong,
pvfs2-mr-shim,
pvfs2,
pvfs-2-8-point,
pvfs-2-8-branch,
pvfs-2-8-2-rc1,
pvfs-2-8-2,
pvfs-2-8-1,
pvfs-2-8-0,
pvfs-2-7-branch-point,
pvfs-2-7-branch,
pvfs-2-7-1,
pvfs-2-7-0,
pre-dirent,
pfsck-branch-point,
pfsck-branch,
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,
my-point,
mtmoore-dbpf-txn,
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,
he-branch,
fuse-support,
from_MERGE_FROM_HEAD,
from_HEAD_NEW_FEATURE_ADD3,
from_HEAD_NEW_FEATURE_ADD2,
distr-dir-pre-release,
distdir_orange_before_merge_20110817,
directio-point,
directio-branch,
cu-sandbox-branch-point,
cu-sandbox-branch,
branch-rongrong,
bmi-experimental-branch-point,
bmi-experimental-branch,
before-getattr,
before-dio-merge,
becky-test-bed,
as-point,
as-branch,
after-he-reverse-merge,
aattrs-branch-point,
aattrs-branch,
Root_cu-security-branch,
Orange-Root,
Orange-Migrate-Tools,
Orange-Merge1,
Orange-FailOver-small-io,
Orange-FailOver-Becky,
Orange-Elaine-Distr-Dir-Root,
Orange-Elaine-Distr-Dir-Branch,
Orange-Elaine-Branch,
Orange-Branch-metadata-backup,
Orage-Elaine-Root,
ORANGE-BECKY-ROOT,
ORANGE-BECKY-BRANCH,
OB-DBPF-OPEN-CACHE-REMOVE,
HEAD,
B2O-Temp,
B2O-Orange-Sync-Temp,
B2O-Orange-Sync,
B2O-Merge-Test,
B2O-Blue-Sync-Temp-End-2,
B2O-Blue-Sync-Temp-End,
B2O-Blue-Sync-Temp,
B2O-Blue-Sync
Branch point for:
cu-security-branch,
Orange-mtmoore,
Orange-Branch
Changes since 1.49: +6 -0 lines
Diff to previous 1.49
[on behalf of Phil]:
pvfs2-check-server-gen-mntent.patch
-----------------------------------
This patch does two things. First, it adds a utilty function called PVFS_util_gen_mntent() that can be used to create a mntent structure in memory without parsing a tabfile. Previously there wasn't any clean way to construct this on the fly. Secondly, it adds a utility (using the gen_mntent() function) called pvfs2-check-server. pvfs2-check-server can be used to probe a specific pvfs2 server to see if it is running and responding to protocol requests. Since it does not rely on a tab file, it can talk directly to one specific server without having to retrieve configuration information from the primary server listed in the tab file. This utility is useful for watchdog purposes when you want to find out if one specific server is working properly.
Revision
1.43.4.1
/
(view)
- annotate
- [select for diffs]
, Sat Feb 17 11:16:40 2007 UTC (5 years, 3 months ago) by kunkel
Branch:
kunkel-migration-branch
Changes since 1.43: +3 -82 lines
Diff to previous 1.43
to next main 1.44
Update migration branch to current CVS version
Revision
1.41.4.2
/
(view)
- annotate
- [select for diffs]
, Thu Oct 19 22:16:37 2006 UTC (5 years, 6 months ago) by slang
Branch:
WALT3
Changes since 1.41.4.1: +1 -1 lines
Diff to previous 1.41.4.1
to branch point 1.41
to next main 1.42
reverse merge of HEAD to WALT3 branch.
Revision
1.43.2.1
/
(view)
- annotate
- [select for diffs]
, Mon Sep 25 12:39:55 2006 UTC (5 years, 7 months ago) by kunkel
Branch:
kunkel-hint-branch
Changes since 1.43: +3 -82 lines
Diff to previous 1.43
to next main 1.44
backmerging of HEAD to branch...
Revision
1.41.4.1
/
(view)
- annotate
- [select for diffs]
, Mon Sep 18 15:04:57 2006 UTC (5 years, 7 months ago) by vilayann
Branch:
WALT3
Changes since 1.41: +3 -79 lines
Diff to previous 1.41
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.
Revision
1.49
/
(view)
- annotate
- [select for diffs]
, Sat Sep 16 21:13:14 2006 UTC (5 years, 8 months ago) by pw
Branch:
MAIN
CVS Tags:
twod-branch-point,
twod-branch,
tau-sandbox-point,
tau-sandbox,
pvfs2-kunkel-tas-branch,
pvfs-2-6-point4,
pvfs-2-6-point3,
pvfs-2-6-point2,
pvfs-2-6-point,
pvfs-2-6-branch,
pvfs-2-6-3-tag3,
pvfs-2-6-3-tag2,
pvfs-2-6-3,
pvfs-2-6-2,
pvfs-2-6-1,
pvfs-2-6-0,
mgmt-branch-point,
kunkel-tas-branch-2007-05-23,
kunkel-migration-hint-branch-point-2007-06-17,
kunkel-migration-hint-branch-point-2007-03-15,
kunkel-hint-branch-point-26,
kunkel-hint-branch-point-2007-02-17,
dbpf-methods-point,
dbpf-methods-branch,
WALT3-point,
WALT3-last-merged
Changes since 1.48: +1 -1 lines
Diff to previous 1.48
apply const to all credentials structs passed in via client interface for correctness and optimization
Revision
1.48
/
(view)
- annotate
- [select for diffs]
, Wed Sep 13 20:22:44 2006 UTC (5 years, 8 months ago) by vilayann
Branch:
MAIN
Changes since 1.47: +0 -1 lines
Diff to previous 1.47
Merge posix-extensions-branch to HEAD
This branch implemented patches to the 2.6.16 kernel for the proposed POSIX I/O extensions and those patches are under
the patches subdirectory.
It also implements the PVFS2 specific hooks for these system calls.
Tools that may be of immediate use to the pvfs2 general audience is the pvfs2-lsplus utility in src/apps/admin
that should be noticeably faster than the pvfs2-ls utility if there are a lot of objects in a single directory.
Other features are left out by configure and are not even built if the kernels do not support those features
and callbacks.
Revision
1.47
/
(view)
- annotate
- [select for diffs]
, Wed Sep 13 19:09:32 2006 UTC (5 years, 8 months ago) by slang
Branch:
MAIN
Changes since 1.46: +3 -16 lines
Diff to previous 1.46
Override Murali's changes with my own that just copies the function. Let the edit wars commence!
Revision
1.46
/
(view)
- annotate
- [select for diffs]
, Wed Sep 13 18:28:16 2006 UTC (5 years, 8 months ago) by vilayann
Branch:
MAIN
Changes since 1.45: +5 -84 lines
Diff to previous 1.45
Changed PVFS2_translate -> PVFS_translate
Added a separate shared file for kernel and user space..
Revision
1.39.10.4
/
(view)
- annotate
- [select for diffs]
, Tue Sep 12 05:10:15 2006 UTC (5 years, 8 months ago) by vilayann
Branch:
posix-extensions-branch
Changes since 1.39.10.3: +18 -4 lines
Diff to previous 1.39.10.3
to branch point 1.39
to next main 1.40
Merge from HEAD to posix-extensions-branch...
This should facilitate merging the posix branch to HEAD...
Revision
1.45
/
(view)
- annotate
- [select for diffs]
, Mon Sep 11 20:22:00 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.44: +8 -4 lines
Diff to previous 1.44
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.44
/
(view)
- annotate
- [select for diffs]
, Mon Sep 11 00:38:43 2006 UTC (5 years, 8 months ago) by vilayann
Branch:
MAIN
Changes since 1.43: +10 -0 lines
Diff to previous 1.43
Added crypto digests utility functions and configure time checks for openssl libs and includes
so that pvfs2-ping utility can now optionally check whether fs.conf files are the same on
all servers..
i.e. pvfs2-ping -m /pvfs -c will now print whether fs.conf integrity checks fail or pass.
Some of the infrastructure used here will be useful for doing SIGHUP handling at the server
so that fs.conf or server.conf files may be refetched etc..
Revision
1.39.10.3
/
(view)
- annotate
- [select for diffs]
, Sun Sep 3 17:43:51 2006 UTC (5 years, 8 months ago) by vilayann
Branch:
posix-extensions-branch
CVS Tags:
posix-extensions-point5
Changes since 1.39.10.2: +1 -0 lines
Diff to previous 1.39.10.2
to branch point 1.39
Reverse merges from HEAD..
Revision
1.41.6.2
/
(view)
- annotate
- [select for diffs]
, Tue Aug 29 10:41:10 2006 UTC (5 years, 8 months ago) by kunkel
Branch:
kunkel-branch
Changes since 1.41.6.1: +1 -0 lines
Diff to previous 1.41.6.1
to branch point 1.41
to next main 1.42
Backmerge with HEAD
Revision
1.43
/
(view)
- annotate
- [select for diffs]
, Fri Aug 18 15:47:15 2006 UTC (5 years, 9 months ago) by pw
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.42: +1 -0 lines
Diff to previous 1.42
move declaration to be with its peers
Revision
1.41.6.1
/
(view)
- annotate
- [select for diffs]
, Fri Aug 18 05:11:57 2006 UTC (5 years, 9 months ago) by slang
Branch:
kunkel-branch
Changes since 1.41: +6 -4 lines
Diff to previous 1.41
reverse merge from trunk. working for now.
Revision
1.39.10.2
/
(view)
- annotate
- [select for diffs]
, Wed Aug 9 20:17:28 2006 UTC (5 years, 9 months ago) by vilayann
Branch:
posix-extensions-branch
CVS Tags:
posix-extensions-point3
Changes since 1.39.10.1: +6 -4 lines
Diff to previous 1.39.10.1
to branch point 1.39
Reverse merge changes from HEAD to posix-extensions-branch.
Revision
1.42
/
(view)
- annotate
- [select for diffs]
, Wed Aug 9 04:43:48 2006 UTC (5 years, 9 months ago) by vilayann
Branch:
MAIN
CVS Tags:
posix-extensions-point4
Changes since 1.41: +6 -4 lines
Diff to previous 1.41
- Misc. cleanups (replaced a big macro with an inline function)
- Removed parent_*time from the *dirent request protocol since time stamps are now
kept at the server and do not need to be sent over the wire (This is the reason why
major version of the wire protocol has been bumped)
- Adjust macros for the *dirent protocol accordingly.
- Add a few more debugging statements to kmod
Revision
1.39.12.1
/
(view)
- annotate
- [select for diffs]
, Wed Jun 7 19:26:58 2006 UTC (5 years, 11 months ago) by vilayann
Branch:
lockd-branch
Changes since 1.39: +27 -2 lines
Diff to previous 1.39
to next main 1.40
Reverse merge from trunk to lockd-branch...
Revision
1.39.10.1
/
(view)
- annotate
- [select for diffs]
, Wed Jun 7 03:20:32 2006 UTC (5 years, 11 months ago) by slang
Branch:
posix-extensions-branch
Changes since 1.39: +27 -2 lines
Diff to previous 1.39
reverse merge of branch
Revision
1.39.14.1
/
(view)
- annotate
- [select for diffs]
, Thu Jun 1 21:29:11 2006 UTC (5 years, 11 months ago) by slang
Branch:
dbpf-coalesce-branch
Changes since 1.39: +27 -2 lines
Diff to previous 1.39
to next main 1.40
reverse merge of trunk to branch
Revision
1.41
/
(view)
- annotate
- [select for diffs]
, Tue May 30 04:53:26 2006 UTC (5 years, 11 months ago) by vilayann
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,
before-style-changes
Branch point for:
kunkel-branch,
WALT3
Changes since 1.40: +25 -0 lines
Diff to previous 1.40
Consolidates I/O paths through VFS for read, write and readv, writev.
Move duplicated get_object_type function to pvfs2-util.h
Changed the type of a bmi local variable from int to bmi_size_t.
Since new dspace layout makes use of comparision function, update the db-dspace "hack utility" as well
Revision
1.40
/
(view)
- annotate
- [select for diffs]
, Sun May 28 14:51:17 2006 UTC (5 years, 11 months ago) by pw
Branch:
MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
cannot inline code in a different C file, even by declaring it so in the include file
Revision
1.38.2.1
/
(view)
- annotate
- [select for diffs]
, Fri Nov 11 22:18:52 2005 UTC (6 years, 6 months ago) by slang
Branch:
slang-sio-branch
Changes since 1.38: +6 -4 lines
Diff to previous 1.38
to next main 1.39
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.39
/
(view)
- annotate
- [select for diffs]
, Tue Nov 8 16:41:30 2005 UTC (6 years, 6 months ago) by robl
Branch:
MAIN
CVS Tags:
pvfs2-1-4-0-point,
pvfs2-1-4-0-branch,
pvfs2-1-4-0,
pvfs2-1-3-2,
pvfs2-1-3-1-branch,
pvfs2-1-3-1,
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.38: +6 -4 lines
Diff to previous 1.38
[pcarns]: somewhere along the line permission translation droped setgid bits.
add them back.
Revision
1.38
/
(view)
- annotate
- [select for diffs]
, Tue Oct 4 19:04:53 2005 UTC (6 years, 7 months ago) by slang
Branch:
MAIN
CVS Tags:
slang-sio-point,
pvfs2-1-3-0
Branch point for:
slang-sio-branch
Changes since 1.37: +4 -0 lines
Diff to previous 1.37
replaced zero-fill code in client io state machine with one that works. We:
* zero the buffer according to the memory request
* do flow
* calculate return size:
- check that the ub of the file request is within file data (not a hole or past eof) -> return_size = sizeof(filereq)
- if that fails, search through retreived datafiles for offset > ub_file_req -> return_size = sizeof(filereq)
- if that fails, get all the datafiles and search through them for offset > ub_file_req -> return_size = sizeof(filereq)
- if that fails, calculate correct return size from file req and eof
* while(next_contig_segment(file_req).ub < eof)
return_size += sizeof(current_contig_segment(file_req))
if(current_contig_segment(file_req).lb < eof)
return_size += (eof - current_contig_segment(file_req).lb)
---
* Added a test for holes and appropriate zero-fill behavior
* Also fixed error reporting for ping to display individual server errors.
* Fixed a bug in PINT_dist_copy
Revision
1.33.6.1
/
(view)
- annotate
- [select for diffs]
, Thu Aug 25 20:38:05 2005 UTC (6 years, 8 months ago) by slang
Branch:
slang-event-changes-branch
Changes since 1.33: +10 -45 lines
Diff to previous 1.33
to next main 1.34
updates to my event changes to bring them inline with trunk
Revision
1.37
/
(view)
- annotate
- [select for diffs]
, Tue Aug 23 18:44:11 2005 UTC (6 years, 8 months ago) by slang
Branch:
MAIN
Changes since 1.36: +11 -51 lines
Diff to previous 1.36
merged acache changes to trunk.
Revision
1.36.2.3
/
(view)
- annotate
- [select for diffs]
, Wed Aug 10 19:37:46 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.36.2.2: +25 -1 lines
Diff to previous 1.36.2.2
to branch point 1.36
to next main 1.37
merge changes from trunk since branch point into branch. Effectively moves the branchpoint to the latest trunk.
Revision
1.36.2.2
/
(view)
- annotate
- [select for diffs]
, Wed Jul 27 23:46:56 2005 UTC (6 years, 9 months ago) by slang
Branch:
slang-attr-cache-fixups-branch
Changes since 1.36.2.1: +22 -3 lines
Diff to previous 1.36.2.1
to branch point 1.36
more acache updates.
Revision
1.36.2.1
/
(view)
- annotate
- [select for diffs]
, Tue Jul 26 22:19:35 2005 UTC (6 years, 9 months ago) by slang
Branch:
slang-attr-cache-fixups-branch
Changes since 1.36: +8 -91 lines
Diff to previous 1.36
intermediate commit of acache changes to branch.
Revision
1.36
/
(view)
- annotate
- [select for diffs]
, Thu Jul 7 22:12:09 2005 UTC (6 years, 10 months ago) by robl
Branch:
MAIN
CVS Tags:
slang-reqsched-point,
slang-reqsched-branch,
slang-attr-cache-fixups-point,
pvfs2-1-2-0
Branch point for:
slang-attr-cache-fixups-branch
Changes since 1.35: +6 -4 lines
Diff to previous 1.35
[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].
Revision
1.35
/
(view)
- annotate
- [select for diffs]
, Fri Jul 1 16:07:02 2005 UTC (6 years, 10 months ago) by bradles
Branch:
MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
Changed PVFS_util_get_mntent to PVFS_util_get_mntent_copy so that mount
entry can be safely accessed while other filesystems are being actively mounted
and unmounted.
Revision
1.34
/
(view)
- annotate
- [select for diffs]
, Wed Jun 29 20:39:23 2005 UTC (6 years, 10 months ago) by bradles
Branch:
MAIN
Changes since 1.33: +3 -0 lines
Diff to previous 1.33
Added num_dfiles as a tabfile option. Added PVFS_util_get_mntent interface
to pvfs2-util.h, a top level include.
Revision
1.33
/
(view)
- annotate
- [select for diffs]
, Wed Oct 27 19:12:26 2004 UTC (7 years, 6 months ago) by neill
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,
pvfs2-1-0-1,
pvfs2-1-0-0,
pvfs2-0-9-0,
WALT2,
WALT1
Branch point for:
slang-event-changes-branch
Changes since 1.32: +27 -2 lines
Diff to previous 1.32
- added a setattr debugging mask and changed most detailed setattr
debugging to use it
- added a mkdir debugging mask and changed most detailed mkdir
debugging to use it
- added some inlined methods in PVFS_util (as they need to be used on
both the server and the client) for getting the current time in
PVFS_time format, encoding a PVFS_time as a version (finer grained
than a 'normal' PVFS_time since we can use the high 32 bits), and
decoding the version as a PVFS_time
- added a compatibility hack that _should_ allow no noticeable
breakage on existing storage space, but will eventually migrate to
the slightly new storage format over time
- modified client side sys-mkdir, sys-create, and sys-symlink to
encode the mtime as a version when passing it to the server (so it's
transparent from the server perspective)
- modified server side get-attr to decode the version read from disk
back into an mtime (so it's transparent from the client perspective)
- modified mkspace method to properly version newly created root and
lost+found directories
- modified the server side mkdir operation to return -PVFS_EINVAL if
the object attr type is not a directory object
- misc debugging changes and cleanups
Revision
1.32
/
(view)
- annotate
- [select for diffs]
, Mon Oct 11 16:36:59 2004 UTC (7 years, 7 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-8-0,
pvfs2-0-7-0
Changes since 1.31: +10 -4 lines
Diff to previous 1.31
- moved static copy_mntent method to PVFS_util_copy_mntent method
- added error handling to PVFS_util_copy_mntent
- renamed PVFS_sys_free_mntent to PVFS_util_free_mntent
- fixed successful return value of PVFS_util_copy_sys_attr
- fixed initialize-dyn test program that broken due to mntent changes
- misc cleanups
Revision
1.31
/
(view)
- annotate
- [select for diffs]
, Thu Sep 9 14:29:08 2004 UTC (7 years, 8 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-6-5
Changes since 1.30: +2 -0 lines
Diff to previous 1.30
- added a PVFS_util method to get the current system and return it as
a valid PVFS_time type
- added arguments to the crdirent/chdirent/rmdirent operations that
now can take optional parent atime/mtime/ctime fields
- added support on server *dirent operations that update the parent
time attributes (if specified) on successful completion of the
*dirent operation; null/zero time fields are not updated
- modified sys-create/sys-mkdir/sys-symlink/sys-rename/sys-remove to
work with the new operations properly; in general,
create/remove/rename operations updates the mtime and ctime of the
parent directory, which is now properly supported
- moved some common server side attribute handling code into a macro
to make it re-useable across several server state machines
- updated en{de}coding of modified operations
- misc cleanups
Revision
1.30
/
(view)
- annotate
- [select for diffs]
, Wed Jul 28 14:32:28 2004 UTC (7 years, 9 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-6-4,
pvfs2-0-6-3,
pvfs2-0-6-2,
pvfs2-0-6-1
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
- 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.29
/
(view)
- annotate
- [select for diffs]
, Thu Jul 8 20:46:59 2004 UTC (7 years, 10 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-6-0
Changes since 1.28: +31 -2 lines
Diff to previous 1.28
- change newly created file or directories to be reasonable defaults
(slightly modified patch submitted by Nathan)
- add functionality to pvfs2-cp that preserves permissions across copies
(handles unix->unix, unix->pvfs2, pvfs2->pvfs2, pvfs2->unix)
Revision
1.28
/
(view)
- annotate
- [select for diffs]
, Thu Jul 8 16:17:05 2004 UTC (7 years, 10 months ago) by neill
Branch:
MAIN
Changes since 1.27: +8 -3 lines
Diff to previous 1.27
- 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.24.2.3
/
(view)
- annotate
- [select for diffs]
, Wed Jul 7 15:08:11 2004 UTC (7 years, 10 months ago) by neill
Branch:
pvfs2-nm-nb-branch
Changes since 1.24.2.2: +6 -0 lines
Diff to previous 1.24.2.2
to branch point 1.24
to next main 1.25
- implement PVFS_strerror_r; an equivalent to strerror_r (the
thread-safe strerror call) that handles PVFS_error codes [ Brad,
take note! :-P ]
- move PVFS_util_min to pvfs2-util.h, as it's a useful macro
- removed some debugging noise from pvfs2-client-core
- to avoid long stalls on cancelled I/O operations for now, use a
specially added BMI_set_info flag to drop the connection on bmi
cancellations (thanks, Phil!) -- this makes the client more
responsive after cancellation since the server reqsched would
normally need to timeout the I/O job it was working on before
allowing any other jobs through. the old client was killed, so it
was similar to dropping the connection like we're doing now until we
can implement a specific I/O cancellation operation to be sent to
the servers explicitly
- make sure all internal I/O jobs are accounted for on cancellation
within the sysint test()/testsome() methods to avoid allowing those
jobs to pop out. this is problematic for the caller since they
should be hidden by the interface. now we only complete a cancelled
I/O call when ALL cancelled jobs are accounted for
- fix the final sys-io error code, as it's already resolved in
io_analyze_results
Revision
1.24.2.2
/
(view)
- annotate
- [select for diffs]
, Tue Jun 15 17:40:32 2004 UTC (7 years, 11 months ago) by neill
Branch:
pvfs2-nm-nb-branch
Changes since 1.24.2.1: +0 -16 lines
Diff to previous 1.24.2.1
to branch point 1.24
- update branch with changes from the main tree
Revision
1.27
/
(view)
- annotate
- [select for diffs]
, Tue Jun 15 14:14:08 2004 UTC (7 years, 11 months ago) by bradles
Branch:
MAIN
CVS Tags:
pvfs2-0-6-0pre1
Changes since 1.26: +0 -13 lines
Diff to previous 1.26
Remove split_pathname function at Neill's request.
Revision
1.26
/
(view)
- annotate
- [select for diffs]
, Mon Jun 14 21:48:41 2004 UTC (7 years, 11 months ago) by neill
Branch:
MAIN
Changes since 1.25: +0 -16 lines
Diff to previous 1.25
- make unnecessarily exported pvfs2_util string methods internal
PINT_* methods along with the others
Revision
1.25
/
(view)
- annotate
- [select for diffs]
, Mon Jun 14 18:41:06 2004 UTC (7 years, 11 months ago) by bradles
Branch:
MAIN
Changes since 1.24: +13 -0 lines
Diff to previous 1.24
Adding function to split absolute paths into a directory portion and a
filename portion. Altered PVFS_util_remove_base_dir to return -ENOTDIR instead
of -1 when given a non absolute path.
Revision
1.24.2.1
/
(view)
- annotate
- [select for diffs]
, Mon Jun 14 17:02:16 2004 UTC (7 years, 11 months ago) by neill
Branch:
pvfs2-nm-nb-branch
Changes since 1.24: +2 -3 lines
Diff to previous 1.24
- improve human readable size reporting
- allow human readable size reporting to use si units
- fix job-dev test program due to job dev api change
- fix memory leak of unexpected sm pointers
- add --si option to pvfs2-ls (similar to ls's --si option)
- add -H option to pvfs2-statfs (similar to du's -H option)
- merge with cvs head
Revision
1.24
/
(view)
- annotate
- [select for diffs]
, Fri May 21 18:52:06 2004 UTC (7 years, 11 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-5-1
Branch point for:
pvfs2-nm-nb-branch
Changes since 1.23: +7 -1 lines
Diff to previous 1.23
- for non-blocking the passed in sys_attr structures need to be copied
to avoid stack corruption/bunk values (similar to credential problem;
there are probably more instances just like this, and they'll be fixed
as they come)
Revision
1.23
/
(view)
- annotate
- [select for diffs]
, Fri May 21 17:22:37 2004 UTC (7 years, 11 months ago) by neill
Branch:
MAIN
Changes since 1.22: +10 -1 lines
Diff to previous 1.22
- another pass over the non-blocking: cleanups, replacing macros with
functions, making sure credentials live through the sm lifetime,
removing gotos/confusing logic in i{sys|mgmt} calls
Revision
1.22
/
(view)
- annotate
- [select for diffs]
, Thu May 20 17:27:46 2004 UTC (7 years, 11 months ago) by neill
Branch:
MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21
- 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
Revision
1.21
/
(view)
- annotate
- [select for diffs]
, Wed Apr 14 15:15:47 2004 UTC (8 years, 1 month ago) by pcarns
Branch:
MAIN
CVS Tags:
pvfs2-0-5-0,
pvfs2-0-1-3
Changes since 1.20: +2 -0 lines
Diff to previous 1.20
added missing include needed for PVFS2_NAME_MAX if pvfs2-types.h doesn't
happen to be included by someone else
Revision
1.20
/
(view)
- annotate
- [select for diffs]
, Mon Apr 5 23:51:21 2004 UTC (8 years, 1 month ago) by neill
Branch:
MAIN
Changes since 1.19: +2 -0 lines
Diff to previous 1.19
- properly remove mount information on umount by adding a umount operation
Revision
1.19
/
(view)
- annotate
- [select for diffs]
, Mon Mar 22 16:36:08 2004 UTC (8 years, 1 month ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-1-2
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
- continuation of dynamic addition/removal of mount information
- this should work, but the resolve hasn't explicitly been tested yet
Revision
1.18
/
(view)
- annotate
- [select for diffs]
, Fri Mar 19 23:50:54 2004 UTC (8 years, 2 months ago) by neill
Branch:
MAIN
Changes since 1.17: +8 -4 lines
Diff to previous 1.17
- add a first draft cut of the ability to dynamically add and remove
mount entries to the system
- add a simple test program that removes and adds some mount entries -- only
useful if you have a carefully crafted setup (as I do)
- this *might* work, but needs more testing and work
Revision
1.17
/
(view)
- annotate
- [select for diffs]
, Thu Mar 18 18:56:55 2004 UTC (8 years, 2 months ago) by neill
Branch:
MAIN
Changes since 1.16: +4 -0 lines
Diff to previous 1.16
- consolidate the credential generation in the admin tools
- added a generic/default credential generation function
Revision
1.16
/
(view)
- annotate
- [select for diffs]
, Thu Mar 11 22:49:43 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.15: +9 -0 lines
Diff to previous 1.15
shuffle tab file structure over to utils header now that system interface
isn't bound to it
Revision
1.15
/
(view)
- annotate
- [select for diffs]
, Tue Mar 9 21:41:29 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14
added new utility function (PVFS_util_get_default_fsid()) that can be used
to retrieve the default fs identifier out of the set of file systems
that are currently initialized; useful for test programs, or for admin tools
that want a default fs to monitor if not specified by the user. currently
testing in "client" test program
Revision
1.14
/
(view)
- annotate
- [select for diffs]
, Tue Mar 9 20:55:10 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13
added a new utility function that will serve as a wrapper for the standard
initialization steps used by most of our tools, tentatively named
PVFS_util_init_defaults(), testing in pvfs2-import
Revision
1.13
/
(view)
- annotate
- [select for diffs]
, Tue Mar 9 16:12:46 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.12: +10 -3 lines
Diff to previous 1.12
added a new utility function for converting local paths into pvfs relative
path and fs_id, testing in pvfs2-import
Revision
1.12
/
(view)
- annotate
- [select for diffs]
, Tue Mar 9 04:18:59 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.11: +1 -5 lines
Diff to previous 1.11
modified PVFS_util_parse_pvfstab to return a const pointer to a tab
structure managed within the library; user no longer responsible for
allocating or freeing any of it
Revision
1.11
/
(view)
- annotate
- [select for diffs]
, Mon Mar 8 22:06:34 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
renamed pvfs_mntlist -> PVFS_util_tab, also renamed some of its fields.
This is going to look a little weird until some other updates catch up...
Revision
1.10
/
(view)
- annotate
- [select for diffs]
, Mon Mar 8 20:30:41 2004 UTC (8 years, 2 months ago) by pcarns
Branch:
MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9
added a new argument to parse_pvfstab() to force the use of a particular
tabfile rather than the usual system choices, can be left to NULL for
default behavior
Revision
1.9
/
(view)
- annotate
- [select for diffs]
, Tue Oct 7 19:10:16 2003 UTC (8 years, 7 months ago) by robl
Branch:
MAIN
CVS Tags:
snapshot-kraken-10-16-2003-B,
snapshot-kraken-10-16-2003,
pvfs2-dbpf-attr-cache-branch,
pvfs2-0-1-1,
pvfs2-0-1-0,
pvfs2-0-0-9,
pvfs2-0-0-8,
pvfs2-0-0-7,
pvfs2-0-0-6,
pvfs2-0-0-5,
pvfs2-0-0-4
Changes since 1.8: +6 -0 lines
Diff to previous 1.8
. break out the "make_human_readable" function into pvfs2-util
. make pvfs2-ls and pvfs2-satatfs use the new utility
Revision
1.8
/
(view)
- annotate
- [select for diffs]
, Thu Aug 28 13:47:24 2003 UTC (8 years, 8 months ago) by pcarns
Branch:
MAIN
CVS Tags:
pvfs2-0-0-3,
pvfs2-0-0-2
Changes since 1.7: +1 -2 lines
Diff to previous 1.7
WARNING: pvfs2tab format has changed- I'll post to list about it in a minute
PVFS_util_parse_pvfstab() cleanup:
- renamed some mnt struct fields
- rewrote parsing, using getmntent() and friends
- removed filename argument to function
- added prioritized searching for entries in PVFSTAB_FILE, /etc/fstab,
/etc/pvfs2tab, ./pvfs2tab
- changed format of pvfs2tab to be a little cleaner and to fit in nicer
with system fstab
- corrected the way that tab file options are represented
Revision
1.7
/
(view)
- annotate
- [select for diffs]
, Wed Aug 27 14:16:29 2003 UTC (8 years, 8 months ago) by neill
Branch:
MAIN
Changes since 1.6: +8 -0 lines
Diff to previous 1.6
make symlink attrs cacheable; some pcache doc changes
Revision
1.6
/
(view)
- annotate
- [select for diffs]
, Tue Aug 5 18:25:39 2003 UTC (8 years, 9 months ago) by neill
Branch:
MAIN
CVS Tags:
pvfs2-0-0-1
Changes since 1.5: +36 -0 lines
Diff to previous 1.5
first cut of getting the pcache integrated properly with sys-getattr.
this stuff still needs a lot of work, though it should work as is.
Revision
1.5
/
(view)
- annotate
- [select for diffs]
, Thu Jul 17 19:10:47 2003 UTC (8 years, 10 months ago) by pcarns
Branch:
MAIN
Changes since 1.4: +17 -6 lines
Diff to previous 1.4
code format mangling
Revision
1.4
/
(view)
- annotate
- [select for diffs]
, Thu Jul 17 18:14:26 2003 UTC (8 years, 10 months ago) by pcarns
Branch:
MAIN
Changes since 1.3: +4 -0 lines
Diff to previous 1.3
PINT_remove_base_dir() -> PVFS_util_remove_base_dir()
PINT_remove_dir_prefix() -> PVFS_util_remove_dir_prefix()
Revision
1.3
/
(view)
- annotate
- [select for diffs]
, Thu Jul 17 18:01:27 2003 UTC (8 years, 10 months ago) by pcarns
Branch:
MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
updated PVFS_util_lookup_parent() to return an error code, and to take
credentials as an argument
Revision
1.2
/
(view)
- annotate
- [select for diffs]
, Thu Jul 17 17:28:36 2003 UTC (8 years, 10 months ago) by pcarns
Branch:
MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1
Roooaaarrr! Header files broken! Phil smash!
started off innocently as a bid to move lookup_parent_handle() to
PVFS_util_lookup_parent(), but ended up changing all kinds of stuff
in a chain reaction. Also discarded helper.[ch].
- we need to make PVFS_util_lookup_parent() return an error code one
of these days...
Revision
1.1
/
(view)
- annotate
- [select for diffs]
, Thu Jul 17 16:31:46 2003 UTC (8 years, 10 months ago) by pcarns
Branch:
MAIN
"new and improved formula pvfs, now with 70% less extern declarations"
renamed parse_pvfstab() to PVFS_util_parse_pvfstab(), and moved from
src/client/unix-io to src/common/misc, took pint-sysint.h out of exposed
header set, stopped compiling the last lingering objects from
src/client/unix-io, a few other little cleanups
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.