Skip to content

Commit

Permalink
"oid assigment is done by pvfs mds, post_create still needs to be rev…
Browse files Browse the repository at this point in the history
…ised"

git-svn-id: svn+ssh://137.99.13.219/srv/svn/ofsproject/ofsproject/2.8.4-stock/osd_branch@55 dfcdf660-53a5-499b-8775-f9b82cf2d3b9
  • Loading branch information
cek10006 committed Mar 15, 2012
1 parent b5e886c commit d925a85
Show file tree
Hide file tree
Showing 235 changed files with 18,169 additions and 6,258 deletions.
125 changes: 125 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,131 @@
-----------------------
OrangeFS Release ChangeLog
-----------------------
orangefs-2.8.5

SVN changes can be seen at
http://www.orangefs.org/fisheye/orangefs/changelog/orangefs/branches/orangefs-2-8-5

* Bug Fix: Problem: server seg faulted when the unstuff state machine tried
to unstuff a file defined as needing more datafilesthan I/O servers currently
in the system. A side affect was that this worked when there was more than
one server in the system. The correct behavior is to NEVER define more datahandles than
there are I/O servers in the system.
Correction: Modified function PINT_cached_config_get_num_dfiles to return no
more than the number of I/O servers, regardless of the number requested by the user
or needed by the distribution. This function is called during the sys-create state machine
BEFORE the number of requested datafiles is sent to the server.
SVN: Change #9082

* Enhancement: Added optimization. When a file is created and the requested number of dfiles is 1,
then we create the metadata without "stuffed" values,i.e., key="nd". When data
is written to this file, there is no need to execute the "unstuff" server side
state machine.
SVN: Change #9083

Text after "CVS: " can be prepended with "http://www.pvfs.org/fisheye/changelog/~br=Orange-Branch/PVFS/?cs=Orange-Branch:" to view related change sets in FishEye.

* Enhancement: change to kernel source path to support SuSE style kernel sources
CVS: mtmoore:20110831005433

* Enhancement: add prompt after X removals during a pvfs2-fsck when -y specified
CVS: mtmoore:20110824144127

* Enhancement: Add sanity checks to extended attribute operations
CVS: mtmoore:20110811180653

* Enhancement addition of counters and application to feed SNMP counters
CVS: walt:20110628184842
CVS: walt:20110628161840
CVS: walt:20110617152339

* Enhancement: addition of scripts used for OrangeFS CI Jenkins testing
CVS: mtmoore:20110623183144

* Enhancement: add backtrace handler to SIGABRT
CVS: mtmoore:20110607235041

* Enhancement: add sanity checks during trove cleanup/initialization
CVS: mtmoore:20110607232817

* Enhancement: allow server log to be re-opened on SIGHUP to allow log rotation
CVS: mtmoore:20110607023901
CVS: mtmoore:20110530143543

* Enhancement: allow debug mask to be reset during SIGHUP
CVS: bligon:20110504200411

* Enhancement: add Berkeley DB configure check for version 4.8.30
CVS: mtmoore:20110405050554
Additional Information: https://www.orangefs.org/trac/orangefs/wiki/DBVersionRequired

* Enhancement add configure checks for binaries required during build
CVS: mtmoore:20110404165443

* Enhancement: kernel changes to support newer kernels (up to 2.6.40 tested and 3.X compiles, not tested)
CVS: mtmoore:20110831005433
CVS: mtmoore:20110823184109
CVS: mtmoore:20110822232017
CVS: mtmoore:20110412175323
CVS: mtmoore:20110525205504
CVS: mtmoore:20110405142136
CVS: mtmoore:20110405141506

* Bug Fix: man pages are now gzip'd during installation
CVS: mtmoore:20110904010919

* Bug Fix: berkeley db gives back unaligned pages (in custom compare/multi-key cases), use local variables to fix ARM failures
CVS: mtmoore:20110902173424

* Bug Fix: pointer dereference size issue in dbpf-mgmt on non-x86 platforms, Neal Ferguson
CVS: mtmoore:20110823171834

* Bug Fix: file corruption using direct backend when writes continuously appending to single file
CVS: elaine:20110819120934
CVS: mtmoore:20110629130442

* Bug Fix: segfault in pvfs2-xattr due to mirror handle string comparison, Nick Mills
CVS: mtmoore:20110809180325

* Bug Fix: add backtrace functionality back in for newer distributions
CVS: mtmoore:20110801124552
CVS: mtmoore:20110607215819

* Bug Fix: server-side memory leak related to operation completion
CVS: bligon:20110708194724

* Bug Fix: slab cache fix, Bart Taylor
CVS: bligon:20110613200154

* Bug Fix: duplicate handle fix in iterate-handles, Phil Carns
CVS: bligon:20110610202309

* Bug Fix: correctly parse pvfs2-server alias argument
CVS: mtmoore:20110608010721

