diff --git a/.cvsignore b/.cvsignore old mode 100644 new mode 100755 diff --git a/AUTHORS b/AUTHORS old mode 100644 new mode 100755 diff --git a/COPYING b/COPYING old mode 100644 new mode 100755 diff --git a/CREDITS b/CREDITS old mode 100644 new mode 100755 diff --git a/ChangeLog b/ChangeLog old mode 100644 new mode 100755 diff --git a/INSTALL b/INSTALL old mode 100644 new mode 100755 diff --git a/Makefile.in b/Makefile.in old mode 100644 new mode 100755 diff --git a/PVFS2-GLOBAL-TODO.txt b/PVFS2-GLOBAL-TODO.txt old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/README.name_change b/README.name_change old mode 100644 new mode 100755 diff --git a/README.osd b/README.osd old mode 100644 new mode 100755 diff --git a/config.save b/config.save index e5b72f1..f4ec950 100755 --- a/config.save +++ b/config.save @@ -525,7 +525,7 @@ s,@ECHO_C@,,;t t s,@ECHO_N@,-n,;t t s,@ECHO_T@,,;t t s,@LIBS@, -lcrypto -lssl -ldl,;t t -s,@PVFS2_VERSION@,2.8.6-orangefs-2012-10-11-115608,;t t +s,@PVFS2_VERSION@,2.8.6-orangefs-2012-11-15-124111,;t t s,@PVFS2_VERSION_MAJOR@,2,;t t s,@PVFS2_VERSION_MINOR@,8,;t t s,@PVFS2_VERSION_SUB@,6,;t t diff --git a/configure.in b/configure.in old mode 100644 new mode 100755 diff --git a/doc/.cvsignore b/doc/.cvsignore old mode 100644 new mode 100755 diff --git a/doc/REFERENCES b/doc/REFERENCES old mode 100644 new mode 100755 diff --git a/doc/REFERENCES.bib b/doc/REFERENCES.bib old mode 100644 new mode 100755 diff --git a/doc/add-client-syscall b/doc/add-client-syscall old mode 100644 new mode 100755 diff --git a/doc/add-server-req b/doc/add-server-req old mode 100644 new mode 100755 diff --git a/doc/basics.tex b/doc/basics.tex old mode 100644 new mode 100755 diff --git a/doc/code-tree.tex b/doc/code-tree.tex old mode 100644 new mode 100755 diff --git a/doc/coding/backtrace_analysis.txt b/doc/coding/backtrace_analysis.txt old mode 100644 new mode 100755 diff --git a/doc/coding/module.mk.in b/doc/coding/module.mk.in old mode 100644 new mode 100755 diff --git a/doc/coding/romio-MPICH2-0.96p2-PVFS2-0.51.diff b/doc/coding/romio-MPICH2-0.96p2-PVFS2-0.51.diff old mode 100644 new mode 100755 diff --git a/doc/coding/valgrind b/doc/coding/valgrind old mode 100644 new mode 100755 diff --git a/doc/db-recovery.txt b/doc/db-recovery.txt old mode 100644 new mode 100755 diff --git a/doc/design/bmi-design.tex b/doc/design/bmi-design.tex old mode 100644 new mode 100755 diff --git a/doc/design/concepts.tex b/doc/design/concepts.tex old mode 100644 new mode 100755 diff --git a/doc/design/distributions.tex b/doc/design/distributions.tex old mode 100644 new mode 100755 diff --git a/doc/design/figs/arrayFig.eps b/doc/design/figs/arrayFig.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/bmi-arch-color.eps b/doc/design/figs/bmi-arch-color.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/bmi-arch-color.fig b/doc/design/figs/bmi-arch-color.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/core-sm.eps b/doc/design/figs/core-sm.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/figs_atoc.eps b/doc/design/figs/figs_atoc.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/figs_atoc.fig b/doc/design/figs/figs_atoc.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/figs_dtoe.eps b/doc/design/figs/figs_dtoe.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/figs_dtoe.fig b/doc/design/figs/figs_dtoe.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/flow-arch.eps b/doc/design/figs/flow-arch.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/flow-arch.fig b/doc/design/figs/flow-arch.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/get_configArrayLayout.eps b/doc/design/figs/get_configArrayLayout.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/getconfiginit.eps b/doc/design/figs/getconfiginit.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/getconfigservop.eps b/doc/design/figs/getconfigservop.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/handle_jobs.eps b/doc/design/figs/handle_jobs.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/handle_jobs.graph b/doc/design/figs/handle_jobs.graph old mode 100644 new mode 100755 diff --git a/doc/design/figs/interface-model.eps b/doc/design/figs/interface-model.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/interface-model5.fig b/doc/design/figs/interface-model5.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/io_op-protocol.eps b/doc/design/figs/io_op-protocol.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/io_op-protocol.fig b/doc/design/figs/io_op-protocol.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/job-group.eps b/doc/design/figs/job-group.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/job-group.fig b/doc/design/figs/job-group.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/lookup.eps b/doc/design/figs/lookup.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/lookup.graph b/doc/design/figs/lookup.graph old mode 100644 new mode 100755 diff --git a/doc/design/figs/pvfs2-vfs.eps b/doc/design/figs/pvfs2-vfs.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/setmeta-protocol.eps b/doc/design/figs/setmeta-protocol.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/setmeta-protocol.fig b/doc/design/figs/setmeta-protocol.fig old mode 100644 new mode 100755 diff --git a/doc/design/figs/simpleState.eps b/doc/design/figs/simpleState.eps old mode 100644 new mode 100755 diff --git a/doc/design/figs/stateExec2.eps b/doc/design/figs/stateExec2.eps old mode 100644 new mode 100755 diff --git a/doc/design/flow-design.tex b/doc/design/flow-design.tex old mode 100644 new mode 100755 diff --git a/doc/design/fs-semantics.tex b/doc/design/fs-semantics.tex old mode 100644 new mode 100755 diff --git a/doc/design/handle-allocator.tex b/doc/design/handle-allocator.tex old mode 100644 new mode 100755 diff --git a/doc/design/module.mk.in b/doc/design/module.mk.in old mode 100644 new mode 100755 diff --git a/doc/design/new_operation.txt b/doc/design/new_operation.txt old mode 100644 new mode 100755 diff --git a/doc/design/pvfs2-client.tex b/doc/design/pvfs2-client.tex old mode 100644 new mode 100755 diff --git a/doc/design/pvfs2-trove-usage.tex b/doc/design/pvfs2-trove-usage.tex old mode 100644 new mode 100755 diff --git a/doc/design/request-design.tex b/doc/design/request-design.tex old mode 100644 new mode 100755 diff --git a/doc/design/state-machine.tex b/doc/design/state-machine.tex old mode 100644 new mode 100755 diff --git a/doc/design/storage-interface.tex b/doc/design/storage-interface.tex old mode 100644 new mode 100755 diff --git a/doc/design/trove-dbpf.tex b/doc/design/trove-dbpf.tex old mode 100644 new mode 100755 diff --git a/doc/doxygen/pvfs2-doxygen.conf.in b/doc/doxygen/pvfs2-doxygen.conf.in old mode 100644 new mode 100755 diff --git a/doc/figs/pvfs2-failover-AA.eps b/doc/figs/pvfs2-failover-AA.eps old mode 100644 new mode 100755 diff --git a/doc/figs/pvfs2-failover-AA.fig b/doc/figs/pvfs2-failover-AA.fig old mode 100644 new mode 100755 diff --git a/doc/figs/pvfs2-failover.eps b/doc/figs/pvfs2-failover.eps old mode 100644 new mode 100755 diff --git a/doc/figs/pvfs2-failover.fig b/doc/figs/pvfs2-failover.fig old mode 100644 new mode 100755 diff --git a/doc/intro.tex b/doc/intro.tex old mode 100644 new mode 100755 diff --git a/doc/io-api-terms.tex b/doc/io-api-terms.tex old mode 100644 new mode 100755 diff --git a/doc/latex2html-init b/doc/latex2html-init old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-cp.1 b/doc/man/pvfs2-cp.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-fs-dump.1 b/doc/man/pvfs2-fs-dump.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-genconfig.1 b/doc/man/pvfs2-genconfig.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-ls.1 b/doc/man/pvfs2-ls.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-ping.1 b/doc/man/pvfs2-ping.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-server.1 b/doc/man/pvfs2-server.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-set-debugmask.1 b/doc/man/pvfs2-set-debugmask.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-set-mode.1 b/doc/man/pvfs2-set-mode.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-set-sync.1 b/doc/man/pvfs2-set-sync.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2-statfs.1 b/doc/man/pvfs2-statfs.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2.1 b/doc/man/pvfs2.1 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2.conf.5 b/doc/man/pvfs2.conf.5 old mode 100644 new mode 100755 diff --git a/doc/man/pvfs2tab.5 b/doc/man/pvfs2tab.5 old mode 100644 new mode 100755 diff --git a/doc/module.mk.in b/doc/module.mk.in old mode 100644 new mode 100755 diff --git a/doc/multi-fs-doc.txt b/doc/multi-fs-doc.txt old mode 100644 new mode 100755 diff --git a/doc/pvfs2-faq.tex b/doc/pvfs2-faq.tex old mode 100644 new mode 100755 diff --git a/doc/pvfs2-guide.tex b/doc/pvfs2-guide.tex old mode 100644 new mode 100755 diff --git a/doc/pvfs2-ha-heartbeat-v2.tex b/doc/pvfs2-ha-heartbeat-v2.tex old mode 100644 new mode 100755 diff --git a/doc/pvfs2-ha.tex b/doc/pvfs2-ha.tex old mode 100644 new mode 100755 diff --git a/doc/pvfs2-logging.txt b/doc/pvfs2-logging.txt old mode 100644 new mode 100755 diff --git a/doc/pvfs2-sysint-errors.txt b/doc/pvfs2-sysint-errors.txt old mode 100644 new mode 100755 diff --git a/doc/pvfs2-tuning.tex b/doc/pvfs2-tuning.tex old mode 100644 new mode 100755 diff --git a/doc/random/SystemInterfaceTesting.tex b/doc/random/SystemInterfaceTesting.tex old mode 100644 new mode 100755 diff --git a/doc/random/module.mk.in b/doc/random/module.mk.in old mode 100644 new mode 100755 diff --git a/doc/terms.tex b/doc/terms.tex old mode 100644 new mode 100755 diff --git a/doc/user-apis.tex b/doc/user-apis.tex old mode 100644 new mode 100755 diff --git a/examples/heartbeat/Filesystem-qla-monitor b/examples/heartbeat/Filesystem-qla-monitor old mode 100644 new mode 100755 diff --git a/examples/heartbeat/PVFS2 b/examples/heartbeat/PVFS2 old mode 100644 new mode 100755 diff --git a/examples/heartbeat/PVFS2-notify b/examples/heartbeat/PVFS2-notify old mode 100644 new mode 100755 diff --git a/examples/heartbeat/apc-switched-pdu-hybrid-control.pl b/examples/heartbeat/apc-switched-pdu-hybrid-control.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/apc-switched-pdu-hybrid-monitor.pl b/examples/heartbeat/apc-switched-pdu-hybrid-monitor.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/apc-switched-pdu-hybrid-outlet-status.pl b/examples/heartbeat/apc-switched-pdu-hybrid-outlet-status.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/apc-switched-pdu-ssh-control.exp b/examples/heartbeat/apc-switched-pdu-ssh-control.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/apc-switched-pdu-ssh-monitor.exp b/examples/heartbeat/apc-switched-pdu-ssh-monitor.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/baytech-mgmt-control.exp b/examples/heartbeat/baytech-mgmt-control.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/baytech-mgmt-monitor.exp b/examples/heartbeat/baytech-mgmt-monitor.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/cib.xml.example b/examples/heartbeat/cib.xml.example old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/Filesystem-qla-monitor b/examples/heartbeat/hardware-specific/Filesystem-qla-monitor old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/PVFS2-notify b/examples/heartbeat/hardware-specific/PVFS2-notify old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-control.pl b/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-control.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-monitor.pl b/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-monitor.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-outlet-status.pl b/examples/heartbeat/hardware-specific/apc-switched-pdu-hybrid-outlet-status.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/apc-switched-pdu-ssh-control.exp b/examples/heartbeat/hardware-specific/apc-switched-pdu-ssh-control.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/apc-switched-pdu-ssh-monitor.exp b/examples/heartbeat/hardware-specific/apc-switched-pdu-ssh-monitor.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/baytech-mgmt-control.exp b/examples/heartbeat/hardware-specific/baytech-mgmt-control.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/baytech-mgmt-monitor.exp b/examples/heartbeat/hardware-specific/baytech-mgmt-monitor.exp old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/pvfs2-stonith-plugin b/examples/heartbeat/hardware-specific/pvfs2-stonith-plugin old mode 100644 new mode 100755 diff --git a/examples/heartbeat/hardware-specific/qla-monitor.pl b/examples/heartbeat/hardware-specific/qla-monitor.pl old mode 100644 new mode 100755 diff --git a/examples/heartbeat/pvfs2-ha-heartbeat-configure.sh b/examples/heartbeat/pvfs2-ha-heartbeat-configure.sh old mode 100644 new mode 100755 diff --git a/examples/heartbeat/pvfs2-stonith-plugin b/examples/heartbeat/pvfs2-stonith-plugin old mode 100644 new mode 100755 diff --git a/examples/heartbeat/qla-monitor.pl b/examples/heartbeat/qla-monitor.pl old mode 100644 new mode 100755 diff --git a/include/orange.h b/include/orange.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-compat.h b/include/pvfs2-compat.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-debug.h b/include/pvfs2-debug.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-dist-basic.h b/include/pvfs2-dist-basic.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-dist-simple-stripe.h b/include/pvfs2-dist-simple-stripe.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-dist-twod-stripe.h b/include/pvfs2-dist-twod-stripe.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-dist-varstrip.h b/include/pvfs2-dist-varstrip.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-encode-stubs.h b/include/pvfs2-encode-stubs.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-event.h b/include/pvfs2-event.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-hint.h b/include/pvfs2-hint.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-mgmt.h b/include/pvfs2-mgmt.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-mirror.h b/include/pvfs2-mirror.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-request.h b/include/pvfs2-request.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-sysint.h b/include/pvfs2-sysint.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-types.h b/include/pvfs2-types.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-usrint.h b/include/pvfs2-usrint.h old mode 100644 new mode 100755 diff --git a/include/pvfs2-util.h b/include/pvfs2-util.h old mode 100644 new mode 100755 diff --git a/include/pvfs2.h.in b/include/pvfs2.h.in old mode 100644 new mode 100755 diff --git a/maint/TEMPLATE_COPYRIGHT_HEADER.txt b/maint/TEMPLATE_COPYRIGHT_HEADER.txt old mode 100644 new mode 100755 diff --git a/maint/TEMPLATE_FORMAT_TRAILER.txt b/maint/TEMPLATE_FORMAT_TRAILER.txt old mode 100644 new mode 100755 diff --git a/maint/config/aio.m4 b/maint/config/aio.m4 old mode 100644 new mode 100755 diff --git a/maint/config/bdb.m4 b/maint/config/bdb.m4 old mode 100644 new mode 100755 diff --git a/maint/config/gm.m4 b/maint/config/gm.m4 old mode 100644 new mode 100755 diff --git a/maint/config/ib.m4 b/maint/config/ib.m4 old mode 100644 new mode 100755 diff --git a/maint/config/kernel.m4 b/maint/config/kernel.m4 old mode 100644 new mode 100755 diff --git a/maint/config/mx.m4 b/maint/config/mx.m4 old mode 100644 new mode 100755 diff --git a/maint/config/openssl.m4 b/maint/config/openssl.m4 old mode 100644 new mode 100755 diff --git a/maint/config/portals.m4 b/maint/config/portals.m4 old mode 100644 new mode 100755 diff --git a/maint/config/rt.m4 b/maint/config/rt.m4 old mode 100644 new mode 100755 diff --git a/maint/config/zoid.m4 b/maint/config/zoid.m4 old mode 100644 new mode 100755 diff --git a/maint/make-dist.sh b/maint/make-dist.sh old mode 100644 new mode 100755 diff --git a/module.mk.in b/module.mk.in old mode 100644 new mode 100755 diff --git a/patches/pnfs/SERIES b/patches/pnfs/SERIES old mode 100644 new mode 100755 diff --git a/patches/pnfs/p00001_pnfs_pvfs2layoutdriver.patch b/patches/pnfs/p00001_pnfs_pvfs2layoutdriver.patch old mode 100644 new mode 100755 diff --git a/patches/pnfs/p00001_pnfs_pvfs2layoutsupport.patch b/patches/pnfs/p00001_pnfs_pvfs2layoutsupport.patch old mode 100644 new mode 100755 diff --git a/patches/pnfs/p00002_pnfs_nfslayoutsupport.patch b/patches/pnfs/p00002_pnfs_nfslayoutsupport.patch old mode 100644 new mode 100755 diff --git a/patches/pnfs/p00003_pnfs_nfsproclayoutsupport.patch b/patches/pnfs/p00003_pnfs_nfsproclayoutsupport.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/SERIES b/patches/posix-ext/SERIES old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-direntplus-lite.patch b/patches/posix-ext/posix-direntplus-lite.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-direntplus.patch b/patches/posix-ext/posix-direntplus.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-extensions-cvs.patch b/patches/posix-ext/posix-extensions-cvs.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-readwritex.patch b/patches/posix-ext/posix-readwritex.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-statlite-fix.patch b/patches/posix-ext/posix-statlite-fix.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-statlite-x86_64.patch b/patches/posix-ext/posix-statlite-x86_64.patch old mode 100644 new mode 100755 diff --git a/patches/posix-ext/posix-statlite.patch b/patches/posix-ext/posix-statlite.patch old mode 100644 new mode 100755 diff --git a/pvfs2-config.h.in b/pvfs2-config.h.in old mode 100644 new mode 100755 diff --git a/src/apps/admin/module.mk.in b/src/apps/admin/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-change-fsid.c b/src/apps/admin/pvfs2-change-fsid.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-check-config.c b/src/apps/admin/pvfs2-check-config.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-check-server.c b/src/apps/admin/pvfs2-check-server.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-chmod.c b/src/apps/admin/pvfs2-chmod.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-chown.c b/src/apps/admin/pvfs2-chown.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-cp.c b/src/apps/admin/pvfs2-cp.c old mode 100644 new mode 100755 index 6a03c1a..9f03f06 --- a/src/apps/admin/pvfs2-cp.c +++ b/src/apps/admin/pvfs2-cp.c @@ -119,7 +119,7 @@ static int convert_pvfs2_perms_to_mode(PVFS_permissions perms) int main (int argc, char ** argv) { struct options* user_opts = NULL; - double time1=0, time2=0; + double time1=0, time2=0, time3=0, time4=0, total_time=0; int current_size=0; int64_t total_written=0, buffer_size=0; file_object src, dest; @@ -157,8 +157,11 @@ int main (int argc, char ** argv) goto main_out; } + time3 = Wtime(); ret = generic_open(&dest, &credentials, user_opts->num_datafiles, user_opts->strip_size, user_opts->srcfile, OPEN_DEST); + time4 = Wtime(); + total_time = total_time + time4 - time3; if (ret < 0) { fprintf(stderr, "Could not open %s\n", user_opts->destfile); @@ -174,14 +177,17 @@ int main (int argc, char ** argv) goto main_out; } - time1 = Wtime(); + //time1 = Wtime(); while((current_size = generic_read(&src, buffer, total_written, user_opts->buf_size, &credentials)) > 0) { buffer_size = current_size; - + + time1 = Wtime(); ret = generic_write(&dest, buffer, total_written, buffer_size, &credentials); + time2 = Wtime(); + total_time = total_time + time2 - time1; if (ret != current_size) { if (ret == -1) { @@ -195,11 +201,11 @@ int main (int argc, char ** argv) total_written += current_size; } - time2 = Wtime(); + //time2 = Wtime(); if (user_opts->show_timings) { - print_timings(time2-time1, total_written); + print_timings(total_time, total_written); } ret = 0; @@ -312,8 +318,9 @@ static double Wtime(void) static void print_timings( double time, int64_t total) { - printf("Wrote %lld bytes in %f seconds. %f MB/seconds\n", - lld(total), time, (total/time)/(1024*1024)); + //printf("Wrote %lld bytes in %f seconds. %f MB/seconds\n", + //lld(total), time, (total/time)/(1024*1024)); + printf("%f\n", time); } /* read 'count' bytes from a (unix or pvfs2) file 'src', placing the result in diff --git a/src/apps/admin/pvfs2-drop-caches.c b/src/apps/admin/pvfs2-drop-caches.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-event-mon-example.c b/src/apps/admin/pvfs2-event-mon-example.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-fs-dump.c b/src/apps/admin/pvfs2-fs-dump.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-fsck.c b/src/apps/admin/pvfs2-fsck.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-fsck.h b/src/apps/admin/pvfs2-fsck.h old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-get-uid.c b/src/apps/admin/pvfs2-get-uid.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-ln.c b/src/apps/admin/pvfs2-ln.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-ls.c b/src/apps/admin/pvfs2-ls.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-lsplus.c b/src/apps/admin/pvfs2-lsplus.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-migrate-collection.c b/src/apps/admin/pvfs2-migrate-collection.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-mkdir.c b/src/apps/admin/pvfs2-mkdir.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-mkspace.c b/src/apps/admin/pvfs2-mkspace.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-perf-mon-example.c b/src/apps/admin/pvfs2-perf-mon-example.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-perf-mon-snmp.c b/src/apps/admin/pvfs2-perf-mon-snmp.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-perror.c b/src/apps/admin/pvfs2-perror.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-ping.c b/src/apps/admin/pvfs2-ping.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-remove-object.c b/src/apps/admin/pvfs2-remove-object.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-rm.c b/src/apps/admin/pvfs2-rm.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-set-debugmask.c b/src/apps/admin/pvfs2-set-debugmask.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-set-eventmask.c b/src/apps/admin/pvfs2-set-eventmask.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-set-mode.c b/src/apps/admin/pvfs2-set-mode.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-set-sync.c b/src/apps/admin/pvfs2-set-sync.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-showcoll.c b/src/apps/admin/pvfs2-showcoll.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-stat.c b/src/apps/admin/pvfs2-stat.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-statfs.c b/src/apps/admin/pvfs2-statfs.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-touch.c b/src/apps/admin/pvfs2-touch.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-viewdist.c b/src/apps/admin/pvfs2-viewdist.c old mode 100644 new mode 100755 diff --git a/src/apps/admin/pvfs2-xattr.c b/src/apps/admin/pvfs2-xattr.c old mode 100644 new mode 100755 diff --git a/src/apps/devel/module.mk.in b/src/apps/devel/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/devel/pvfs2-db-display.c b/src/apps/devel/pvfs2-db-display.c old mode 100644 new mode 100755 diff --git a/src/apps/fuse/module.mk.in b/src/apps/fuse/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/fuse/pvfs2fuse.c b/src/apps/fuse/pvfs2fuse.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/color.c b/src/apps/karma/color.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/comm.c b/src/apps/karma/comm.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/details.c b/src/apps/karma/details.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/fsview.c b/src/apps/karma/fsview.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/karma.c b/src/apps/karma/karma.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/karma.h b/src/apps/karma/karma.h old mode 100644 new mode 100755 diff --git a/src/apps/karma/menu.c b/src/apps/karma/menu.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/messages.c b/src/apps/karma/messages.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/module.mk.in b/src/apps/karma/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/karma/prep.c b/src/apps/karma/prep.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/status.c b/src/apps/karma/status.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/traffic.c b/src/apps/karma/traffic.c old mode 100644 new mode 100755 diff --git a/src/apps/karma/units.c b/src/apps/karma/units.c old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/module.mk.in b/src/apps/kernel/linux/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/mount.pvfs2.c b/src/apps/kernel/linux/mount.pvfs2.c old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/mount_pvfs2.sh b/src/apps/kernel/linux/mount_pvfs2.sh old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/pvfs2-client-core.c b/src/apps/kernel/linux/pvfs2-client-core.c old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/pvfs2-client.c b/src/apps/kernel/linux/pvfs2-client.c old mode 100644 new mode 100755 diff --git a/src/apps/kernel/linux/umount_pvfs2.sh b/src/apps/kernel/linux/umount_pvfs2.sh old mode 100644 new mode 100755 diff --git a/src/apps/ucache/module.mk.in b/src/apps/ucache/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/ucache/shmem_util.c b/src/apps/ucache/shmem_util.c old mode 100644 new mode 100755 diff --git a/src/apps/ucache/shmem_util.h b/src/apps/ucache/shmem_util.h old mode 100644 new mode 100755 diff --git a/src/apps/ucache/ucached.c b/src/apps/ucache/ucached.c old mode 100644 new mode 100755 diff --git a/src/apps/ucache/ucached.h b/src/apps/ucache/ucached.h old mode 100644 new mode 100755 diff --git a/src/apps/ucache/ucached_cmd.c b/src/apps/ucache/ucached_cmd.c old mode 100644 new mode 100755 diff --git a/src/apps/ucache/ucached_common.c b/src/apps/ucache/ucached_common.c old mode 100644 new mode 100755 diff --git a/src/apps/user/getmattr.c b/src/apps/user/getmattr.c old mode 100644 new mode 100755 diff --git a/src/apps/user/module.mk.in b/src/apps/user/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/user/setmattr.c b/src/apps/user/setmattr.c old mode 100644 new mode 100755 diff --git a/src/apps/vis/VeraBd.ttf b/src/apps/vis/VeraBd.ttf old mode 100644 new mode 100755 diff --git a/src/apps/vis/module.mk.in b/src/apps/vis/module.mk.in old mode 100644 new mode 100755 diff --git a/src/apps/vis/pvfs2-vis-bw-2d.c b/src/apps/vis/pvfs2-vis-bw-2d.c old mode 100644 new mode 100755 diff --git a/src/apps/vis/pvfs2-vis.c b/src/apps/vis/pvfs2-vis.c old mode 100644 new mode 100755 diff --git a/src/apps/vis/pvfs2-vis.h b/src/apps/vis/pvfs2-vis.h old mode 100644 new mode 100755 diff --git a/src/apps/vis/simple.c b/src/apps/vis/simple.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/TODO b/src/client/sysint/TODO old mode 100644 new mode 100755 diff --git a/src/client/sysint/acache.c b/src/client/sysint/acache.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/acache.h b/src/client/sysint/acache.h old mode 100644 new mode 100755 diff --git a/src/client/sysint/client-job-timer.sm b/src/client/sysint/client-job-timer.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/client-state-machine.c b/src/client/sysint/client-state-machine.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/client-state-machine.h b/src/client/sysint/client-state-machine.h old mode 100644 new mode 100755 index 4867b3f..170844d --- a/src/client/sysint/client-state-machine.h +++ b/src/client/sysint/client-state-machine.h @@ -308,6 +308,8 @@ struct PINT_client_readdirplus_sm PVFS_BMI_addr_t *server_addresses; int *handle_count; PVFS_handle **handles; + int remaining; + int offset; }; /* diff --git a/src/client/sysint/consistancy_semantics.txt b/src/client/sysint/consistancy_semantics.txt old mode 100644 new mode 100755 diff --git a/src/client/sysint/error-details.c b/src/client/sysint/error-details.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/finalize.c b/src/client/sysint/finalize.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/fs-add.sm b/src/client/sysint/fs-add.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/getparent.c b/src/client/sysint/getparent.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/initialize.c b/src/client/sysint/initialize.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-create-dirent.sm b/src/client/sysint/mgmt-create-dirent.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-event-mon-list.sm b/src/client/sysint/mgmt-event-mon-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-get-dfile-array.sm b/src/client/sysint/mgmt-get-dfile-array.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-get-dirdata-handle.sm b/src/client/sysint/mgmt-get-dirdata-handle.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-get-uid-list.sm b/src/client/sysint/mgmt-get-uid-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-iterate-handles-list.sm b/src/client/sysint/mgmt-iterate-handles-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-misc.c b/src/client/sysint/mgmt-misc.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-noop.sm b/src/client/sysint/mgmt-noop.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-perf-mon-list.sm b/src/client/sysint/mgmt-perf-mon-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-remove-dirent.sm b/src/client/sysint/mgmt-remove-dirent.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-remove-object.sm b/src/client/sysint/mgmt-remove-object.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-repair-file.sm b/src/client/sysint/mgmt-repair-file.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-setparam-list.sm b/src/client/sysint/mgmt-setparam-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/mgmt-statfs-list.sm b/src/client/sysint/mgmt-statfs-list.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/module.mk.in b/src/client/sysint/module.mk.in old mode 100644 new mode 100755 diff --git a/src/client/sysint/ncache.c b/src/client/sysint/ncache.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/ncache.h b/src/client/sysint/ncache.h old mode 100644 new mode 100755 diff --git a/src/client/sysint/osd.c b/src/client/sysint/osd.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/osd.h b/src/client/sysint/osd.h old mode 100644 new mode 100755 diff --git a/src/client/sysint/osdsm.sm b/src/client/sysint/osdsm.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/perf-count-timer.sm b/src/client/sysint/perf-count-timer.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/pint-sysdev-unexp.sm b/src/client/sysint/pint-sysdev-unexp.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/pint-sysint-utils.c b/src/client/sysint/pint-sysint-utils.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/pint-sysint-utils.h b/src/client/sysint/pint-sysint-utils.h old mode 100644 new mode 100755 diff --git a/src/client/sysint/remove.sm b/src/client/sysint/remove.sm old mode 100644 new mode 100755 index 2b1cf4b..7bd8fba --- a/src/client/sysint/remove.sm +++ b/src/client/sysint/remove.sm @@ -370,11 +370,11 @@ static PINT_sm_action remove_collection( sm_p->object_ref.fs_id); PINT_put_server_config_struct(server_config); - if ((!is_osd_md && (!(server_config->member_attr) || sm_p->getattr.attr.objtype != PVFS_TYPE_DIRECTORY)) || (sm_p->getattr.attr.objtype != PVFS_TYPE_DIRECTORY && is_osd_md) || (!server_config->coll_object)) { + if ((!is_osd_md && (!(server_config->member_attr) || sm_p->getattr.attr.objtype != PVFS_TYPE_DIRECTORY)) || (sm_p->getattr.attr.objtype != PVFS_TYPE_DIRECTORY && is_osd_md) || (is_osd_md && !server_config->coll_object)) { js_p->error_code = SKIP_COLLECTION_REMOVAL; return SM_ACTION_COMPLETE; } - + cur = server_config->host_aliases; while(cur) { diff --git a/src/client/sysint/server-get-config.sm b/src/client/sysint/server-get-config.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-create.sm b/src/client/sysint/sys-create.sm old mode 100644 new mode 100755 index 4573375..c6940d9 --- a/src/client/sysint/sys-create.sm +++ b/src/client/sysint/sys-create.sm @@ -488,12 +488,12 @@ static int create_comp_fn(void *v_p, resp_p->u.create.datafile_handles, (sizeof(*sm_p->u.create.datafile_handles) * resp_p->u.create.datafile_count)); - + if (is_osd_md && server_config->post_create) sm_p->u.create.metafile_handle = sm_p->u.create.datafile_handles[0]; else sm_p->u.create.metafile_handle = resp_p->u.create.metafile_handle; - + sm_p->u.create.stuffed = resp_p->u.create.stuffed; } @@ -700,7 +700,6 @@ static PINT_sm_action create_create_setup_msgpair( js_p->error_code = OSD_MSGPAIR; } else { - PINT_SERVREQ_CREATE_FILL( msg_p->req, *sm_p->cred_p, @@ -713,6 +712,7 @@ static PINT_sm_action create_create_setup_msgpair( js_p->error_code = 0; if (is_osd && !server_config->post_create) js_p->error_code = OSD_CREATE_MSGPAIR; + } msg_p->fs_id = sm_p->object_ref.fs_id; @@ -809,7 +809,7 @@ static PINT_sm_action create_datafiles_setup_msgpair_array( if (is_osd) { uint64_t attrval; struct osd_command *command = &sm_p->msgarray_op.msgarray[0].osd_command; - + if (is_osd_md) { /* needed for osd_md */ @@ -937,11 +937,24 @@ static PINT_sm_action create_datafiles_setup_msgpair_array( } msg_p->fs_id = sm_p->object_ref.fs_id; - msg_p->handle = sm_p->u.create.io_handle_extent_array[0]. - extent_array[0].first; + + if (is_osd_md) + msg_p->handle = sm_p->u.create.io_handle_extent_array[0].extent_array[0].first; + else + msg_p->handle = sm_p->u.create.datafile_handles[0]; + msg_p->retry_flag = PVFS_MSGPAIR_NO_RETRY; msg_p->comp_fn = create_datafiles_comp_fn; - msg_p->svr_addr = sm_p->u.create.data_server_addrs[0]; + + ret = PINT_cached_config_map_to_server( + &msg_p->svr_addr, msg_p->handle, + sm_p->object_ref.fs_id); + + if (ret) + { + gossip_err("Failed to map meta server address\n"); + js_p->error_code = ret; + } PINT_sm_push_frame(smcb, 0, &sm_p->msgarray_op); diff --git a/src/client/sysint/sys-del-eattr.sm b/src/client/sysint/sys-del-eattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-dist.c b/src/client/sysint/sys-dist.c old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-flush.sm b/src/client/sysint/sys-flush.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-get-eattr.sm b/src/client/sysint/sys-get-eattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-getattr.sm b/src/client/sysint/sys-getattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-io.sm b/src/client/sysint/sys-io.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-list-eattr.sm b/src/client/sysint/sys-list-eattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-lookup.sm b/src/client/sysint/sys-lookup.sm old mode 100644 new mode 100755 index 720874f..4ec3fc3 --- a/src/client/sysint/sys-lookup.sm +++ b/src/client/sysint/sys-lookup.sm @@ -707,7 +707,6 @@ static PINT_sm_action lookup_segment_setup_msgpair(struct PINT_smcb *smcb, ret = PINT_cached_config_map_to_server(&msg_p->svr_addr, cur_seg->seg_starting_refn.handle, cur_seg->seg_starting_refn.fs_id); - if (ret) { gossip_err("Failed to map meta server address\n"); diff --git a/src/client/sysint/sys-mkdir.sm b/src/client/sysint/sys-mkdir.sm old mode 100644 new mode 100755 index fee6c55..68be5e1 --- a/src/client/sysint/sys-mkdir.sm +++ b/src/client/sysint/sys-mkdir.sm @@ -547,6 +547,9 @@ static PINT_sm_action create_collection_setup_msgpair( uint64_t attrval; int is_osd = fsid_is_osd(sm_p->object_ref.fs_id); int is_osd_md = fsid_is_osd_md(sm_p->object_ref.fs_id); + int server_count = 0; + int randsrv = 0; + int iterator = 0; gossip_debug(GOSSIP_CLIENT_DEBUG, "mkdir state: create_collection_setup_msgpair\n"); @@ -556,8 +559,8 @@ static PINT_sm_action create_collection_setup_msgpair( server_config = PINT_get_server_config_struct( sm_p->object_ref.fs_id); PINT_put_server_config_struct(server_config); - - if (!is_osd || !server_config->coll_object) { + + if (!is_osd || (is_osd_md && !server_config->coll_object)) { js_p->error_code = SKIP_COLLECTION_CREATE; return SM_ACTION_COMPLETE; } @@ -570,11 +573,28 @@ static PINT_sm_action create_collection_setup_msgpair( { break; } - if(!strncmp(cur_alias->bmi_address, "osd", 3)) { + + cur = PINT_llist_next(cur); + server_count++; + } + + randsrv = (rand() % server_count); + cur = server_config->host_aliases; + + while (cur) + { + cur_alias = PINT_llist_head(cur); + if (!cur_alias) + { + break; + } + if( (iterator >= randsrv) && (!strncmp(cur_alias->bmi_address, "osd", 3))) { BMI_addr_lookup(&addr,cur_alias->bmi_address); + break; } cur = PINT_llist_next(cur); + iterator++; } PINT_msgpair_init(&sm_p->msgarray_op); @@ -642,7 +662,7 @@ static PINT_sm_action create_collection_setup_msgpair( attr[6].len = CCAP_OID_LEN; } - ret = osd_command_set_create_collection(command, PVFS_OSD_META_PID, sm_p->u.mkdir.cid); + ret = osd_command_set_create_collection(command, (server_config->member_attr ? PVFS_OSD_DATA_PID : PVFS_OSD_META_PID), sm_p->u.mkdir.cid); if (ret) { osd_error_xerrno(ret, "%s: osd_command_set_create_collection failed", @@ -700,10 +720,10 @@ static int create_collection_comp_fn(void *v_p, return ret; } sm_p->u.mkdir.cid = get_ntohll(sm_p->msgarray_op.msgpair.osd_command.attr[6].val); + sm_p->u.mkdir.metafile_handle = sm_p->u.mkdir.cid; } sm_p->object_ref.cid = sm_p->u.mkdir.cid; - sm_p->u.mkdir.metafile_handle = sm_p->object_ref.cid; return 0; } diff --git a/src/client/sysint/sys-osd-dir.sm b/src/client/sysint/sys-osd-dir.sm old mode 100644 new mode 100755 index b425567..a798799 --- a/src/client/sysint/sys-osd-dir.sm +++ b/src/client/sysint/sys-osd-dir.sm @@ -247,6 +247,7 @@ static PINT_sm_action osd_dirops_init( static PINT_sm_action osd_dirops_attr1_init( struct PINT_smcb *smcb, job_status_s *js_p) { + osd_debug("osd_dirops_attr1_init\n"); job_id_t tmp_id; struct PINT_client_sm *sm_p; @@ -361,6 +362,7 @@ static int osd_dirops_attr1_remove_comp_fn(void *v_p, static PINT_sm_action osd_dirops_attr1_setup_msgpair( struct PINT_smcb *smcb, job_status_s *js_p) { + osd_debug("attr1_setup_msgpair\n"); int ret = 0; uint64_t oid; uint8_t *dirent = NULL; @@ -438,6 +440,8 @@ static PINT_sm_action osd_dirops_attr1_setup_msgpair( msg_p->fs_id = sm_p->object_ref.fs_id; msg_p->handle = sm_p->object_ref.handle; object_name = sm_p->u.mkdir.object_name; + osd_debug("msg_p->handle: %d\n", msg_p->handle); + osd_debug("object_name: %s\n", object_name); /* cmp */ attr[0].type = ATTR_SET; @@ -523,6 +527,7 @@ static PINT_sm_action osd_dirops_attr1_setup_msgpair( js_p->error_code = ret; } + PINT_sm_push_frame(smcb, 0, &sm_p->msgarray_op); return SM_ACTION_COMPLETE; } @@ -530,6 +535,7 @@ static int osd_dirops_attr1_comp_fn(void *v_p, struct PVFS_server_resp *resp_p, int index) { + osd_debug("attr1_comp_fn\n"); int ret = 0; PINT_smcb *smcb = v_p; PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT); @@ -553,6 +559,7 @@ static int osd_dirops_attr1_comp_fn(void *v_p, if (smcb->op == PVFS_SYS_CREATE || smcb->op == PVFS_SYS_MKDIR) { /* insert dirent operation */ if (command->attr[2].val == NULL) { + osd_debug("successful\n"); /* successful insert operation */ ret = 0; goto out; diff --git a/src/client/sysint/sys-osd-io.sm b/src/client/sysint/sys-osd-io.sm old mode 100644 new mode 100755 index de554dd..619cb5b --- a/src/client/sysint/sys-osd-io.sm +++ b/src/client/sysint/sys-osd-io.sm @@ -384,7 +384,7 @@ static int osd_io_setup_msgpairs(struct PINT_smcb *smcb, job_status_s *js_p) uint64_t attrval; if (is_osd_md) - { + { /* needed for osd_md */ char *dist_buf; attr->perms = PVFS_PERM_VALID; @@ -429,10 +429,10 @@ static int osd_io_setup_msgpairs(struct PINT_smcb *smcb, job_status_s *js_p) { struct attribute_list attrs = {ATTR_SET, ANY_PG + USER_COLL_PG, 1, &attrval, 8}; - if(!sm_p->getattr.attr.cid) { - sm_p->getattr.attr.cid = COLLECTION_OID_LB; /* root directory */ - } - set_htonll(&attrval, sm_p->getattr.attr.cid); + if(!sm_p->getattr.attr.cid) { + sm_p->getattr.attr.cid = COLLECTION_OID_LB; /* root directory */ + } + set_htonll(&attrval, sm_p->getattr.attr.cid); osd_command_set_create_and_write(command, PVFS_OSD_DATA_PID, datafile_handle, len, target_offset[0]); osd_command_attr_build(command, &attrs, 1); diff --git a/src/client/sysint/sys-readdir.sm b/src/client/sysint/sys-readdir.sm old mode 100644 new mode 100755 index 946d6ee..6cd8d98 --- a/src/client/sysint/sys-readdir.sm +++ b/src/client/sysint/sys-readdir.sm @@ -1,5 +1,5 @@ /* - * (C) 2003 Clemson University and The University of Chicago + * (C) 2003 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ diff --git a/src/client/sysint/sys-readdirplus.sm b/src/client/sysint/sys-readdirplus.sm old mode 100644 new mode 100755 index 0cf491d..4f22b2c --- a/src/client/sysint/sys-readdirplus.sm +++ b/src/client/sysint/sys-readdirplus.sm @@ -33,7 +33,8 @@ enum { NO_WORK = 1, - OSD_MSGPAIR = 2001 + OSD_MSGPAIR = 2001, + READ_NEXT_CHUNK = 2002 }; extern job_context_id pint_client_sm_context; @@ -48,6 +49,8 @@ static int readdirplus_fetch_sizes_comp_fn(void *v_p, static uint64_t find_min_handle(struct handle_to_index *input_handle_array, int nhandles); +static uint64_t find_max_handle(struct handle_to_index *input_handle_array, int nhandles); + %% machine pvfs2_client_readdirplus_sm @@ -78,10 +81,17 @@ machine pvfs2_client_readdirplus_sm state readdirplus_fetch_attrs_xfer_osd_msgpair { jump pvfs2_osd_msgpairarray_sm; - success => cleanup; + success => maybe_read_more; default => readdirplus_msg_failure; } + state maybe_read_more + { + run osd_readdir_maybe_read_more; + READ_NEXT_CHUNK => readdirplus_fetch_attrs_setup_msgpair; + default => cleanup; + } + state readdirplus_fetch_sizes_setup_msgpair { run readdirplus_fetch_sizes_setup_msgpair; @@ -332,7 +342,7 @@ static int create_partition_handles(PVFS_fs_id fsid, int input_handle_count, *svr_addr_array = NULL; *per_server_handle_count = NULL; *per_server_handles = NULL; - + do { for (i = 0; i < input_handle_count; i++) { @@ -455,16 +465,19 @@ static int list_of_meta_servers(PINT_client_sm *sm_p) return -PVFS_ENOMEM; } - sm_p->u.readdirplus.obj_attr_array = (PVFS_object_attr *) - calloc(sm_p->u.readdirplus.nhandles, sizeof(PVFS_object_attr)); - - if (sm_p->u.readdirplus.obj_attr_array == NULL) + if (!sm_p->u.readdirplus.remaining) { - free(readdirplus_resp->attr_array); - readdirplus_resp->attr_array = NULL; - free(readdirplus_resp->stat_err_array); - readdirplus_resp->stat_err_array = NULL; - return -PVFS_ENOMEM; + sm_p->u.readdirplus.obj_attr_array = (PVFS_object_attr *) + calloc(sm_p->u.readdirplus.nhandles, sizeof(PVFS_object_attr)); + + if (sm_p->u.readdirplus.obj_attr_array == NULL) + { + free(readdirplus_resp->attr_array); + readdirplus_resp->attr_array = NULL; + free(readdirplus_resp->stat_err_array); + readdirplus_resp->stat_err_array = NULL; + return -PVFS_ENOMEM; + } } sm_p->u.readdirplus.size_array = (PVFS_size **) @@ -501,6 +514,7 @@ static int list_of_meta_servers(PINT_client_sm *sm_p) static PINT_sm_action readdirplus_fetch_attrs_setup_msgpair(struct PINT_smcb *smcb, job_status_s *js_p) { + gossip_err("fetch_attrs_setup_msgpair\n"); int i, ret; struct PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT); PINT_sm_msgpair_state *msg_p = NULL; @@ -519,28 +533,39 @@ static PINT_sm_action readdirplus_fetch_attrs_setup_msgpair(struct PINT_smcb *sm js_p->error_code = NO_WORK; return SM_ACTION_COMPLETE; } - - /* From the readdirplus structure figure out which meta servers - * we need to speak to to get the attribute information - */ + + /* From the readdirplus structure figure out which meta servers + * we need to speak to to get the attribute information + */ - if ((ret = list_of_meta_servers(sm_p)) < 0) + if ((ret = list_of_meta_servers(sm_p)) < 0) { - gossip_err("Could not locate list of attribute servers %d\n", ret); - js_p->error_code = ret; - return SM_ACTION_COMPLETE; + gossip_err("Could not locate list of attribute servers %d\n", ret); + js_p->error_code = ret; + return SM_ACTION_COMPLETE; } if (sm_p->u.readdirplus.svr_count == 0) { - gossip_err("Number of meta servers to contact cannot be 0 %d\n", -PVFS_EINVAL); - js_p->error_code = -PVFS_EINVAL; - return SM_ACTION_COMPLETE; + gossip_err("Number of meta servers to contact cannot be 0 %d\n", -PVFS_EINVAL); + js_p->error_code = -PVFS_EINVAL; + return SM_ACTION_COMPLETE; } - + + if (sm_p->u.readdirplus.remaining) + sm_p->u.readdirplus.nhandles = sm_p->u.readdirplus.remaining; + if (is_osd_md) /* we have a osd metadata server */ { if (server_config->coll_object) { + if (sm_p->u.readdirplus.nhandles > 3600) + { + sm_p->u.readdirplus.remaining = sm_p->u.readdirplus.nhandles - 3600; + sm_p->u.readdirplus.nhandles = 3600; + } else { + sm_p->u.readdirplus.remaining = 0; + } + ret = PINT_msgpairarray_init( &sm_p->msgarray_op, sm_p->u.readdirplus.svr_count); if(ret != 0) @@ -553,76 +578,97 @@ static PINT_sm_action readdirplus_fetch_attrs_setup_msgpair(struct PINT_smcb *sm /*osd data server has the attributes of the file*/ /*fetch the attributes from the I/O server*/ - - sm_p->msgarray_op.msgarray[0].handle = sm_p->object_ref.cid; - sm_p->msgarray_op.msgarray[0].fs_id = sm_p->object_ref.fs_id; - sm_p->msgarray_op.msgarray[0].retry_flag = PVFS_MSGPAIR_RETRY; - sm_p->msgarray_op.msgarray[0].comp_fn = readdirplus_fetch_attrs_comp_fn; - sm_p->msgarray_op.msgarray[0].svr_addr = sm_p->u.readdirplus.server_addresses[0]; - - int j, numattrs = 10; - struct attribute_list attrl[numattrs]; - - /* Set attr type */ - for (j = 0; j < numattrs; j++) { - if (sm_p->u.readdirplus.nhandles == 1) { - attrl[j].type = ATTR_GET; - } else { - attrl[j].type = ATTR_GET_MULTI; - } - } - - /* Set attr page and number */ - for (j = 0; j < numattrs - 3; j++) { - attrl[j].page = ANY_PG + PVFS_USEROBJECT_ATTR_PG; - attrl[j].number = j; - } - - /* uid, gid & perms */ - attrl[0].len = sizeof(PVFS_uid); - attrl[1].len = sizeof(PVFS_gid); - attrl[2].len = sizeof(PVFS_permissions); - - /* mask, object type & dist */ - attrl[3].len = sizeof(uint32_t); - attrl[4].len = sizeof(PVFS_ds_type); - attrl[5].len = 1024; - - /* dfile_array */ - attrl[6].len = 1024; + + foreach_msgpair(&sm_p->msgarray_op, msg_p, i) + { + struct osd_command *command = &sm_p->msgarray_op.msgarray[i].osd_command; - /* ctime, atime & mtime */ - attrl[7].page = ANY_PG + USER_TMSTMP_PG; - attrl[7].number = UTSAP_CTIME; - attrl[7].len = UTSAP_CTIME_LEN; + msg_p->handle = sm_p->object_ref.cid; + msg_p->fs_id = sm_p->object_ref.fs_id; + msg_p->retry_flag = PVFS_MSGPAIR_RETRY; + msg_p->comp_fn = readdirplus_fetch_attrs_comp_fn; - attrl[8].page = ANY_PG + USER_TMSTMP_PG; - attrl[8].number = UTSAP_DATA_ATIME; - attrl[8].len = UTSAP_DATA_ATIME_LEN; + ret = PINT_cached_config_map_to_server( + &msg_p->svr_addr, msg_p->handle, + sm_p->object_ref.fs_id); - attrl[9].page = ANY_PG + USER_TMSTMP_PG; - attrl[9].number = UTSAP_DATA_MTIME; - attrl[9].len = UTSAP_DATA_MTIME_LEN; + if (ret) + { + gossip_err("Failed to map meta server address\n"); + js_p->error_code = ret; + } - struct osd_command *command = &sm_p->msgarray_op.msgarray[0].osd_command; + int j, numattrs = 10; + struct attribute_list attrl[numattrs]; - ret = osd_command_set_get_member_attributes(command, PVFS_OSD_META_PID, sm_p->object_ref.handle, find_min_handle(sm_p->u.readdirplus.input_handle_array, sm_p->u.readdirplus.nhandles)); - if (ret) { - osd_error_xerrno(ret, "%s: osd_command_set_get_member_attributes failed", - __func__); - js_p->error_code = ret; - return 1; - } + /* Set attr type */ + for (j = 0; j < numattrs; j++) { + if (sm_p->u.readdirplus.nhandles == 1) { + attrl[j].type = ATTR_GET; + } else { + attrl[j].type = ATTR_GET_MULTI; + } + } + + /* Set attr page and number */ + for (j = 0; j < numattrs - 3; j++) { + attrl[j].page = ANY_PG + PVFS_USEROBJECT_ATTR_PG; + attrl[j].number = j; + } + + /* uid, gid & perms */ + attrl[0].len = sizeof(PVFS_uid); + attrl[1].len = sizeof(PVFS_gid); + attrl[2].len = sizeof(PVFS_permissions); + + /* mask, object type & dist */ + attrl[3].len = sizeof(uint32_t); + attrl[4].len = sizeof(PVFS_ds_type); + attrl[5].len = 1024; + + /* dfile_array */ + attrl[6].len = 1024; + + /* ctime, atime & mtime */ + attrl[7].page = ANY_PG + USER_TMSTMP_PG; + attrl[7].number = UTSAP_CTIME; + attrl[7].len = UTSAP_CTIME_LEN; + + attrl[8].page = ANY_PG + USER_TMSTMP_PG; + attrl[8].number = UTSAP_DATA_ATIME; + attrl[8].len = UTSAP_DATA_ATIME_LEN; + + attrl[9].page = ANY_PG + USER_TMSTMP_PG; + attrl[9].number = UTSAP_DATA_MTIME; + attrl[9].len = UTSAP_DATA_MTIME_LEN; + + + ret = osd_command_set_get_member_attributes(command, PVFS_OSD_META_PID, sm_p->object_ref.handle, find_min_handle(&(sm_p->u.readdirplus.input_handle_array[sm_p->u.readdirplus.offset]), sm_p->u.readdirplus.nhandles), find_max_handle(&(sm_p->u.readdirplus.input_handle_array[sm_p->u.readdirplus.offset]), sm_p->u.readdirplus.nhandles)); + if (ret) { + osd_error_xerrno(ret, "%s: osd_command_set_get_member_attributes failed", + __func__); + js_p->error_code = ret; + return 1; + } - ret = osd_command_multi_attr_build(command, attrl, numattrs, sm_p->u.readdirplus.nhandles); - if (ret) { - osd_error_xerrno(ret, "%s: osd_command_attr_build failed", - __func__); - js_p->error_code = ret; - return 1; - } + ret = osd_command_multi_attr_build(command, attrl, numattrs, sm_p->u.readdirplus.nhandles); + if (ret) { + osd_error_xerrno(ret, "%s: osd_command_attr_build failed", + __func__); + js_p->error_code = ret; + return 1; + } + } } else { - ret = PINT_msgpairarray_init(&sm_p->msgarray_op, sm_p->u.readdirplus.nhandles); + if (sm_p->u.readdirplus.nhandles > PVFS_REQ_LIMIT_LISTATTR) + { + sm_p->u.readdirplus.remaining = sm_p->u.readdirplus.nhandles - PVFS_REQ_LIMIT_LISTATTR; + sm_p->u.readdirplus.nhandles = PVFS_REQ_LIMIT_LISTATTR; + } else { + sm_p->u.readdirplus.remaining = 0; + } + + ret = PINT_msgpairarray_init(&sm_p->msgarray_op, sm_p->u.readdirplus.nhandles); if(ret != 0) { gossip_err("Failed to initialize %d msgpairs\n", @@ -638,8 +684,19 @@ static PINT_sm_action readdirplus_fetch_attrs_setup_msgpair(struct PINT_smcb *sm msg_p->fs_id = sm_p->object_ref.fs_id; msg_p->retry_flag = PVFS_MSGPAIR_RETRY; msg_p->comp_fn = readdirplus_fetch_attrs_comp_fn; - msg_p->svr_addr = sm_p->u.readdirplus.server_addresses[0]; - msg_p->handle = sm_p->u.readdirplus.input_handle_array[i].handle; + //msg_p->svr_addr = sm_p->u.readdirplus.server_addresses[0]; + msg_p->handle = sm_p->u.readdirplus.input_handle_array[i+sm_p->u.readdirplus.offset].handle; + gossip_err("msg_p->handle: %d\n", msg_p->handle); + + ret = PINT_cached_config_map_to_server( + &msg_p->svr_addr, msg_p->handle, + sm_p->object_ref.fs_id); + + if (ret) + { + gossip_err("Failed to map meta server address\n"); + js_p->error_code = ret; + } int j, numattrs = 10; struct attribute_list attrl[numattrs]; @@ -681,7 +738,7 @@ static PINT_sm_action readdirplus_fetch_attrs_setup_msgpair(struct PINT_smcb *sm attrl[9].len = UTSAP_DATA_MTIME_LEN; ret = osd_command_set_get_attributes(command, PVFS_OSD_META_PID, - sm_p->u.readdirplus.input_handle_array[i].handle); + msg_p->handle); if (ret) { osd_error_xerrno(ret, @@ -742,11 +799,12 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, struct PVFS_server_resp *resp_p, int index) { + gossip_err("fetch_attrs_comp_fn\n"); int ret, status; PVFS_object_attr *attr = NULL; PINT_smcb *smcb = v_p; PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_MSGPAIR_PARENT_SM); - int is_osd = fsid_is_osd(sm_p->object_ref.fs_id); + int is_osd_md = fsid_is_osd_md(sm_p->object_ref.fs_id); int64_t size[sm_p->u.readdirplus.nhandles]; struct server_configuration_s *server_config; @@ -759,7 +817,7 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, gossip_debug(GOSSIP_LISTATTR_DEBUG, "readdirplus_fetch_attrs_comp_fn called\n"); - if (is_osd) { + if (is_osd_md) { status = osd_errno_from_status( sm_p->msgarray_op.msgarray[index].osd_command.status); } else { @@ -791,7 +849,7 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, /* fetch all errors from the servresp structure and copy the object attributes */ int i, handle_index, aux_index; - if (is_osd) { + if (is_osd_md) { struct osd_command *command = &sm_p->msgarray_op.msgarray[index].osd_command; struct attribute_list *attr = command->attr; @@ -802,12 +860,12 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, return ret; } - if (sm_p->u.readdirplus.handle_count[index] > 1 && server_config->coll_object) + if (sm_p->u.readdirplus.nhandles > 1 && server_config->coll_object) { - for (i = 0; i < sm_p->u.readdirplus.handle_count[index]; i++) { - get_handle_index(sm_p->u.readdirplus.input_handle_array, + for (i = 0; i < sm_p->u.readdirplus.nhandles; i++) { + get_handle_index(&(sm_p->u.readdirplus.input_handle_array[sm_p->u.readdirplus.offset]), sm_p->u.readdirplus.nhandles, - ((struct attribute_get_multi_results *)attr[0].val)->oid[((struct attribute_get_multi_results *)attr[0].val)->numoid-(sm_p->u.readdirplus.nhandles-i)], + sm_p->u.readdirplus.handles[index][i+sm_p->u.readdirplus.offset], &handle_index, NULL); assert(handle_index >= 0); @@ -819,7 +877,9 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, memcpy(&sm_p->u.readdirplus.obj_attr_array[handle_index].perms, ((struct attribute_get_multi_results *)attr[2].val)->val[((struct attribute_get_multi_results *)attr[2].val)->numoid-(sm_p->u.readdirplus.nhandles-i)], ((struct attribute_get_multi_results *)attr[2].val)->outlen[((struct attribute_get_multi_results *)attr[2].val)->numoid-(sm_p->u.readdirplus.nhandles-i)]); memcpy(&sm_p->u.readdirplus.obj_attr_array[handle_index].objtype, ((struct attribute_get_multi_results *)attr[4].val)->val[((struct attribute_get_multi_results *)attr[4].val)->numoid-(sm_p->u.readdirplus.nhandles-i)], ((struct attribute_get_multi_results *)attr[4].val)->outlen[((struct attribute_get_multi_results *)attr[4].val)->numoid-(sm_p->u.readdirplus.nhandles-i)]); - } + } + if (server_config->coll_object && sm_p->u.readdirplus.nhandles == 3600) + sm_p->u.readdirplus.offset += 3600; } else { if (server_config->coll_object) { @@ -829,21 +889,23 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, &handle_index, NULL); } else { - get_handle_index(sm_p->u.readdirplus.input_handle_array, + get_handle_index(&(sm_p->u.readdirplus.input_handle_array[sm_p->u.readdirplus.offset]), sm_p->u.readdirplus.nhandles, sm_p->msgarray_op.msgarray[index].handle, &handle_index, NULL); } - + /* memcpy the attributes from osd_command attr to sm_p attr object */ if (*(PVFS_ds_type*)command->attr[4].val == PVFS_TYPE_DIRECTORY) { PINT_copy_osd_dir_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command); } else { PINT_copy_osd_object_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command); } + + if (!(server_config->coll_object) && !((index+1) % PVFS_REQ_LIMIT_LISTATTR)) + sm_p->u.readdirplus.offset += PVFS_REQ_LIMIT_LISTATTR; } - osd_command_attr_free(command); } else @@ -894,7 +956,21 @@ static int readdirplus_fetch_attrs_comp_fn(void *v_p, sm_p->u.readdirplus.nhandles = 0; } - return 0; + return 0; +} + + +static int osd_readdir_maybe_read_more(struct PINT_smcb *smcb, job_status_s *js_p) +{ + struct PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT); + struct server_configuration_s *server_config; + + server_config = PINT_get_server_config_struct( + sm_p->object_ref.fs_id); + PINT_put_server_config_struct(server_config); + + js_p->error_code = sm_p->u.readdirplus.remaining ? READ_NEXT_CHUNK : 0; + return 1; } /* figure out which data servers need to be contacted */ @@ -1048,7 +1124,7 @@ static PINT_sm_action readdirplus_fetch_sizes_setup_msgpair( struct osd_command *command = &sm_p->msgarray_op.msgarray[0].osd_command; - ret = osd_command_set_get_member_attributes(command, PVFS_OSD_DATA_PID, sm_p->object_ref.cid, msg_p->handle); + ret = osd_command_set_get_member_attributes(command, PVFS_OSD_DATA_PID, sm_p->object_ref.cid, msg_p->handle, find_max_handle(sm_p->u.readdirplus.input_handle_array, sm_p->u.readdirplus.nhandles)); if (ret) { osd_error_xerrno(ret, "%s: osd_command_set_get_member_attributes failed", __func__); @@ -1056,7 +1132,7 @@ static PINT_sm_action readdirplus_fetch_sizes_setup_msgpair( return 1; } - ret = osd_command_multi_attr_build(command, attr, sm_p->u.readdirplus.nhandles, sm_p->u.readdirplus.nhandles); + ret = osd_command_multi_attr_build(command, attr, 1, sm_p->u.readdirplus.nhandles); if (ret) { osd_error_xerrno(ret, "%s: osd_command_attr_build failed", __func__); @@ -1083,49 +1159,56 @@ static PINT_sm_action readdirplus_fetch_sizes_setup_msgpair( msg_p->svr_addr = sm_p->u.readdirplus.server_addresses[0]; msg_p->handle = sm_p->u.readdirplus.input_handle_array[i].handle; - int j, numattrs = 11; - struct attribute_list attrl[numattrs]; - - /* Set attr type, page and number */ - for (j = 0; j < numattrs - 4; j++) { - attrl[j].type = ATTR_GET; - attrl[j].page = ANY_PG + PVFS_USEROBJECT_ATTR_PG; - attrl[j].number = j; - } - - /* uid, gid & perms */ - attrl[0].len = sizeof(PVFS_uid); - attrl[1].len = sizeof(PVFS_gid); - attrl[2].len = sizeof(PVFS_permissions); - - /* mask, object type & dist */ - attrl[3].len = sizeof(uint32_t); - attrl[4].len = sizeof(PVFS_ds_type); - attrl[5].len = 1024; - - /* dfile_array */ - attrl[6].len = 1024; - - /* ctime, atime & mtime */ - attrl[7].type = ATTR_GET; - attrl[7].page = ANY_PG + USER_TMSTMP_PG; - attrl[7].number = UTSAP_CTIME; - attrl[7].len = UTSAP_CTIME_LEN; - - attrl[8].type = ATTR_GET; - attrl[8].page = ANY_PG + USER_TMSTMP_PG; - attrl[8].number = UTSAP_DATA_ATIME; - attrl[8].len = UTSAP_DATA_ATIME_LEN; - - attrl[9].type = ATTR_GET; - attrl[9].page = ANY_PG + USER_TMSTMP_PG; - attrl[9].number = UTSAP_DATA_MTIME; - attrl[9].len = UTSAP_DATA_MTIME_LEN; - - attrl[10].type = ATTR_GET; - attrl[10].page = 0x1; - attrl[10].number = 0x82; /* logical length (not used capacity) */ - attrl[10].len = sizeof(uint64_t); +/* int j, numattrs = 11;*/ +/* struct attribute_list attrl[numattrs];*/ + + /* Set attr type, page and number */ +/* for (j = 0; j < numattrs - 4; j++) {*/ +/* attrl[j].type = ATTR_GET;*/ +/* attrl[j].page = ANY_PG + PVFS_USEROBJECT_ATTR_PG;*/ +/* attrl[j].number = j;*/ +/* }*/ + + /* uid, gid & perms */ +/* attrl[0].len = sizeof(PVFS_uid);*/ +/* attrl[1].len = sizeof(PVFS_gid);*/ +/* attrl[2].len = sizeof(PVFS_permissions);*/ + + /* mask, object type & dist */ +/* attrl[3].len = sizeof(uint32_t);*/ +/* attrl[4].len = sizeof(PVFS_ds_type);*/ +/* attrl[5].len = 1024;*/ + + /* dfile_array */ +/* attrl[6].len = 1024;*/ + + /* ctime, atime & mtime */ +/* attrl[7].type = ATTR_GET;*/ +/* attrl[7].page = ANY_PG + USER_TMSTMP_PG;*/ +/* attrl[7].number = UTSAP_CTIME;*/ +/* attrl[7].len = UTSAP_CTIME_LEN;*/ + +/* attrl[8].type = ATTR_GET;*/ +/* attrl[8].page = ANY_PG + USER_TMSTMP_PG;*/ +/* attrl[8].number = UTSAP_DATA_ATIME;*/ +/* attrl[8].len = UTSAP_DATA_ATIME_LEN;*/ + +/* attrl[9].type = ATTR_GET;*/ +/* attrl[9].page = ANY_PG + USER_TMSTMP_PG;*/ +/* attrl[9].number = UTSAP_DATA_MTIME;*/ +/* attrl[9].len = UTSAP_DATA_MTIME_LEN;*/ + +/* attrl[10].type = ATTR_GET;*/ +/* attrl[10].page = 0x1;*/ +/* attrl[10].number = 0x82;*/ +/* attrl[10].len = sizeof(uint64_t);*/ + + struct attribute_list id = { + .type = ATTR_GET, + .page = 0x1, + .number = 0x82, /* logical length (not used capacity) */ + .len = sizeof(uint64_t), + }; ret = osd_command_set_get_attributes(command, PVFS_OSD_DATA_PID, sm_p->u.readdirplus.input_handle_array[i].handle); @@ -1138,7 +1221,7 @@ static PINT_sm_action readdirplus_fetch_sizes_setup_msgpair( return 1; } - ret = osd_command_attr_build(command, attrl, 11); + ret = osd_command_attr_build(command, &id, 1); if (ret) { osd_error_xerrno(ret, "%s: osd_command_attr_build failed", __func__); @@ -1278,15 +1361,10 @@ static int readdirplus_fetch_sizes_comp_fn(void *v_p, sm_p->u.readdirplus.size_array[handle_index][aux_index] = size[0]; } } else { - for (i = 0; i < sm_p->u.readdirplus.handle_count[index]; i++) { - //gossip_err("%d\n", sm_p->u.readdirplus.input_handle_array[i]); - //gossip_err("%d\n", ((struct attribute_get_multi_results *)attr[0].val)->oid[((struct attribute_get_multi_results *)attr[0].val)->numoid-(sm_p->u.readdirplus.nhandles-i)]); - } - for (i = 0; i < sm_p->u.readdirplus.handle_count[index]; i++) { get_handle_index(sm_p->u.readdirplus.input_handle_array, sm_p->u.readdirplus.nhandles, - ((struct attribute_get_multi_results *)attr[0].val)->oid[((struct attribute_get_multi_results *)attr[0].val)->numoid-(sm_p->u.readdirplus.nhandles-i)], + ((struct attribute_get_multi_results *)attr[0].val)->oid[((struct attribute_get_multi_results *)attr[0].val)->numoid -(sm_p->u.readdirplus.nhandles - i)], &handle_index, &aux_index); sm_p->u.readdirplus.size_array[handle_index][aux_index] = size[i]; @@ -1295,25 +1373,25 @@ static int readdirplus_fetch_sizes_comp_fn(void *v_p, } } } else { - /*if (command->attr->outlen != sizeof(uint64_t)) { + if (command->attr->outlen != sizeof(uint64_t)) { gossip_err("%s: expecting 8 bytes returned, got %u.\n", __func__, command->attr->outlen); return ret; - }*/ - + } + get_handle_index(sm_p->u.readdirplus.input_handle_array, sm_p->u.readdirplus.nhandles, sm_p->msgarray_op.msgarray[index].handle, &handle_index, &aux_index); - //sm_p->u.readdirplus.size_array[handle_index][aux_index] = get_ntohll(command->attr[10].val); - + sm_p->u.readdirplus.size_array[handle_index][aux_index] = get_ntohll(command->attr->val); + /* memcpy the attributes from osd_command attr to sm_p attr object */ - if (*(PVFS_ds_type*)command->attr[4].val == PVFS_TYPE_DIRECTORY) { - PINT_copy_osd_dir_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command); - } else { - PINT_copy_osd_object_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command); - } +/* if (*(PVFS_ds_type*)command->attr[4].val == PVFS_TYPE_DIRECTORY) {*/ +/* PINT_copy_osd_dir_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command);*/ +/* } else {*/ +/* PINT_copy_osd_object_attr(&sm_p->u.readdirplus.obj_attr_array[handle_index], command);*/ +/* }*/ } osd_command_attr_free(command); @@ -1464,8 +1542,8 @@ static PINT_sm_action readdirplus_cleanup( } else { - gossip_err("Invalid type %d in readdirplus\n", - readdirplus_resp->attr_array[i].objtype); + //gossip_err("Invalid type %d in readdirplus\n", + //readdirplus_resp->attr_array[i].objtype); } } } @@ -1502,9 +1580,23 @@ static uint64_t find_min_handle(struct handle_to_index *input_handle_array, int uint64_t ret = input_handle_array[0].handle; for(i=1; iret) { + ret = input_handle_array[i].handle; + } } return ret; diff --git a/src/client/sysint/sys-remove.sm b/src/client/sysint/sys-remove.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-rename.sm b/src/client/sysint/sys-rename.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-set-eattr.sm b/src/client/sysint/sys-set-eattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-setattr.sm b/src/client/sysint/sys-setattr.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-small-io.sm b/src/client/sysint/sys-small-io.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-statfs.sm b/src/client/sysint/sys-statfs.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-symlink.sm b/src/client/sysint/sys-symlink.sm old mode 100644 new mode 100755 diff --git a/src/client/sysint/sys-truncate.sm b/src/client/sysint/sys-truncate.sm old mode 100644 new mode 100755 diff --git a/src/client/usrint/Makefile b/src/client/usrint/Makefile old mode 100644 new mode 100755 diff --git a/src/client/usrint/README b/src/client/usrint/README old mode 100644 new mode 100755 diff --git a/src/client/usrint/iocommon.c b/src/client/usrint/iocommon.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/iocommon.h b/src/client/usrint/iocommon.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/mmap.c b/src/client/usrint/mmap.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/module.mk.in b/src/client/usrint/module.mk.in old mode 100644 new mode 100755 diff --git a/src/client/usrint/openfile-util.c b/src/client/usrint/openfile-util.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/openfile-util.h b/src/client/usrint/openfile-util.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/posix-ops.h b/src/client/usrint/posix-ops.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/posix-pvfs.c b/src/client/usrint/posix-pvfs.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/posix-pvfs.h b/src/client/usrint/posix-pvfs.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/posix.c b/src/client/usrint/posix.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/request.c b/src/client/usrint/request.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/socket.c b/src/client/usrint/socket.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/stdio-ops.h b/src/client/usrint/stdio-ops.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/stdio-pvfs.h b/src/client/usrint/stdio-pvfs.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/stdio.c b/src/client/usrint/stdio.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/ucache.c b/src/client/usrint/ucache.c old mode 100644 new mode 100755 diff --git a/src/client/usrint/ucache.h b/src/client/usrint/ucache.h old mode 100644 new mode 100755 diff --git a/src/client/usrint/usrint.h b/src/client/usrint/usrint.h old mode 100644 new mode 100755 diff --git a/src/common/avahi/avahi.c b/src/common/avahi/avahi.c old mode 100644 new mode 100755 diff --git a/src/common/avahi/avahi.h b/src/common/avahi/avahi.h old mode 100644 new mode 100755 diff --git a/src/common/avahi/test_avahi_client.c b/src/common/avahi/test_avahi_client.c old mode 100644 new mode 100755 diff --git a/src/common/dotconf/dotconf.c b/src/common/dotconf/dotconf.c old mode 100644 new mode 100755 diff --git a/src/common/dotconf/dotconf.h b/src/common/dotconf/dotconf.h old mode 100644 new mode 100755 diff --git a/src/common/dotconf/module.mk.in b/src/common/dotconf/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/events/debug.h b/src/common/events/debug.h old mode 100644 new mode 100755 diff --git a/src/common/events/fmt_api.h b/src/common/events/fmt_api.h old mode 100644 new mode 100755 diff --git a/src/common/events/fmt_fsm.c b/src/common/events/fmt_fsm.c old mode 100644 new mode 100755 diff --git a/src/common/events/fmt_fsm.h b/src/common/events/fmt_fsm.h old mode 100644 new mode 100755 diff --git a/src/common/events/module.mk.in b/src/common/events/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/events/pvfs_tau_api.c b/src/common/events/pvfs_tau_api.c old mode 100644 new mode 100755 diff --git a/src/common/events/pvfs_tau_api.h b/src/common/events/pvfs_tau_api.h old mode 100644 new mode 100755 diff --git a/src/common/gen-locks/gen-locks.c b/src/common/gen-locks/gen-locks.c old mode 100644 new mode 100755 diff --git a/src/common/gen-locks/gen-locks.h b/src/common/gen-locks/gen-locks.h old mode 100644 new mode 100755 diff --git a/src/common/gen-locks/module.mk.in b/src/common/gen-locks/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/gossip/gossip.c b/src/common/gossip/gossip.c old mode 100644 new mode 100755 diff --git a/src/common/gossip/gossip.h b/src/common/gossip/gossip.h old mode 100644 new mode 100755 diff --git a/src/common/gossip/module.mk.in b/src/common/gossip/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/id-generator/id-generator.c b/src/common/id-generator/id-generator.c old mode 100644 new mode 100755 diff --git a/src/common/id-generator/id-generator.h b/src/common/id-generator/id-generator.h old mode 100644 new mode 100755 diff --git a/src/common/id-generator/module.mk.in b/src/common/id-generator/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/llist/module.mk.in b/src/common/llist/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/mgmt/README b/src/common/mgmt/README old mode 100644 new mode 100755 diff --git a/src/common/mgmt/module.mk.in b/src/common/mgmt/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-context.c b/src/common/mgmt/pint-context.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-context.h b/src/common/mgmt/pint-context.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-mgmt.c b/src/common/mgmt/pint-mgmt.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-mgmt.h b/src/common/mgmt/pint-mgmt.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-op.c b/src/common/mgmt/pint-op.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-op.h b/src/common/mgmt/pint-op.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-queue.c b/src/common/mgmt/pint-queue.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-queue.h b/src/common/mgmt/pint-queue.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-blocking.c b/src/common/mgmt/pint-worker-blocking.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-blocking.h b/src/common/mgmt/pint-worker-blocking.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-external.c b/src/common/mgmt/pint-worker-external.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-external.h b/src/common/mgmt/pint-worker-external.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-none.c b/src/common/mgmt/pint-worker-none.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-none.h b/src/common/mgmt/pint-worker-none.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-per-op.c b/src/common/mgmt/pint-worker-per-op.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-per-op.h b/src/common/mgmt/pint-worker-per-op.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-pool.c b/src/common/mgmt/pint-worker-pool.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-pool.h b/src/common/mgmt/pint-worker-pool.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-queues.c b/src/common/mgmt/pint-worker-queues.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-queues.h b/src/common/mgmt/pint-worker-queues.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-threaded-queues.c b/src/common/mgmt/pint-worker-threaded-queues.c old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker-threaded-queues.h b/src/common/mgmt/pint-worker-threaded-queues.h old mode 100644 new mode 100755 diff --git a/src/common/mgmt/pint-worker.h b/src/common/mgmt/pint-worker.h old mode 100644 new mode 100755 diff --git a/src/common/misc/digest.c b/src/common/misc/digest.c old mode 100644 new mode 100755 diff --git a/src/common/misc/errno-mapping.c b/src/common/misc/errno-mapping.c old mode 100644 new mode 100755 diff --git a/src/common/misc/extent-utils.c b/src/common/misc/extent-utils.c old mode 100644 new mode 100755 diff --git a/src/common/misc/extent-utils.h b/src/common/misc/extent-utils.h old mode 100644 new mode 100755 diff --git a/src/common/misc/mkspace.c b/src/common/misc/mkspace.c old mode 100644 new mode 100755 diff --git a/src/common/misc/mkspace.h b/src/common/misc/mkspace.h old mode 100644 new mode 100755 diff --git a/src/common/misc/mmap-ra-cache.c b/src/common/misc/mmap-ra-cache.c old mode 100644 new mode 100755 diff --git a/src/common/misc/mmap-ra-cache.h b/src/common/misc/mmap-ra-cache.h old mode 100644 new mode 100755 diff --git a/src/common/misc/module.mk.in b/src/common/misc/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/misc/msgpairarray.h b/src/common/misc/msgpairarray.h old mode 100644 new mode 100755 diff --git a/src/common/misc/msgpairarray.sm b/src/common/misc/msgpairarray.sm old mode 100644 new mode 100755 index c2c80d3..47f75e1 --- a/src/common/misc/msgpairarray.sm +++ b/src/common/misc/msgpairarray.sm @@ -105,7 +105,6 @@ nested machine pvfs2_msgpairarray_sm static PINT_sm_action msgpairarray_init( struct PINT_smcb *smcb, job_status_s *js_p) { - gossip_err("msgpairarray_init\n"); PINT_sm_msgarray_op *mop = PINT_sm_frame(smcb, PINT_FRAME_CURRENT); int i = 0; PINT_sm_msgpair_state *msg_p = NULL; @@ -231,7 +230,6 @@ static PINT_sm_action msgpairarray_post( try_next_encoding: assert(ENCODING_IS_VALID(msg_p->enc_type)); - gossip_err("svr_addr: %d\n", msg_p->svr_addr); ret = PINT_encode(&msg_p->req, PINT_ENCODE_REQ, &msg_p->encoded_req, msg_p->svr_addr, msg_p->enc_type); diff --git a/src/common/misc/pint-cached-config.c b/src/common/misc/pint-cached-config.c old mode 100644 new mode 100755 index ee1feb0..eded023 --- a/src/common/misc/pint-cached-config.c +++ b/src/common/misc/pint-cached-config.c @@ -515,7 +515,7 @@ int PINT_cached_config_get_next_meta( cur_mapping = PINT_llist_head( cur_config_cache->meta_server_cursor); - while(randsrv--) + while(randsrv > 0) { cur_config_cache->meta_server_cursor = PINT_llist_next( cur_config_cache->meta_server_cursor); diff --git a/src/common/misc/pint-cached-config.h b/src/common/misc/pint-cached-config.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-eattr.c b/src/common/misc/pint-eattr.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-eattr.h b/src/common/misc/pint-eattr.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-event.c b/src/common/misc/pint-event.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-event.h b/src/common/misc/pint-event.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-hint.c b/src/common/misc/pint-hint.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-hint.h b/src/common/misc/pint-hint.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-mem.c b/src/common/misc/pint-mem.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-mem.h b/src/common/misc/pint-mem.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-perf-counter.c b/src/common/misc/pint-perf-counter.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-perf-counter.h b/src/common/misc/pint-perf-counter.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-uid-mgmt.c b/src/common/misc/pint-uid-mgmt.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-uid-mgmt.h b/src/common/misc/pint-uid-mgmt.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-util.c b/src/common/misc/pint-util.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pint-util.h b/src/common/misc/pint-util.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pvfs2-debug.c b/src/common/misc/pvfs2-debug.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pvfs2-hint.c b/src/common/misc/pvfs2-hint.c old mode 100644 new mode 100755 diff --git a/src/common/misc/pvfs2-internal.h b/src/common/misc/pvfs2-internal.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pvfs2-types-debug.h b/src/common/misc/pvfs2-types-debug.h old mode 100644 new mode 100755 diff --git a/src/common/misc/pvfs2-util.c b/src/common/misc/pvfs2-util.c old mode 100644 new mode 100755 index 4dba566..5f9817a --- a/src/common/misc/pvfs2-util.c +++ b/src/common/misc/pvfs2-util.c @@ -910,7 +910,7 @@ int PVFS_util_remove_internal_mntent( i < s_stat_tab_array[found_index].mntent_count; i++) { current_mnt = &s_stat_tab_array[found_index].mntent_array[i]; - + if ((current_mnt->fs_id == mntent->fs_id) && (strcmp(current_mnt->mnt_dir, mntent->mnt_dir) == 0)) { diff --git a/src/common/misc/realpath.c b/src/common/misc/realpath.c old mode 100644 new mode 100755 diff --git a/src/common/misc/realpath.h b/src/common/misc/realpath.h old mode 100644 new mode 100755 diff --git a/src/common/misc/server-config-mgr.c b/src/common/misc/server-config-mgr.c old mode 100644 new mode 100755 diff --git a/src/common/misc/server-config-mgr.h b/src/common/misc/server-config-mgr.h old mode 100644 new mode 100755 diff --git a/src/common/misc/server-config.c b/src/common/misc/server-config.c old mode 100644 new mode 100755 index 23579d8..65899aa --- a/src/common/misc/server-config.c +++ b/src/common/misc/server-config.c @@ -4346,7 +4346,7 @@ static char *get_handle_range_str( struct filesystem_configuration_s *fs, int meta_handle_range) { - char *ret = (char *)0; + char *ret = NULL; char *my_alias = (char *)0; PINT_llist *cur = NULL; struct host_handle_mapping_s *cur_h_mapping = NULL; @@ -4370,11 +4370,10 @@ static char *get_handle_range_str( assert(cur_h_mapping->alias_mapping->host_alias); assert(cur_h_mapping->handle_range); - if (strcmp(cur_h_mapping->alias_mapping->host_alias, + if (strcmp(cur_h_mapping->alias_mapping->host_alias, my_alias) == 0 || !strncmp(cur_h_mapping->alias_mapping->bmi_address, "osd", 3)) { - ret = cur_h_mapping->handle_range; - break; + ret = PINT_merge_handle_range_strs(ret, cur_h_mapping->handle_range); } cur = PINT_llist_next(cur); } diff --git a/src/common/misc/server-config.h b/src/common/misc/server-config.h old mode 100644 new mode 100755 diff --git a/src/common/misc/state-machine-fns.c b/src/common/misc/state-machine-fns.c old mode 100644 new mode 100755 diff --git a/src/common/misc/state-machine.h b/src/common/misc/state-machine.h old mode 100644 new mode 100755 diff --git a/src/common/misc/str-utils.c b/src/common/misc/str-utils.c old mode 100644 new mode 100755 index bf7067d..82560d1 --- a/src/common/misc/str-utils.c +++ b/src/common/misc/str-utils.c @@ -795,7 +795,11 @@ char *PINT_merge_handle_range_strs(char *range1, char *range2) { char *merged_range = NULL; - if (range1 && range2) + if (!range1 && range2) + return range2; + else if (range1 && !range2) + return range1; + else if (range1 && range2) { int rlen1 = strlen(range1) * sizeof(char) + 1; int rlen2 = strlen(range2) * sizeof(char) + 1; diff --git a/src/common/misc/str-utils.h b/src/common/misc/str-utils.h old mode 100644 new mode 100755 diff --git a/src/common/misc/tcache.c b/src/common/misc/tcache.c old mode 100644 new mode 100755 diff --git a/src/common/misc/tcache.h b/src/common/misc/tcache.h old mode 100644 new mode 100755 diff --git a/src/common/misc/void.sm b/src/common/misc/void.sm old mode 100644 new mode 100755 diff --git a/src/common/misc/xattr-utils.c b/src/common/misc/xattr-utils.c old mode 100644 new mode 100755 diff --git a/src/common/misc/xattr-utils.h b/src/common/misc/xattr-utils.h old mode 100644 new mode 100755 diff --git a/src/common/quickhash/module.mk.in b/src/common/quickhash/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/quickhash/quickhash.h b/src/common/quickhash/quickhash.h old mode 100644 new mode 100755 diff --git a/src/common/quicklist/module.mk.in b/src/common/quicklist/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/quicklist/quicklist.h b/src/common/quicklist/quicklist.h old mode 100644 new mode 100755 diff --git a/src/common/statecomp/codegen.c b/src/common/statecomp/codegen.c old mode 100644 new mode 100755 diff --git a/src/common/statecomp/module.mk.in b/src/common/statecomp/module.mk.in old mode 100644 new mode 100755 diff --git a/src/common/statecomp/parser.y b/src/common/statecomp/parser.y old mode 100644 new mode 100755 diff --git a/src/common/statecomp/scanner.l b/src/common/statecomp/scanner.l old mode 100644 new mode 100755 diff --git a/src/common/statecomp/statecomp.c b/src/common/statecomp/statecomp.c old mode 100644 new mode 100755 diff --git a/src/common/statecomp/statecomp.h b/src/common/statecomp/statecomp.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/TODO b/src/io/bmi/TODO old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi-byteswap.h b/src/io/bmi/bmi-byteswap.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi-method-callback.h b/src/io/bmi/bmi-method-callback.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi-method-support.c b/src/io/bmi/bmi-method-support.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi-method-support.h b/src/io/bmi/bmi-method-support.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi-types.h b/src/io/bmi/bmi-types.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi.c b/src/io/bmi/bmi.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi.h b/src/io/bmi/bmi.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm-addr-list.c b/src/io/bmi/bmi_gm/bmi-gm-addr-list.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm-addr-list.h b/src/io/bmi/bmi_gm/bmi-gm-addr-list.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm-addressing.h b/src/io/bmi/bmi_gm/bmi-gm-addressing.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm-bufferpool.c b/src/io/bmi/bmi_gm/bmi-gm-bufferpool.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm-bufferpool.h b/src/io/bmi/bmi_gm/bmi-gm-bufferpool.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/bmi-gm.c b/src/io/bmi/bmi_gm/bmi-gm.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_gm/module.mk.in b/src/io/bmi/bmi_gm/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/README b/src/io/bmi/bmi_ib/README old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/ib.c b/src/io/bmi/bmi_ib/ib.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/ib.h b/src/io/bmi/bmi_ib/ib.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/mem.c b/src/io/bmi/bmi_ib/mem.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/module.mk.in b/src/io/bmi/bmi_ib/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/openib.c b/src/io/bmi/bmi_ib/openib.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/util.c b/src/io/bmi/bmi_ib/util.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_ib/vapi.c b/src/io/bmi/bmi_ib/vapi.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_mx/README b/src/io/bmi/bmi_mx/README old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_mx/module.mk.in b/src/io/bmi/bmi_mx/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_mx/mx.c b/src/io/bmi/bmi_mx/mx.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_mx/mx.h b/src/io/bmi/bmi_mx/mx.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_osd/module.mk.in b/src/io/bmi/bmi_osd/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_osd/osd.c b/src/io/bmi/bmi_osd/osd.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_portals/README b/src/io/bmi/bmi_portals/README old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_portals/module.mk.in b/src/io/bmi/bmi_portals/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_portals/portals.c b/src/io/bmi/bmi_portals/portals.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/bmi-tcp-addressing.h b/src/io/bmi/bmi_tcp/bmi-tcp-addressing.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/bmi-tcp.c b/src/io/bmi/bmi_tcp/bmi-tcp.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/module.mk.in b/src/io/bmi/bmi_tcp/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/socket-collection-epoll.c b/src/io/bmi/bmi_tcp/socket-collection-epoll.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/socket-collection-epoll.h b/src/io/bmi/bmi_tcp/socket-collection-epoll.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/socket-collection.c b/src/io/bmi/bmi_tcp/socket-collection.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_tcp/socket-collection.h b/src/io/bmi/bmi_tcp/socket-collection.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/README b/src/io/bmi/bmi_zoid/README old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/dlmalloc.c b/src/io/bmi/bmi_zoid/dlmalloc.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/dlmalloc.h b/src/io/bmi/bmi_zoid/dlmalloc.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/module.mk.in b/src/io/bmi/bmi_zoid/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/server.c b/src/io/bmi/bmi_zoid/server.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/zbmi_pool.c b/src/io/bmi/bmi_zoid/zbmi_pool.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/zbmi_pool.h b/src/io/bmi/bmi_zoid/zbmi_pool.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/zoid.c b/src/io/bmi/bmi_zoid/zoid.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/bmi_zoid/zoid.h b/src/io/bmi/bmi_zoid/zoid.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/module.mk.in b/src/io/bmi/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/bmi/op-list.c b/src/io/bmi/op-list.c old mode 100644 new mode 100755 diff --git a/src/io/bmi/op-list.h b/src/io/bmi/op-list.h old mode 100644 new mode 100755 diff --git a/src/io/bmi/reference-list.h b/src/io/bmi/reference-list.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/README b/src/io/buffer/README old mode 100644 new mode 100755 diff --git a/src/io/buffer/aiovec.h b/src/io/buffer/aiovec.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/cache.c b/src/io/buffer/cache.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/cache.h b/src/io/buffer/cache.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/flags.h b/src/io/buffer/flags.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/internal.c b/src/io/buffer/internal.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/internal.h b/src/io/buffer/internal.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/module.mk.in b/src/io/buffer/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-buf-job.c b/src/io/buffer/ncac-buf-job.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-init.c b/src/io/buffer/ncac-init.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-interface.c b/src/io/buffer/ncac-interface.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-interface.h b/src/io/buffer/ncac-interface.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-job.c b/src/io/buffer/ncac-job.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-job.h b/src/io/buffer/ncac-job.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-list.h b/src/io/buffer/ncac-list.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-locks.h b/src/io/buffer/ncac-locks.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-lru.c b/src/io/buffer/ncac-lru.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-lru.h b/src/io/buffer/ncac-lru.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-trove.c b/src/io/buffer/ncac-trove.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/ncac-trove.h b/src/io/buffer/ncac-trove.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/radix.c b/src/io/buffer/radix.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/radix.h b/src/io/buffer/radix.h old mode 100644 new mode 100755 diff --git a/src/io/buffer/state.c b/src/io/buffer/state.c old mode 100644 new mode 100755 diff --git a/src/io/buffer/state.h b/src/io/buffer/state.h old mode 100644 new mode 100755 diff --git a/src/io/description/dist-basic.c b/src/io/description/dist-basic.c old mode 100644 new mode 100755 diff --git a/src/io/description/dist-simple-stripe.c b/src/io/description/dist-simple-stripe.c old mode 100644 new mode 100755 diff --git a/src/io/description/dist-twod-stripe.c b/src/io/description/dist-twod-stripe.c old mode 100644 new mode 100755 diff --git a/src/io/description/dist-varstrip-parser.c b/src/io/description/dist-varstrip-parser.c old mode 100644 new mode 100755 diff --git a/src/io/description/dist-varstrip-parser.h b/src/io/description/dist-varstrip-parser.h old mode 100644 new mode 100755 diff --git a/src/io/description/dist-varstrip.c b/src/io/description/dist-varstrip.c old mode 100644 new mode 100755 diff --git a/src/io/description/module.mk.in b/src/io/description/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/description/pint-dist-utils.c b/src/io/description/pint-dist-utils.c old mode 100644 new mode 100755 diff --git a/src/io/description/pint-dist-utils.h b/src/io/description/pint-dist-utils.h old mode 100644 new mode 100755 diff --git a/src/io/description/pint-distribution.c b/src/io/description/pint-distribution.c old mode 100644 new mode 100755 diff --git a/src/io/description/pint-distribution.h b/src/io/description/pint-distribution.h old mode 100644 new mode 100755 diff --git a/src/io/description/pint-request-encode.h b/src/io/description/pint-request-encode.h old mode 100644 new mode 100755 diff --git a/src/io/description/pint-request.c b/src/io/description/pint-request.c old mode 100644 new mode 100755 diff --git a/src/io/description/pint-request.h b/src/io/description/pint-request.h old mode 100644 new mode 100755 diff --git a/src/io/description/pvfs-request.c b/src/io/description/pvfs-request.c old mode 100644 new mode 100755 diff --git a/src/io/description/usage-notes.txt b/src/io/description/usage-notes.txt old mode 100644 new mode 100755 diff --git a/src/io/dev/module.mk.in b/src/io/dev/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/dev/pint-dev-shared.h b/src/io/dev/pint-dev-shared.h old mode 100644 new mode 100755 diff --git a/src/io/dev/pint-dev.c b/src/io/dev/pint-dev.c old mode 100644 new mode 100755 diff --git a/src/io/dev/pint-dev.h b/src/io/dev/pint-dev.h old mode 100644 new mode 100755 diff --git a/src/io/flow/TODO b/src/io/flow/TODO old mode 100644 new mode 100755 diff --git a/src/io/flow/flow-queue.c b/src/io/flow/flow-queue.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flow-queue.h b/src/io/flow/flow-queue.h old mode 100644 new mode 100755 diff --git a/src/io/flow/flow-ref.c b/src/io/flow/flow-ref.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flow-ref.h b/src/io/flow/flow-ref.h old mode 100644 new mode 100755 diff --git a/src/io/flow/flow.c b/src/io/flow/flow.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flow.h b/src/io/flow/flow.h old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-bmi-cache/flowproto-bmi-cache-server.c b/src/io/flow/flowproto-bmi-cache/flowproto-bmi-cache-server.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-bmi-cache/module.mk.in b/src/io/flow/flowproto-bmi-cache/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-bmi-trove/flowproto-multiqueue.c b/src/io/flow/flowproto-bmi-trove/flowproto-multiqueue.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-bmi-trove/module.mk.in b/src/io/flow/flowproto-bmi-trove/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-dump-offsets/flowproto-dump-offsets.c b/src/io/flow/flowproto-dump-offsets/flowproto-dump-offsets.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-dump-offsets/module.mk.in b/src/io/flow/flowproto-dump-offsets/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-support.h b/src/io/flow/flowproto-support.h old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-template/flowproto-template.c b/src/io/flow/flowproto-template/flowproto-template.c old mode 100644 new mode 100755 diff --git a/src/io/flow/flowproto-template/module.mk.in b/src/io/flow/flowproto-template/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/flow/module.mk.in b/src/io/flow/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/job/TODO b/src/io/job/TODO old mode 100644 new mode 100755 diff --git a/src/io/job/job-desc-queue.c b/src/io/job/job-desc-queue.c old mode 100644 new mode 100755 diff --git a/src/io/job/job-desc-queue.h b/src/io/job/job-desc-queue.h old mode 100644 new mode 100755 diff --git a/src/io/job/job-time-mgr.c b/src/io/job/job-time-mgr.c old mode 100644 new mode 100755 diff --git a/src/io/job/job-time-mgr.h b/src/io/job/job-time-mgr.h old mode 100644 new mode 100755 diff --git a/src/io/job/job.c b/src/io/job/job.c old mode 100644 new mode 100755 diff --git a/src/io/job/job.h b/src/io/job/job.h old mode 100644 new mode 100755 diff --git a/src/io/job/module.mk.in b/src/io/job/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/job/thread-mgr.c b/src/io/job/thread-mgr.c old mode 100644 new mode 100755 diff --git a/src/io/job/thread-mgr.h b/src/io/job/thread-mgr.h old mode 100644 new mode 100755 diff --git a/src/io/trove/README b/src/io/trove/README old mode 100644 new mode 100755 diff --git a/src/io/trove/STATUS b/src/io/trove/STATUS old mode 100644 new mode 100755 diff --git a/src/io/trove/TODO b/src/io/trove/TODO old mode 100644 new mode 100755 diff --git a/src/io/trove/module.mk.in b/src/io/trove/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/trove/pvfs2-storage.h b/src/io/trove/pvfs2-storage.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/README b/src/io/trove/trove-dbpf/README old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-alt-aio.c b/src/io/trove/trove-dbpf/dbpf-alt-aio.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-alt-aio.h b/src/io/trove/trove-dbpf/dbpf-alt-aio.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-attr-cache.c b/src/io/trove/trove-dbpf/dbpf-attr-cache.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-attr-cache.h b/src/io/trove/trove-dbpf/dbpf-attr-cache.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-bstream-aio.c b/src/io/trove/trove-dbpf/dbpf-bstream-aio.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-bstream-direct.c b/src/io/trove/trove-dbpf/dbpf-bstream-direct.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-bstream-direct.h b/src/io/trove/trove-dbpf/dbpf-bstream-direct.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-bstream.c b/src/io/trove/trove-dbpf/dbpf-bstream.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-bstream.h b/src/io/trove/trove-dbpf/dbpf-bstream.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-collection.c b/src/io/trove/trove-dbpf/dbpf-collection.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-context.c b/src/io/trove/trove-dbpf/dbpf-context.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-context.h b/src/io/trove/trove-dbpf/dbpf-context.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-dspace.c b/src/io/trove/trove-dbpf/dbpf-dspace.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-error.c b/src/io/trove/trove-dbpf/dbpf-error.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-keyval-pcache.c b/src/io/trove/trove-dbpf/dbpf-keyval-pcache.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-keyval-pcache.h b/src/io/trove/trove-dbpf/dbpf-keyval-pcache.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-keyval.c b/src/io/trove/trove-dbpf/dbpf-keyval.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-mgmt.c b/src/io/trove/trove-dbpf/dbpf-mgmt.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-null-aio.c b/src/io/trove/trove-dbpf/dbpf-null-aio.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-op-queue.c b/src/io/trove/trove-dbpf/dbpf-op-queue.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-op-queue.h b/src/io/trove/trove-dbpf/dbpf-op-queue.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-op.c b/src/io/trove/trove-dbpf/dbpf-op.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-op.h b/src/io/trove/trove-dbpf/dbpf-op.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-open-cache.c b/src/io/trove/trove-dbpf/dbpf-open-cache.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-open-cache.h b/src/io/trove/trove-dbpf/dbpf-open-cache.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-sync.c b/src/io/trove/trove-dbpf/dbpf-sync.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-sync.h b/src/io/trove/trove-dbpf/dbpf-sync.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-thread.c b/src/io/trove/trove-dbpf/dbpf-thread.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf-thread.h b/src/io/trove/trove-dbpf/dbpf-thread.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/dbpf.h b/src/io/trove/trove-dbpf/dbpf.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-dbpf/module.mk.in b/src/io/trove/trove-dbpf/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-error.c b/src/io/trove/trove-error.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/avltree.c b/src/io/trove/trove-handle-mgmt/avltree.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/avltree.h b/src/io/trove/trove-handle-mgmt/avltree.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/module.mk.in b/src/io/trove/trove-handle-mgmt/module.mk.in old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-extentlist.c b/src/io/trove/trove-handle-mgmt/trove-extentlist.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-extentlist.h b/src/io/trove/trove-handle-mgmt/trove-extentlist.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-handle-mgmt.c b/src/io/trove/trove-handle-mgmt/trove-handle-mgmt.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-handle-mgmt.h b/src/io/trove/trove-handle-mgmt/trove-handle-mgmt.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-ledger.c b/src/io/trove/trove-handle-mgmt/trove-ledger.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-handle-mgmt/trove-ledger.h b/src/io/trove/trove-handle-mgmt/trove-ledger.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-internal.h b/src/io/trove/trove-internal.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-mgmt.c b/src/io/trove/trove-mgmt.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-migrate.c b/src/io/trove/trove-migrate.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove-types.h b/src/io/trove/trove-types.h old mode 100644 new mode 100755 diff --git a/src/io/trove/trove.c b/src/io/trove/trove.c old mode 100644 new mode 100755 diff --git a/src/io/trove/trove.h b/src/io/trove/trove.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.4/Makefile.in b/src/kernel/linux-2.4/Makefile.in old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/.pvfs-request.o.d b/src/kernel/linux-2.6/.pvfs-request.o.d old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/Makefile.in b/src/kernel/linux-2.6/Makefile.in old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/Module.symvers b/src/kernel/linux-2.6/Module.symvers old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/acl.c b/src/kernel/linux-2.6/acl.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/dcache.c b/src/kernel/linux-2.6/dcache.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/devpvfs2-req.c b/src/kernel/linux-2.6/devpvfs2-req.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/dir.c b/src/kernel/linux-2.6/dir.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/downcall.h b/src/kernel/linux-2.6/downcall.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/file.c b/src/kernel/linux-2.6/file.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/inode.c b/src/kernel/linux-2.6/inode.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/modules.order b/src/kernel/linux-2.6/modules.order old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/namei.c b/src/kernel/linux-2.6/namei.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/osd.c b/src/kernel/linux-2.6/osd.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/osd.h b/src/kernel/linux-2.6/osd.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-bufmap.c b/src/kernel/linux-2.6/pvfs2-bufmap.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-bufmap.h b/src/kernel/linux-2.6/pvfs2-bufmap.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-cache.c b/src/kernel/linux-2.6/pvfs2-cache.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-dev-proto.h b/src/kernel/linux-2.6/pvfs2-dev-proto.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-kernel.h b/src/kernel/linux-2.6/pvfs2-kernel.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-mod.c b/src/kernel/linux-2.6/pvfs2-mod.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-proc.c b/src/kernel/linux-2.6/pvfs2-proc.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-proc.h b/src/kernel/linux-2.6/pvfs2-proc.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/pvfs2-utils.c b/src/kernel/linux-2.6/pvfs2-utils.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/super.c b/src/kernel/linux-2.6/super.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/symlink.c b/src/kernel/linux-2.6/symlink.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/upcall.h b/src/kernel/linux-2.6/upcall.h old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/waitqueue.c b/src/kernel/linux-2.6/waitqueue.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/xattr-default.c b/src/kernel/linux-2.6/xattr-default.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/xattr-trusted.c b/src/kernel/linux-2.6/xattr-trusted.c old mode 100644 new mode 100755 diff --git a/src/kernel/linux-2.6/xattr.c b/src/kernel/linux-2.6/xattr.c old mode 100644 new mode 100755 diff --git a/src/proto/PINT-le-bytefield.c b/src/proto/PINT-le-bytefield.c old mode 100644 new mode 100755 diff --git a/src/proto/PINT-reqproto-encode.c b/src/proto/PINT-reqproto-encode.c old mode 100644 new mode 100755 diff --git a/src/proto/PINT-reqproto-encode.h b/src/proto/PINT-reqproto-encode.h old mode 100644 new mode 100755 diff --git a/src/proto/PINT-reqproto-module.h b/src/proto/PINT-reqproto-module.h old mode 100644 new mode 100755 diff --git a/src/proto/endecode-funcs.c b/src/proto/endecode-funcs.c old mode 100644 new mode 100755 diff --git a/src/proto/endecode-funcs.h b/src/proto/endecode-funcs.h old mode 100644 new mode 100755 diff --git a/src/proto/module.mk.in b/src/proto/module.mk.in old mode 100644 new mode 100755 diff --git a/src/proto/pvfs2-attr.h b/src/proto/pvfs2-attr.h old mode 100644 new mode 100755 diff --git a/src/proto/pvfs2-req-proto.h b/src/proto/pvfs2-req-proto.h old mode 100644 new mode 100755 diff --git a/src/server/batch-create.sm b/src/server/batch-create.sm old mode 100644 new mode 100755 diff --git a/src/server/batch-remove.sm b/src/server/batch-remove.sm old mode 100644 new mode 100755 diff --git a/src/server/chdirent.sm b/src/server/chdirent.sm old mode 100644 new mode 100755 diff --git a/src/server/check.c b/src/server/check.c old mode 100644 new mode 100755 diff --git a/src/server/check.h b/src/server/check.h old mode 100644 new mode 100755 diff --git a/src/server/crdirent.sm b/src/server/crdirent.sm old mode 100644 new mode 100755 diff --git a/src/server/create-immutable-copies.sm b/src/server/create-immutable-copies.sm old mode 100644 new mode 100755 diff --git a/src/server/create.sm b/src/server/create.sm old mode 100644 new mode 100755 index 4b7147a..3faffed --- a/src/server/create.sm +++ b/src/server/create.sm @@ -170,7 +170,6 @@ static int create_metafile( return SM_ACTION_COMPLETE; } - /* first state to check in, make sure the attr mask contains the dist bit. * it's required later (not sure if we have to require it) but if we don't * have it here, return an EINVAL */ @@ -607,6 +606,9 @@ static PINT_sm_action setup_local_datafile_handles( PINT_llist *cur = NULL; struct host_alias_s *cur_alias; server_configuration_s *config = get_server_config_struct(); + int server_count = 0; + int randsrv = 0; + int iterator = 0; if(config->osd_type == OSD_DATAFILE || config->osd_type == OSD_MDFILE) { @@ -618,17 +620,33 @@ static PINT_sm_action setup_local_datafile_handles( { break; } - if(!strncmp(cur_alias->bmi_address, "osd", 3)) { + + server_count++; + cur = PINT_llist_next(cur); + } + + randsrv = (rand() % server_count); + cur = config->host_aliases; + while(cur) + { + cur_alias = PINT_llist_head(cur); + if (!cur_alias) + { + break; + } + if((iterator >= randsrv) && (!strncmp(cur_alias->bmi_address, "osd", 3))) { PINT_cached_config_get_server( s_op->req->u.create.fs_id, cur_alias->bmi_address, PINT_SERVER_TYPE_IO, &data_handle_ext_array); + break; } cur = PINT_llist_next(cur); + iterator++; } - - s_op->u.create.num_io_servers = s_op->req->u.create.num_dfiles_req; + + s_op->u.create.num_io_servers = 1; s_op->req->u.create.attr.u.meta.dfile_count = s_op->u.create.num_io_servers; s_op->resp.u.create.datafile_count = s_op->u.create.num_io_servers; diff --git a/src/server/del-eattr.sm b/src/server/del-eattr.sm old mode 100644 new mode 100755 diff --git a/src/server/event-mon.sm b/src/server/event-mon.sm old mode 100644 new mode 100755 diff --git a/src/server/final-response.sm b/src/server/final-response.sm old mode 100644 new mode 100755 diff --git a/src/server/flush.sm b/src/server/flush.sm old mode 100644 new mode 100755 diff --git a/src/server/get-attr.sm b/src/server/get-attr.sm old mode 100644 new mode 100755 diff --git a/src/server/get-config.sm b/src/server/get-config.sm old mode 100644 new mode 100755 diff --git a/src/server/get-eattr.sm b/src/server/get-eattr.sm old mode 100644 new mode 100755 diff --git a/src/server/io.sm b/src/server/io.sm old mode 100644 new mode 100755 diff --git a/src/server/iterate-handles.sm b/src/server/iterate-handles.sm old mode 100644 new mode 100755 diff --git a/src/server/job-timer.sm b/src/server/job-timer.sm old mode 100644 new mode 100755 diff --git a/src/server/list-attr.sm b/src/server/list-attr.sm old mode 100644 new mode 100755 diff --git a/src/server/list-eattr.sm b/src/server/list-eattr.sm old mode 100644 new mode 100755 diff --git a/src/server/lookup.sm b/src/server/lookup.sm old mode 100644 new mode 100755 diff --git a/src/server/mgmt-get-dirdata-handle.sm b/src/server/mgmt-get-dirdata-handle.sm old mode 100644 new mode 100755 diff --git a/src/server/mgmt-get-uid.sm b/src/server/mgmt-get-uid.sm old mode 100644 new mode 100755 diff --git a/src/server/mgmt-remove-dirent.sm b/src/server/mgmt-remove-dirent.sm old mode 100644 new mode 100755 diff --git a/src/server/mgmt-remove-object.sm b/src/server/mgmt-remove-object.sm old mode 100644 new mode 100755 diff --git a/src/server/mirror.sm b/src/server/mirror.sm old mode 100644 new mode 100755 diff --git a/src/server/mkdir.sm b/src/server/mkdir.sm old mode 100644 new mode 100755 diff --git a/src/server/module.mk.in b/src/server/module.mk.in old mode 100644 new mode 100755 diff --git a/src/server/noop.sm b/src/server/noop.sm old mode 100644 new mode 100755 diff --git a/src/server/perf-mon.sm b/src/server/perf-mon.sm old mode 100644 new mode 100755 diff --git a/src/server/perf-update.sm b/src/server/perf-update.sm old mode 100644 new mode 100755 diff --git a/src/server/pjmp-machines.sm b/src/server/pjmp-machines.sm old mode 100644 new mode 100755 diff --git a/src/server/precreate-pool-refiller.sm b/src/server/precreate-pool-refiller.sm old mode 100644 new mode 100755 diff --git a/src/server/prelude.sm b/src/server/prelude.sm old mode 100644 new mode 100755 diff --git a/src/server/proto-error.sm b/src/server/proto-error.sm old mode 100644 new mode 100755 diff --git a/src/server/pvfs2-server-req.c b/src/server/pvfs2-server-req.c old mode 100644 new mode 100755 diff --git a/src/server/pvfs2-server-stub b/src/server/pvfs2-server-stub old mode 100644 new mode 100755 diff --git a/src/server/pvfs2-server.c b/src/server/pvfs2-server.c old mode 100644 new mode 100755 diff --git a/src/server/pvfs2-server.h b/src/server/pvfs2-server.h old mode 100644 new mode 100755 diff --git a/src/server/readdir.sm b/src/server/readdir.sm old mode 100644 new mode 100755 diff --git a/src/server/remove.sm b/src/server/remove.sm old mode 100644 new mode 100755 diff --git a/src/server/request-scheduler/module.mk.in b/src/server/request-scheduler/module.mk.in old mode 100644 new mode 100755 diff --git a/src/server/request-scheduler/request-scheduler.c b/src/server/request-scheduler/request-scheduler.c old mode 100644 new mode 100755 diff --git a/src/server/request-scheduler/request-scheduler.h b/src/server/request-scheduler/request-scheduler.h old mode 100644 new mode 100755 diff --git a/src/server/rmdirent.sm b/src/server/rmdirent.sm old mode 100644 new mode 100755 diff --git a/src/server/set-attr.sm b/src/server/set-attr.sm old mode 100644 new mode 100755 diff --git a/src/server/set-eattr.sm b/src/server/set-eattr.sm old mode 100644 new mode 100755 diff --git a/src/server/setparam.sm b/src/server/setparam.sm old mode 100644 new mode 100755 diff --git a/src/server/small-io.sm b/src/server/small-io.sm old mode 100644 new mode 100755 diff --git a/src/server/statfs.sm b/src/server/statfs.sm old mode 100644 new mode 100755 diff --git a/src/server/tree-communicate.sm b/src/server/tree-communicate.sm old mode 100644 new mode 100755 diff --git a/src/server/truncate.sm b/src/server/truncate.sm old mode 100644 new mode 100755 diff --git a/src/server/unexpected.sm b/src/server/unexpected.sm old mode 100644 new mode 100755 diff --git a/src/server/unstuff.sm b/src/server/unstuff.sm old mode 100644 new mode 100755 diff --git a/test/.cvsignore b/test/.cvsignore old mode 100644 new mode 100755 diff --git a/test/Makefile.in b/test/Makefile.in old mode 100644 new mode 100755 diff --git a/test/automated/CONFIG.template b/test/automated/CONFIG.template old mode 100644 new mode 100755 diff --git a/test/automated/PAVCONFIG.template b/test/automated/PAVCONFIG.template old mode 100644 new mode 100755 diff --git a/test/automated/README.tests b/test/automated/README.tests old mode 100644 new mode 100755 diff --git a/test/automated/mpi-vfs-tests.d/Makefile b/test/automated/mpi-vfs-tests.d/Makefile old mode 100644 new mode 100755 diff --git a/test/automated/mpi-vfs-tests.d/fsx-mpi.c b/test/automated/mpi-vfs-tests.d/fsx-mpi.c old mode 100644 new mode 100755 diff --git a/test/automated/mpiio-tests.d/functions b/test/automated/mpiio-tests.d/functions old mode 100644 new mode 100755 diff --git a/test/automated/mpiio-tests.d/heidelberg-IO.c b/test/automated/mpiio-tests.d/heidelberg-IO.c old mode 100644 new mode 100755 diff --git a/test/automated/mpiio-tests.d/stadler-file-view-test.cpp b/test/automated/mpiio-tests.d/stadler-file-view-test.cpp old mode 100644 new mode 100755 diff --git a/test/automated/mpiio-tests.d/stadler-file-view-test.std b/test/automated/mpiio-tests.d/stadler-file-view-test.std old mode 100644 new mode 100755 diff --git a/test/automated/nightly-tests.cfg b/test/automated/nightly-tests.cfg old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/dbench.patch b/test/automated/vfs-tests.d/dbench.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/fstest.c b/test/automated/vfs-tests.d/fstest.c old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/fsx.c b/test/automated/vfs-tests.d/fsx.c old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/iozone.patch b/test/automated/vfs-tests.d/iozone.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-20080630-accept4-wrapper.patch b/test/automated/vfs-tests.d/ltp-20080630-accept4-wrapper.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-20080630-hackbench-limits.patch b/test/automated/vfs-tests.d/ltp-20080630-hackbench-limits.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-20080630-zoo-path.patch b/test/automated/vfs-tests.d/ltp-20080630-zoo-path.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-full-20081130-no-signalfd.patch b/test/automated/vfs-tests.d/ltp-full-20081130-no-signalfd.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-full-20081130-unzip.patch b/test/automated/vfs-tests.d/ltp-full-20081130-unzip.patch old mode 100644 new mode 100755 diff --git a/test/automated/vfs-tests.d/ltp-pvfs-testcases b/test/automated/vfs-tests.d/ltp-pvfs-testcases old mode 100644 new mode 100755 diff --git a/test/ci/jenkins-test.sh b/test/ci/jenkins-test.sh old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/module.mk.in b/test/client/mpi-io/module.mk.in old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/mpi-io-test.c b/test/client/mpi-io/mpi-io-test.c old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/mpi-md-test.c b/test/client/mpi-io/mpi-md-test.c old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/mpi-unbalanced-test.c b/test/client/mpi-io/mpi-unbalanced-test.c old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/multi-md-test-size-sweep.c b/test/client/mpi-io/multi-md-test-size-sweep.c old mode 100644 new mode 100755 diff --git a/test/client/mpi-io/multi-md-test.c b/test/client/mpi-io/multi-md-test.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/client.c b/test/client/sysint/client.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/client.h b/test/client/sysint/client.h old mode 100644 new mode 100755 diff --git a/test/client/sysint/create-with-dist.c b/test/client/sysint/create-with-dist.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/create.c b/test/client/sysint/create.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/create.set.get.eattr.c b/test/client/sysint/create.set.get.eattr.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/del-eattr.c b/test/client/sysint/del-eattr.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/dmkdir.c b/test/client/sysint/dmkdir.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/find.c b/test/client/sysint/find.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/flush-1.c b/test/client/sysint/flush-1.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/flush-2.c b/test/client/sysint/flush-2.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/get-eattr.c b/test/client/sysint/get-eattr.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/get-info.c b/test/client/sysint/get-info.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/getattr-test-threaded.c b/test/client/sysint/getattr-test-threaded.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/getparent.c b/test/client/sysint/getparent.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/initialize-dyn.c b/test/client/sysint/initialize-dyn.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/initialize.c b/test/client/sysint/initialize.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-bug.c b/test/client/sysint/io-bug.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-hole.c b/test/client/sysint/io-hole.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-stress.c b/test/client/sysint/io-stress.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-test-offset.c b/test/client/sysint/io-test-offset.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-test-threaded.c b/test/client/sysint/io-test-threaded.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/io-test.c b/test/client/sysint/io-test.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/list-eattr.c b/test/client/sysint/list-eattr.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/lookup-test1.sh b/test/client/sysint/lookup-test1.sh old mode 100644 new mode 100755 diff --git a/test/client/sysint/lookup-test2.sh b/test/client/sysint/lookup-test2.sh old mode 100644 new mode 100755 diff --git a/test/client/sysint/lookup-test3.sh b/test/client/sysint/lookup-test3.sh old mode 100644 new mode 100755 diff --git a/test/client/sysint/lookup.c b/test/client/sysint/lookup.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/ls.c b/test/client/sysint/ls.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/mkdir.c b/test/client/sysint/mkdir.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/module.mk.in b/test/client/sysint/module.mk.in old mode 100644 new mode 100755 diff --git a/test/client/sysint/ncache-torture.c b/test/client/sysint/ncache-torture.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/path-test.c b/test/client/sysint/path-test.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/pvfs2tab b/test/client/sysint/pvfs2tab old mode 100644 new mode 100755 diff --git a/test/client/sysint/readdir.c b/test/client/sysint/readdir.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/remove.c b/test/client/sysint/remove.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/remove.sh b/test/client/sysint/remove.sh old mode 100644 new mode 100755 diff --git a/test/client/sysint/rename.c b/test/client/sysint/rename.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/set-eattr.c b/test/client/sysint/set-eattr.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/set-info.c b/test/client/sysint/set-info.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/symlink.c b/test/client/sysint/symlink.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/test-accesses.c b/test/client/sysint/test-accesses.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/test-create-scale.c b/test/client/sysint/test-create-scale.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/test-hindexed-test.c b/test/client/sysint/test-hindexed-test.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/test-pint-bucket.c b/test/client/sysint/test-pint-bucket.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/test-pint-ncache.c b/test/client/sysint/test-pint-ncache.c old mode 100644 new mode 100755 diff --git a/test/client/sysint/truncate.c b/test/client/sysint/truncate.c old mode 100644 new mode 100755 diff --git a/test/client/vfs/module.mk.in b/test/client/vfs/module.mk.in old mode 100644 new mode 100755 diff --git a/test/client/vfs/test-mkdir.c b/test/client/vfs/test-mkdir.c old mode 100644 new mode 100755 diff --git a/test/client/vfs/test-setgid.c b/test/client/vfs/test-setgid.c old mode 100644 new mode 100755 diff --git a/test/client/vfs/test-symlink-perms.c b/test/client/vfs/test-symlink-perms.c old mode 100644 new mode 100755 diff --git a/test/common/gen-locks/module.mk.in b/test/common/gen-locks/module.mk.in old mode 100644 new mode 100755 diff --git a/test/common/gen-locks/test-null-lock.c b/test/common/gen-locks/test-null-lock.c old mode 100644 new mode 100755 diff --git a/test/common/gen-locks/test-pthread-lock.c b/test/common/gen-locks/test-pthread-lock.c old mode 100644 new mode 100755 diff --git a/test/common/gossip/module.mk.in b/test/common/gossip/module.mk.in old mode 100644 new mode 100755 diff --git a/test/common/gossip/test-gossip.c b/test/common/gossip/test-gossip.c old mode 100644 new mode 100755 diff --git a/test/common/gossip/time-gossip.c b/test/common/gossip/time-gossip.c old mode 100644 new mode 100755 diff --git a/test/common/id-generator/module.mk.in b/test/common/id-generator/module.mk.in old mode 100644 new mode 100755 diff --git a/test/common/id-generator/test.c b/test/common/id-generator/test.c old mode 100644 new mode 100755 diff --git a/test/common/misc/module.mk.in b/test/common/misc/module.mk.in old mode 100644 new mode 100755 diff --git a/test/common/misc/test-event-parser.c b/test/common/misc/test-event-parser.c old mode 100644 new mode 100755 diff --git a/test/common/misc/test-event-summary.c b/test/common/misc/test-event-summary.c old mode 100644 new mode 100755 diff --git a/test/common/misc/test-perf-counter.c b/test/common/misc/test-perf-counter.c old mode 100644 new mode 100755 diff --git a/test/common/misc/test-tcache.c b/test/common/misc/test-tcache.c old mode 100644 new mode 100755 diff --git a/test/common/pav/CHANGES b/test/common/pav/CHANGES old mode 100644 new mode 100755 diff --git a/test/common/pav/INSTALL b/test/common/pav/INSTALL old mode 100644 new mode 100755 diff --git a/test/common/pav/README b/test/common/pav/README old mode 100644 new mode 100755 diff --git a/test/common/pav/TODO b/test/common/pav/TODO old mode 100644 new mode 100755 diff --git a/test/common/pav/configfile.sample.in b/test/common/pav/configfile.sample.in old mode 100644 new mode 100755 diff --git a/test/common/pav/machines.pav b/test/common/pav/machines.pav old mode 100644 new mode 100755 diff --git a/test/common/pav/pav_lib.pl b/test/common/pav/pav_lib.pl old mode 100644 new mode 100755 diff --git a/test/common/quicklist/example.c b/test/common/quicklist/example.c old mode 100644 new mode 100755 diff --git a/test/common/quicklist/module.mk.in b/test/common/quicklist/module.mk.in old mode 100644 new mode 100755 diff --git a/test/configure.in b/test/configure.in old mode 100644 new mode 100755 diff --git a/test/correctness/module.mk.in b/test/correctness/module.mk.in old mode 100644 new mode 100755 diff --git a/test/correctness/mpi-active-delete.c b/test/correctness/mpi-active-delete.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/README b/test/correctness/pts/README old mode 100644 new mode 100755 diff --git a/test/correctness/pts/create.c b/test/correctness/pts/create.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/generic-parser.c b/test/correctness/pts/generic-parser.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/generic.h b/test/correctness/pts/generic.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/module.mk.in b/test/correctness/pts/module.mk.in old mode 100644 new mode 100755 diff --git a/test/correctness/pts/null-params-parser.c b/test/correctness/pts/null-params-parser.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/null_params.h b/test/correctness/pts/null_params.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pathological_tests.conf b/test/correctness/pts/pathological_tests.conf old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pts.c b/test/correctness/pts/pts.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pts.h b/test/correctness/pts/pts.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-helper.c b/test/correctness/pts/pvfs-helper.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-helper.h b/test/correctness/pts/pvfs-helper.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-restart-server.c b/test/correctness/pts/pvfs-restart-server.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-restart-server.h b/test/correctness/pts/pvfs-restart-server.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-stop-server.c b/test/correctness/pts/pvfs-stop-server.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs-stop-server.h b/test/correctness/pts/pvfs-stop-server.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/pvfs2tab b/test/correctness/pts/pvfs2tab old mode 100644 new mode 100755 diff --git a/test/correctness/pts/request_tests.conf b/test/correctness/pts/request_tests.conf old mode 100644 new mode 100755 diff --git a/test/correctness/pts/sample.conf b/test/correctness/pts/sample.conf old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-concurrent-meta.c b/test/correctness/pts/test-concurrent-meta.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-concurrent-meta.h b/test/correctness/pts/test-concurrent-meta.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-contiguous-datatype.c b/test/correctness/pts/test-contiguous-datatype.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-contiguous-datatype.h b/test/correctness/pts/test-contiguous-datatype.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-create.h b/test/correctness/pts/test-create.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-dir-operations.c b/test/correctness/pts/test-dir-operations.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-dir-operations.h b/test/correctness/pts/test-dir-operations.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-dir-torture.c b/test/correctness/pts/test-dir-torture.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-dir-torture.h b/test/correctness/pts/test-dir-torture.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-encode-basic.c b/test/correctness/pts/test-encode-basic.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-encode-basic.h b/test/correctness/pts/test-encode-basic.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-explicit-offset.c b/test/correctness/pts/test-explicit-offset.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-explicit-offset.h b/test/correctness/pts/test-explicit-offset.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-finalized.c b/test/correctness/pts/test-finalized.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-finalized.h b/test/correctness/pts/test-finalized.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-function.h b/test/correctness/pts/test-function.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-invalid-files.c b/test/correctness/pts/test-invalid-files.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-invalid-files.h b/test/correctness/pts/test-invalid-files.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-lookup-bench.c b/test/correctness/pts/test-lookup-bench.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-lookup-bench.h b/test/correctness/pts/test-lookup-bench.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-misc.c b/test/correctness/pts/test-misc.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-misc.h b/test/correctness/pts/test-misc.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-mix.c b/test/correctness/pts/test-mix.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-mix.h b/test/correctness/pts/test-mix.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-noncontig-pattern.c b/test/correctness/pts/test-noncontig-pattern.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-noncontig-pattern.h b/test/correctness/pts/test-noncontig-pattern.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-null-params.c b/test/correctness/pts/test-null-params.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-null-params.h b/test/correctness/pts/test-null-params.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-path-lookup.c b/test/correctness/pts/test-path-lookup.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-path-lookup.h b/test/correctness/pts/test-path-lookup.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-protos.h b/test/correctness/pts/test-protos.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-contig.c b/test/correctness/pts/test-pvfs-datatype-contig.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-contig.h b/test/correctness/pts/test-pvfs-datatype-contig.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-hvector.c b/test/correctness/pts/test-pvfs-datatype-hvector.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-hvector.h b/test/correctness/pts/test-pvfs-datatype-hvector.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-init.c b/test/correctness/pts/test-pvfs-datatype-init.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-init.h b/test/correctness/pts/test-pvfs-datatype-init.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-vector.c b/test/correctness/pts/test-pvfs-datatype-vector.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-pvfs-datatype-vector.h b/test/correctness/pts/test-pvfs-datatype-vector.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-contiguous.c b/test/correctness/pts/test-request-contiguous.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-contiguous.h b/test/correctness/pts/test-request-contiguous.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-indexed.c b/test/correctness/pts/test-request-indexed.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-indexed.h b/test/correctness/pts/test-request-indexed.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-tiled.c b/test/correctness/pts/test-request-tiled.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-request-tiled.h b/test/correctness/pts/test-request-tiled.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-romio-noncontig-pattern2.c b/test/correctness/pts/test-romio-noncontig-pattern2.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-romio-noncontig-pattern2.h b/test/correctness/pts/test-romio-noncontig-pattern2.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-uninitialized.c b/test/correctness/pts/test-uninitialized.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-uninitialized.h b/test/correctness/pts/test-uninitialized.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-vector-offset.c b/test/correctness/pts/test-vector-offset.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-vector-offset.h b/test/correctness/pts/test-vector-offset.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-vector-start-final-offset.c b/test/correctness/pts/test-vector-start-final-offset.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-vector-start-final-offset.h b/test/correctness/pts/test-vector-start-final-offset.h old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-write-eof.c b/test/correctness/pts/test-write-eof.c old mode 100644 new mode 100755 diff --git a/test/correctness/pts/test-write-eof.h b/test/correctness/pts/test-write-eof.h old mode 100644 new mode 100755 diff --git a/test/io/bmi/README b/test/io/bmi/README old mode 100644 new mode 100755 diff --git a/test/io/bmi/ave-bw5.c b/test/io/bmi/ave-bw5.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/ave-lat5.c b/test/io/bmi/ave-lat5.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-args.c b/test/io/bmi/bench-args.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-args.h b/test/io/bmi/bench-args.h old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-initialize.c b/test/io/bmi/bench-initialize.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-initialize.h b/test/io/bmi/bench-initialize.h old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-mem.c b/test/io/bmi/bench-mem.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/bench-mem.h b/test/io/bmi/bench-mem.h old mode 100644 new mode 100755 diff --git a/test/io/bmi/driver-bw-multi.c b/test/io/bmi/driver-bw-multi.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/driver-fs-read.c b/test/io/bmi/driver-fs-read.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/driver-latency.c b/test/io/bmi/driver-latency.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/driver-simple.c b/test/io/bmi/driver-simple.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/module.mk.in b/test/io/bmi/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/bmi/pingpong.c b/test/io/bmi/pingpong.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-client-eagerbug.c b/test/io/bmi/test-bmi-client-eagerbug.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-client-gm.c b/test/io/bmi/test-bmi-client-gm.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-client-list-gm.c b/test/io/bmi/test-bmi-client-list-gm.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-client-list.c b/test/io/bmi/test-bmi-client-list.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-client.c b/test/io/bmi/test-bmi-client.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-s2s-a.c b/test/io/bmi/test-bmi-s2s-a.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-s2s-b.c b/test/io/bmi/test-bmi-s2s-b.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-server-eagerbug.c b/test/io/bmi/test-bmi-server-eagerbug.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-server-gm.c b/test/io/bmi/test-bmi-server-gm.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-server-list-gm.c b/test/io/bmi/test-bmi-server-list-gm.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-server-list.c b/test/io/bmi/test-bmi-server-list.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi-server.c b/test/io/bmi/test-bmi-server.c old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bmi.h b/test/io/bmi/test-bmi.h old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-bw.plt b/test/io/bmi/test-bw.plt old mode 100644 new mode 100755 diff --git a/test/io/bmi/test-lat.plt b/test/io/bmi/test-lat.plt old mode 100644 new mode 100755 diff --git a/test/io/buffer/module.mk.in b/test/io/buffer/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/buffer/mt_test1.c b/test/io/buffer/mt_test1.c old mode 100644 new mode 100755 diff --git a/test/io/buffer/mt_test2.c b/test/io/buffer/mt_test2.c old mode 100644 new mode 100755 diff --git a/test/io/buffer/mt_test3.c b/test/io/buffer/mt_test3.c old mode 100644 new mode 100755 diff --git a/test/io/buffer/mt_test4.c b/test/io/buffer/mt_test4.c old mode 100644 new mode 100755 diff --git a/test/io/buffer/test1.c b/test/io/buffer/test1.c old mode 100644 new mode 100755 diff --git a/test/io/buffer/trove-init.c b/test/io/buffer/trove-init.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug-main.c b/test/io/description/debug-main.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug.h b/test/io/description/debug.h old mode 100644 new mode 100755 diff --git a/test/io/description/debug1.c b/test/io/description/debug1.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug10.c b/test/io/description/debug10.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug11.c b/test/io/description/debug11.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug12.c b/test/io/description/debug12.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug13.c b/test/io/description/debug13.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug14.c b/test/io/description/debug14.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug15.c b/test/io/description/debug15.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug16.c b/test/io/description/debug16.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug17.c b/test/io/description/debug17.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug18.c b/test/io/description/debug18.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug19.c b/test/io/description/debug19.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug2.c b/test/io/description/debug2.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug20.c b/test/io/description/debug20.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug21.c b/test/io/description/debug21.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug22.c b/test/io/description/debug22.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug23.c b/test/io/description/debug23.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug24.c b/test/io/description/debug24.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug25.c b/test/io/description/debug25.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug26.c b/test/io/description/debug26.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug27.c b/test/io/description/debug27.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug29.c b/test/io/description/debug29.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug3.c b/test/io/description/debug3.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug30.c b/test/io/description/debug30.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug4.c b/test/io/description/debug4.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug5.c b/test/io/description/debug5.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug6.c b/test/io/description/debug6.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug7.c b/test/io/description/debug7.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug8.c b/test/io/description/debug8.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug9.c b/test/io/description/debug9.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug_commit.c b/test/io/description/debug_commit.c old mode 100644 new mode 100755 diff --git a/test/io/description/debug_olap.c b/test/io/description/debug_olap.c old mode 100644 new mode 100755 diff --git a/test/io/description/module.mk.in b/test/io/description/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/description/test-encode-basic.c b/test/io/description/test-encode-basic.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-encode-complex-in.c b/test/io/description/test-encode-complex-in.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-encode-complex-out.c b/test/io/description/test-encode-complex-out.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-encode-twice-in.c b/test/io/description/test-encode-twice-in.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-encode-twice-out.c b/test/io/description/test-encode-twice-out.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-many-datafiles-import.c b/test/io/description/test-many-datafiles-import.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-pack1.c b/test/io/description/test-pack1.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-pack2.c b/test/io/description/test-pack2.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-req1.c b/test/io/description/test-req1.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-request.c b/test/io/description/test-request.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-request2.c b/test/io/description/test-request2.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-request3.c b/test/io/description/test-request3.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-request4.c b/test/io/description/test-request4.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-request5.c b/test/io/description/test-request5.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-romio-noncontig-pattern.c b/test/io/description/test-romio-noncontig-pattern.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-romio-noncontig-pattern2.c b/test/io/description/test-romio-noncontig-pattern2.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-romio-noncontig-pattern3.c b/test/io/description/test-romio-noncontig-pattern3.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-truncate.c b/test/io/description/test-truncate.c old mode 100644 new mode 100755 diff --git a/test/io/description/test-zero-fill.c b/test/io/description/test-zero-fill.c old mode 100644 new mode 100755 diff --git a/test/io/dev/dev-mod.c b/test/io/dev/dev-mod.c old mode 100644 new mode 100755 diff --git a/test/io/dev/dev-test.c b/test/io/dev/dev-test.c old mode 100644 new mode 100755 diff --git a/test/io/dev/module.mk.in b/test/io/dev/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/flow/README b/test/io/flow/README old mode 100644 new mode 100755 diff --git a/test/io/flow/module.mk.in b/test/io/flow/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/flow/test-bmi-cache-client.c b/test/io/flow/test-bmi-cache-client.c old mode 100644 new mode 100755 diff --git a/test/io/flow/test-bmi-cache-server.c b/test/io/flow/test-bmi-cache-server.c old mode 100644 new mode 100755 diff --git a/test/io/flow/test-harness-client.c b/test/io/flow/test-harness-client.c old mode 100644 new mode 100755 diff --git a/test/io/flow/test-harness-server-trove.c b/test/io/flow/test-harness-server-trove.c old mode 100644 new mode 100755 diff --git a/test/io/flow/test1-client.c b/test/io/flow/test1-client.c old mode 100644 new mode 100755 diff --git a/test/io/flow/test1-server.c b/test/io/flow/test1-server.c old mode 100644 new mode 100755 diff --git a/test/io/job/job-client-example.c b/test/io/job/job-client-example.c old mode 100644 new mode 100755 diff --git a/test/io/job/job-dev-test.c b/test/io/job/job-dev-test.c old mode 100644 new mode 100755 diff --git a/test/io/job/job-help.c b/test/io/job/job-help.c old mode 100644 new mode 100755 diff --git a/test/io/job/job-help.h b/test/io/job/job-help.h old mode 100644 new mode 100755 diff --git a/test/io/job/job-server-example.c b/test/io/job/job-server-example.c old mode 100644 new mode 100755 diff --git a/test/io/job/module.mk.in b/test/io/job/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/job/req-sched-job-test.c b/test/io/job/req-sched-job-test.c old mode 100644 new mode 100755 diff --git a/test/io/job/thread-bench2.c b/test/io/job/thread-bench2.c old mode 100644 new mode 100755 diff --git a/test/io/job/thread-bench3.c b/test/io/job/thread-bench3.c old mode 100644 new mode 100755 diff --git a/test/io/job/trove-job-create-toy.c b/test/io/job/trove-job-create-toy.c old mode 100644 new mode 100755 diff --git a/test/io/job/trove-job-io.c b/test/io/job/trove-job-io.c old mode 100644 new mode 100755 diff --git a/test/io/job/trove-job-ls.c b/test/io/job/trove-job-ls.c old mode 100644 new mode 100755 diff --git a/test/io/job/trove-job-mkfs.c b/test/io/job/trove-job-mkfs.c old mode 100644 new mode 100755 diff --git a/test/io/job/trove-job-touch.c b/test/io/job/trove-job-touch.c old mode 100644 new mode 100755 diff --git a/test/io/trove/db-dspace.c b/test/io/trove/db-dspace.c old mode 100644 new mode 100755 diff --git a/test/io/trove/db-hack.c b/test/io/trove/db-hack.c old mode 100644 new mode 100755 diff --git a/test/io/trove/module.mk.in b/test/io/trove/module.mk.in old mode 100644 new mode 100755 diff --git a/test/io/trove/test-aio.c b/test/io/trove/test-aio.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio-aio-convert.c b/test/io/trove/test-listio-aio-convert.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio.c b/test/io/trove/test-listio.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio2.c b/test/io/trove/test-listio2.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio3.c b/test/io/trove/test-listio3.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio4.c b/test/io/trove/test-listio4.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-listio5.c b/test/io/trove/test-listio5.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-non-aio.c b/test/io/trove/test-non-aio.c old mode 100644 new mode 100755 diff --git a/test/io/trove/test-trove-cancel.c b/test/io/trove/test-trove-cancel.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-bench-concurrent.c b/test/io/trove/trove-bench-concurrent.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-bstream.c b/test/io/trove/trove-bstream.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-create-stress.c b/test/io/trove/trove-create-stress.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-export.c b/test/io/trove/trove-export.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-import.c b/test/io/trove/trove-import.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-key-iterate.c b/test/io/trove/trove-key-iterate.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-ls.c b/test/io/trove/trove-ls.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-mkdir.c b/test/io/trove/trove-mkdir.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-mkfs.c b/test/io/trove/trove-mkfs.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-rm.c b/test/io/trove/trove-rm.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-rmdir.c b/test/io/trove/trove-rmdir.c old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-test.h b/test/io/trove/trove-test.h old mode 100644 new mode 100755 diff --git a/test/io/trove/trove-touch.c b/test/io/trove/trove-touch.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/aio_test_append.c b/test/kernel/linux-2.6/aio_test_append.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/aio_test_correctness.c b/test/kernel/linux-2.6/aio_test_correctness.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/aio_test_sparse.c b/test/kernel/linux-2.6/aio_test_sparse.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/file_fsync.c b/test/kernel/linux-2.6/file_fsync.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/file_open.c b/test/kernel/linux-2.6/file_open.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/file_read.c b/test/kernel/linux-2.6/file_read.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/file_write.c b/test/kernel/linux-2.6/file_write.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/io-hole-test.c b/test/kernel/linux-2.6/io-hole-test.c old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/module.mk.in b/test/kernel/linux-2.6/module.mk.in old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/pvfs2-shell-test.sh b/test/kernel/linux-2.6/pvfs2-shell-test.sh old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/pvfs2tab b/test/kernel/linux-2.6/pvfs2tab old mode 100644 new mode 100755 diff --git a/test/kernel/linux-2.6/threaded_write.c b/test/kernel/linux-2.6/threaded_write.c old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/benchmark-utils.c b/test/perfbase/benchmarks/benchmark-utils.c old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/benchmark-utils.h b/test/perfbase/benchmarks/benchmark-utils.h old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/create-subdir-test.c b/test/perfbase/benchmarks/create-subdir-test.c old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/create-test.c b/test/perfbase/benchmarks/create-test.c old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/module.mk.in b/test/perfbase/benchmarks/module.mk.in old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/mpi-create-test.c b/test/perfbase/benchmarks/mpi-create-test.c old mode 100644 new mode 100755 diff --git a/test/perfbase/benchmarks/readdir-end-test.c b/test/perfbase/benchmarks/readdir-end-test.c old mode 100644 new mode 100755 diff --git a/test/perfbase/experiments/pvfs2-meta-exp.xml b/test/perfbase/experiments/pvfs2-meta-exp.xml old mode 100644 new mode 100755 diff --git a/test/perfbase/experiments/pvfs2-meta-input.xml b/test/perfbase/experiments/pvfs2-meta-input.xml old mode 100644 new mode 100755 diff --git a/test/posix/crc32c.c b/test/posix/crc32c.c old mode 100644 new mode 100755 diff --git a/test/posix/crc32c.h b/test/posix/crc32c.h old mode 100644 new mode 100755 diff --git a/test/posix/io.c b/test/posix/io.c old mode 100644 new mode 100755 diff --git a/test/posix/iox.c b/test/posix/iox.c old mode 100644 new mode 100755 diff --git a/test/posix/libcrc32c.c b/test/posix/libcrc32c.c old mode 100644 new mode 100755 diff --git a/test/posix/libstat.c b/test/posix/libstat.c old mode 100644 new mode 100755 diff --git a/test/posix/module.mk.in b/test/posix/module.mk.in old mode 100644 new mode 100755 diff --git a/test/posix/open.c b/test/posix/open.c old mode 100644 new mode 100755 diff --git a/test/posix/openg-mpi.c b/test/posix/openg-mpi.c old mode 100644 new mode 100755 diff --git a/test/posix/openg-socket.c b/test/posix/openg-socket.c old mode 100644 new mode 100755 diff --git a/test/posix/openg.c b/test/posix/openg.c old mode 100644 new mode 100755 diff --git a/test/posix/readwritex.c b/test/posix/readwritex.c old mode 100644 new mode 100755 diff --git a/test/posix/sha1.c b/test/posix/sha1.c old mode 100644 new mode 100755 diff --git a/test/posix/sha1.h b/test/posix/sha1.h old mode 100644 new mode 100755 diff --git a/test/posix/sockio.c b/test/posix/sockio.c old mode 100644 new mode 100755 diff --git a/test/posix/sockio.h b/test/posix/sockio.h old mode 100644 new mode 100755 diff --git a/test/posix/stat.c b/test/posix/stat.c old mode 100644 new mode 100755 diff --git a/test/posix/vecio_test.c b/test/posix/vecio_test.c old mode 100644 new mode 100755 diff --git a/test/posix/xio_test.c b/test/posix/xio_test.c old mode 100644 new mode 100755 diff --git a/test/proto/module.mk.in b/test/proto/module.mk.in old mode 100644 new mode 100755 diff --git a/test/pvfs2-test-config.h.in b/test/pvfs2-test-config.h.in old mode 100644 new mode 100755 diff --git a/test/server/module.mk.in b/test/server/module.mk.in old mode 100644 new mode 100755 diff --git a/test/server/request-scheduler/module.mk.in b/test/server/request-scheduler/module.mk.in old mode 100644 new mode 100755 diff --git a/test/server/request-scheduler/request-scheduler-test.c b/test/server/request-scheduler/request-scheduler-test.c old mode 100644 new mode 100755 diff --git a/test/server/showconfig.c b/test/server/showconfig.c old mode 100644 new mode 100755 diff --git a/test/shared/module.mk.in b/test/shared/module.mk.in old mode 100644 new mode 100755 diff --git a/test/shared/test-common.c b/test/shared/test-common.c old mode 100644 new mode 100755 diff --git a/test/shared/test-common.h b/test/shared/test-common.h old mode 100644 new mode 100755