* Bug Fix: mx_address lookup failure with multiple protocols
CVS: bligon:20110530173949

* Bug Fix: admin apps segfault with IB
CVS: bligon:20110512215357

* Bug Fix: allow pvfs2-server to re-read configuratio file regardless of absolute or relative path
CVS: mtmoore:20110506194814

* Bug Fix: root squash functionality, Bart Taylor
CVS: bligon:20110506173620

* Bug Fix: various kernel related stability and error-handling fixes
CVS: mtmoore:20110729151843
CVS: mtmoore:20110729143317
CVS: mtmoore:20110530154853
CVS: mtmoore:20110412175444

* Bug Fix: pin memory passed in to the kernel to prevent swap pages and kernel panic
CVS: mtmoore:20110725160953

-------------------------------------------------------------------------------

orangefs-2.8.4
* Change verisioning to no longer include dates, just increment the sub version for every release

Expand Down
60 changes: 52 additions & 8 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ INCLUDES := \
src/common/id-generator \
src/common/gossip \
src/common/gen-locks \
src/common/events
src/common/events \
src/client/usrint
GENINCLUDES := \
include
else
Expand All @@ -157,6 +158,7 @@ INCLUDES := \
src/common/gossip \
src/common/gen-locks \
src/common/events \
src/client/usrint \
src/io/trove \
src/io/bmi \
src/io/description \
Expand Down Expand Up @@ -211,6 +213,8 @@ SO_FULLVER = $(SO_VER).$(SO_MINOR).$(SO_RELEASE)
CFLAGS += -D__STATIC_FLOWPROTO_MULTIQUEUE__
# turn on large file support by default
CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
# define __GNU_SOURCE in includes to replace incorrect usage of __USE_GNU
CFLAGS += -D_GNU_SOURCE
# include current directory (for pvfs2-config.h)
CFLAGS += -I .
# include toplevel source dir
Expand Down Expand Up @@ -445,6 +449,8 @@ ADMINSRC_SERVER :=
USERSRC :=
# LIBSRC is source code for libpvfs2
LIBSRC :=
# ULIBSRC is source code for libpvfs2
ULIBSRC :=
# SERVERSRC is souce code for the pvfs2 server
SERVERSRC :=
ifdef BUILD_BMI_ONLY
Expand Down Expand Up @@ -496,18 +502,18 @@ ifeq ($(build_shared),yes)
ifdef BUILD_BMI_ONLY
BMILIBRARIES := lib/libbmi.so
endif
LIBRARIES_SHARED = lib/libpvfs2.so
LIBRARIES_SHARED = lib/libpvfs2.so lib/libofs.so
LIBRARIES += $(LIBRARIES_SHARED)
LIBRARIES_THREADED_SHARED += lib/libpvfs2-threaded.so
LIBRARIES_THREADED_SHARED += lib/libpvfs2-threaded.so lib/libofs-threaded.so
LIBRARIES_THREADED += $(LIBRARIES_THREADED_SHARED)
endif
ifeq ($(build_static),yes)
ifdef BUILD_BMI_ONLY
BMILIBRARIES += lib/libbmi.a
endif
LIBRARIES_STATIC = lib/libpvfs2.a
LIBRARIES_STATIC = lib/libpvfs2.a lib/libofs.a
LIBRARIES += $(LIBRARIES_STATIC)
LIBRARIES_THREADED_STATIC += lib/libpvfs2-threaded.a
LIBRARIES_THREADED_STATIC += lib/libpvfs2-threaded.a lib/libofs-threaded.a
LIBRARIES_THREADED += $(LIBRARIES_THREADED_STATIC)
endif

Expand Down Expand Up @@ -549,10 +555,16 @@ endif

# LIBTHREADEDOBJS is a list of objects to put in the multithreaded client lib
LIBTHREADEDOBJS := $(patsubst %.c,%-threaded.o, $(filter %.c,$(LIBSRC)))
# ULIBTHREADEDOBJS is a list of objects to put in the multithreaded ofs lib
ULIBTHREADEDOBJS := $(patsubst %.c,%-threaded.o, $(filter %.c,$(ULIBSRC)))
# LIBTHREADEDPICOBJS are the same, but compiled for use in a shared library
LIBTHREADEDPICOBJS := $(patsubst %.c,%-threaded.po, $(filter %.c,$(LIBSRC)))
# ULIBTHREADEDPICOBJS are the same, but compiled for use in a shared ofs library
ULIBTHREADEDPICOBJS := $(patsubst %.c,%-threaded.po, $(filter %.c,$(ULIBSRC)))
# LIBTHREADEDDEPENDS is a list of dependency files for the multithreaded client lib
LIBTHREADEDDEPENDS := $(patsubst %.c,%.d, $(filter %.c,$(LIBSRC)))
# ULIBTHREADEDDEPENDS is a list of dependency files for the # multithreaded ofs lib
ULIBTHREADEDDEPENDS := $(patsubst %.c,%.d, $(filter %.c,$(ULIBSRC)))
# ADMINOBJS is a list of admin program objects
ADMINOBJS := $(patsubst %.c,%.o, $(filter %.c,$(ADMINSRC)))
# ADMINTOOLS is a list of admin program executables
Expand Down Expand Up @@ -765,14 +777,38 @@ lib/libpvfs2-threaded.a: $(LIBTHREADEDOBJS)
lib/libpvfs2.so: $(LIBPICOBJS)
$(Q) " LDSO $@"
$(E)$(INSTALL) -d lib
$(E)$(LDSHARED) -Wl,-soname,libpvfs2.so -o $@ $(LIBPICOBJS) $(DEPLIBS) -lpthread
$(E)$(LDSHARED) -Wl,-soname,libpvfs2.so -o $@ $(LIBPICOBJS) $(DEPLIBS)

# rule for building the pvfs2 _multithreaded_ library
lib/libpvfs2-threaded.so: $(LIBTHREADEDPICOBJS)
$(Q) " LDSO $@"
$(E)$(INSTALL) -d lib
$(E)$(LDSHARED) -Wl,-soname,libpvfs2-threaded.so -o $@ $(LIBTHREADEDPICOBJS) $(DEPLIBS)

# rule for building the ofs library
lib/libofs.a: $(ULIBOBJS)
$(Q) " RANLIB $@"
$(E)$(INSTALL) -d lib
$(E)ar rcs $@ $(ULIBOBJS)

# rule for building the _multithreaded_ ofs library
lib/libofs-threaded.a: $(ULIBTHREADEDOBJS)
$(Q) " RANLIBTHREADED $@"
$(E)$(INSTALL) -d lib
$(E)ar rcs $@ $(ULIBTHREADEDOBJS)

# rule for building the ofs library
lib/libofs.so: $(ULIBPICOBJS)
$(Q) " LDSO $@"
$(E)$(INSTALL) -d lib
$(E)$(LDSHARED) -Wl,-soname,libofs.so -o $@ $(ULIBPICOBJS) $(DEPLIBS)

# rule for building the ofs _multithreaded_ library
lib/libofs-threaded.so: $(ULIBTHREADEDPICOBJS)
$(Q) " LDSO $@"
$(E)$(INSTALL) -d lib
$(E)$(LDSHARED) -Wl,-soname,libofs-threaded.so -o $@ $(ULIBTHREADEDPICOBJS) $(DEPLIBS)

# rule for building the pvfs2 server library
lib/libpvfs2-server.a: $(SERVEROBJS)
$(Q) " RANLIB $@"
Expand Down Expand Up @@ -947,6 +983,7 @@ endif
clean::
$(Q) " CLEAN"
$(E)rm -f $(LIBOBJS) $(LIBTHREADEDOBJS) \
$(ULIBOBJS) $(ULIBTHREADEDOBJS) \
$(SERVEROBJS) $(SERVERBINOBJS) $(MISCOBJS) \
$(LIBRARIES) $(LIBRARIES_THREADED) $(DEPENDS) $(SERVER) \
$(ADMINOBJS) $(ADMINOBJS_SERVER) $(ADMINTOOLS)\
Expand Down Expand Up @@ -1073,8 +1110,12 @@ endif
install_doc:
install -d $(mandir)/man1
install -d $(mandir)/man5
rm -f ${mandir}/man1/*.gz
rm -f ${mandir}/man5/*.gz
install -m 644 $(srcdir)/doc/man/*.1 $(mandir)/man1
install -m 644 $(srcdir)/doc/man/*.5 $(mandir)/man5
gzip ${mandir}/man1/*
gzip ${mandir}/man5/*

ifdef BUILD_BMI_ONLY
install:: all
Expand Down Expand Up @@ -1205,11 +1246,14 @@ just_kmod24_install: just_kmod24
install -d $(KMOD_DIR)
install -m 755 src/kernel/linux-2.4/pvfs2.o $(KMOD_DIR)

.PHONY: kmod24_install
kmod24_install: kmod24 kernapps just_kmod24_install
.PHONY: just_kmod24_apps_install
just_kmod24_apps_install: kmod24 kernapps
install -d $(sbindir)
install -m 755 $(KERNAPPS) $(KERNAPPSTHR) $(sbindir)
install -m 755 src/apps/kernel/linux/mount.pvfs2 $(sbindir)

.PHONY: kmod24_install
kmod24_install: kmod24 kernapps just_kmod24_install just_kmod24_apps_install
@echo ""
@echo "For improved linux-2.4 support,"
@echo "install $(sbindir)/mount.pvfs2 to /sbin/mount.pvfs2"
Expand Down
Loading

0 comments on commit d925a85

Please sign in to comment.