commit 2650be5163913c0fcbe1bd4dea1e5add2e11127aaccb31f7fa320b1146deb9e0 Author: OBS User unknown Date: Mon Jan 15 09:53:19 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/drbd-0.7.23.tar.gz b/drbd-0.7.23.tar.gz new file mode 100644 index 0000000..cf3982b --- /dev/null +++ b/drbd-0.7.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfeef4e5bf89516752e141719e7e7ae1af7c878b368f591ff3340b7542b5152b +size 296960 diff --git a/drbd-Makefile.module b/drbd-Makefile.module new file mode 100644 index 0000000..c634edb --- /dev/null +++ b/drbd-Makefile.module @@ -0,0 +1,23 @@ +# +# SUSE specific makefile for the km_drbd +# + +EXTRA_CFLAGS += -I$(src) + +CFLAGS_drbd_sizeof_sanity_check.o = -Wpadded + +obj-m := drbd.o +drbd-objs := drbd_sizeof_sanity_check.o \ + drbd_buildtag.o drbd_bitmap.o drbd_fs.o drbd_proc.o \ + drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o \ + lru_cache.o drbd_main.o + +# Set to something different to install somewhere else: +# MOD_DIR := extra + +.PHONY: modules install clean modules_add + +install : modules_add + +modules modules_add clean: + $(MAKE) -C $(KERNEL_SOURCE) $@ SUBDIRS=$(CURDIR) diff --git a/drbd-kver.patch b/drbd-kver.patch new file mode 100644 index 0000000..7f6ceb6 --- /dev/null +++ b/drbd-kver.patch @@ -0,0 +1,12 @@ +Index: drbd/linux/drbd_config.h +=================================================================== +--- drbd/linux/drbd_config.h (revision 2574) ++++ drbd/linux/drbd_config.h (working copy) +@@ -69,6 +69,6 @@ + // but more recent kernels define it in arch/um/include/mem.h + #define HAVE_UML_TO_VIRT + +-//#define NO_MORE_DEV_FS ++#define NO_MORE_DEV_FS + + #endif diff --git a/drbd-modprobe.d b/drbd-modprobe.d new file mode 100644 index 0000000..2557568 --- /dev/null +++ b/drbd-modprobe.d @@ -0,0 +1,7 @@ +# If you wish to use drbd on the old major number 43 (/dev/nbX) instead +# of the new default major number 147 (/dev/drbdX), enable this. +# +# Then, reload the module. +# +# options drbd use_nbd_major=1 + diff --git a/drbd-optflags.patch b/drbd-optflags.patch new file mode 100644 index 0000000..2a99ab7 --- /dev/null +++ b/drbd-optflags.patch @@ -0,0 +1,38 @@ +Index: drbd-0.7.13/benchmark/Makefile +=================================================================== +--- drbd-0.7.13.orig/benchmark/Makefile 2004-10-08 11:22:47.000000000 +0200 ++++ drbd-0.7.13/benchmark/Makefile 2005-09-01 12:25:11.248962784 +0200 +@@ -1,4 +1,6 @@ +-CFLAGS=-Wall ++CFLAGS=-Wall $(OPTFLAGS) ++ ++OPTFLAGS=-O2 + + all: dm + +Index: drbd-0.7.13/testing/Makefile +=================================================================== +--- drbd-0.7.13.orig/testing/Makefile 2004-11-02 11:09:09.000000000 +0100 ++++ drbd-0.7.13/testing/Makefile 2005-09-01 12:25:11.249962638 +0200 +@@ -1,5 +1,6 @@ + PROGRAMS=show_size access_and_verify ioctl_structs_sizes +-CFLAGS=-Wall -I../drbd ++OPTFLAGS=-O2 ++CFLAGS=-Wall $(OPTFLAGS) -I../drbd + + all: $(PROGRAMS) + +Index: drbd-0.7.13/user/Makefile +=================================================================== +--- drbd-0.7.13.orig/user/Makefile 2004-11-02 11:09:09.000000000 +0100 ++++ drbd-0.7.13/user/Makefile 2005-09-01 12:25:46.980727993 +0200 +@@ -17,7 +17,8 @@ + # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + # + +-CFLAGS = -c -Wall -I../drbd ++OPTFLAGS = -O2 ++CFLAGS = $(OPTFLAGS) -c -Wall -I../drbd + CC = gcc + + drbdadm-obj = drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o \ diff --git a/drbd.changes b/drbd.changes new file mode 100644 index 0000000..60b5386 --- /dev/null +++ b/drbd.changes @@ -0,0 +1,657 @@ +------------------------------------------------------------------- +Mon Jan 15 09:43:01 CET 2007 - lmb@suse.de + +- Update to 0.7.23 for Linux kernels >2.6.19. + +------------------------------------------------------------------- +Mon Oct 30 23:33:13 CET 2006 - lmb@suse.de + +- Update to the officially released 0.7.22 version. +- Implement "freeze_io" feature. +- convert-MODULE_PARM.diff: drop unneeded patch. + +------------------------------------------------------------------- +Fri Oct 6 14:03:21 CEST 2006 - lmb@suse.de + +- Update to 0.7.22: + - In protocol A and B, on connection loss, drbd could "forget" to set + certain areas out of sync. + - fix races between failure in drbd_send_dblock and concurrently + running tl_clear. + - fix potential access-afer-free in drbd_dio_end. + - fix possible list corruption respective resulting deadlock in + receive_DataRequest. + - improved the drbd_thread_stop / start code. + +------------------------------------------------------------------- +Mon Aug 14 21:44:10 CEST 2006 - lmb@suse.de + +- Update to 0.7.21. + * Fixed the "syncer stalled" after reconnect symptom. + * Fixed the "stalled in WFParams" after reconnect symptom. The cause + of this bug was actually a misuse of the data socket. + * Allow to set the uplug_watermark to 1, only usefull for very strange + cases. + * The GC comparison code failed to start a resync in case the two + cluster node failed simultaniously (common power failure). + * Fixed DRBD's code to start kernel threads to work on 2.6.17 also. + * IOCTL return codes fixed for 32bit userland - 64 bit kernel + setups. + * New config option "unplug-watermark". + * Released the drbd_alloc_ee() / drbd_free_ee() implementation from + the DRBD+ branch to the main branch. + * Fixed a bug where lc_del() left a list poison in an LRU chache's + hash table. The only way to trigger this bug was: + up (>>200M), primary, mkfs, resize to 200M, down, up + * DRBD now propagates the backing storage's read ahead properties + to upper layers. With devices that read very fast, this is + important. + * GFP_KERNEL was changed to GFP_NOIO in a few places, to make it + more save against deadlocks in the memory subsystem. + +------------------------------------------------------------------- +Thu May 4 17:10:38 CEST 2006 - lmb@suse.de + +- Import fixes from 0.7.18: +- Under high memory pressure it was possible to hit a deadlock on a + kmalloc(). Changed the GFP mask, it is no longer possible to deadlock + it with memory pressure. +- With very unlucky network timing during connect DRBD falls into a + connect / drop-connection loop, that as soon as DRBD is in this loop + is very stable. This is fixed now, DRBD detects this situation an + breaks out of it. +- Fix to the init-script. Now it waits until udev has created the device + nodes of _all_ resources. +- A small fix for the 32bit userland 64bit kernel people, running older + kernels. +- Improved handling of IO errors during initial read in of the activity + log. + +------------------------------------------------------------------- +Sun Apr 2 20:01:34 CEST 2006 - agruen@suse.de + +- convert-MODULE_PARM.diff: Convert from the obsolete MODULE_PARM + to the new module_param. + +------------------------------------------------------------------- +Mon Mar 27 17:43:40 CEST 2006 - lmb@suse.de + +- Fix memory allocation flags for the activity log (GFP_KERNEL -> + GFP_NOIO) to avoid possible deadlock. + +------------------------------------------------------------------- +Mon Mar 6 17:09:05 CET 2006 - lmb@suse.de + +- Import upstream fixes from 0.7.17: + - There was a bug that could cause the activity log to be not applied + after a primary crash, when an other size than 127 elements was + configured. + - There was a bug in the activity log code, that could cause that the + latest update to the AL is omitted at recovery time. + - The "Marked additional XXKB as out-of-synced based on AL." message + showed one one eighth of the real amount. + +------------------------------------------------------------------- +Thu Feb 16 16:41:19 CET 2006 - lmb@suse.de + +- Update to 0.7.16, new fixes: + - DRBD no longer shrinks an consistent device if it gets connected to + an smaller peer or attached to a smaller disk. + - There was a bug related to the degr-wcf-timeout config option, it was + never used in recent DRBD releases. Fixed. + +------------------------------------------------------------------- +Fri Feb 3 11:59:29 CET 2006 - agruen@suse.de + +- drbd.spec: Replace %arch with %_target_cpu. + +------------------------------------------------------------------- +Thu Feb 2 12:04:52 CET 2006 - ro@suse.de + +- added KMP subpackage (required with suse_kernel_module_package) + +------------------------------------------------------------------- +Tue Jan 31 15:04:10 CET 2006 - lmb@suse.de + +- Change km_drbd to a KMP. +- Import fix to deal with serialized recursive calls to + generic_make_request() and avoid a deadlock (SVN r2056). + +------------------------------------------------------------------- +Thu Jan 26 12:25:02 CET 2006 - lmb@suse.de + +- Compile fix for 2.6.16-rc1. + +------------------------------------------------------------------- +Wed Jan 25 21:35:35 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Jan 23 17:57:02 CET 2006 - lmb@suse.de + +- Import some updated documentation. + +------------------------------------------------------------------- +Tue Dec 20 14:14:54 CET 2005 - lmb@suse.de + +- Update to 0.7.15. + +------------------------------------------------------------------- +Thu Dec 1 15:57:58 CET 2005 - lmb@suse.de + +- Update to 0.7.14/SVN. + +------------------------------------------------------------------- +Thu Sep 1 12:18:25 CEST 2005 - lmb@suse.de + +- Switch to stable version 0.7.13. + +------------------------------------------------------------------- +Thu Jun 30 09:43:19 CEST 2005 - meissner@suse.de + +- use RPM_OPT_FLAGS correctly. + +------------------------------------------------------------------- +Mon Feb 21 18:08:00 CET 2005 - lmb@suse.de + +- Update to upstream 0.8_pre1 (SVN 1763). + +------------------------------------------------------------------- +Wed Feb 2 18:42:01 CET 2005 - lmb@suse.de + +- Update to upstream 0.7.10 (1754). + +------------------------------------------------------------------- +Fri Jan 14 01:32:35 CET 2005 - ro@suse.de + +- fix typo in specfile + +------------------------------------------------------------------- +Wed Dec 1 14:51:29 CET 2004 - lmb@suse.de + +- Update to upstream version 0.7.6. + +------------------------------------------------------------------- +Mon Sep 20 15:54:07 CEST 2004 - lmb@suse.de + +- Merge fixes from SLES9 SP1 with STABLE. + +------------------------------------------------------------------- +Fri Sep 3 15:36:21 CEST 2004 - lmb@suse.de + +- Realign with upstream. + +------------------------------------------------------------------- +Fri Aug 27 12:41:43 CEST 2004 - lmb@suse.de + +- Allow invalidate if cstate to +- changed neededforbuild to + +------------------------------------------------------------------- +Wed Oct 2 14:23:53 CEST 2002 - jg@suse.de + +- Updated to 0.6.1-pre17, changes: + - Merged syncer speedup code by Lars G. Ellenberg + - Merged most of Lars' modifications to the ioctl interface + - Marged the bug-fixes from the lge-branch + - Implemented the TimoutCounter in the meta-data code. + - Fixed a bug that could cause lockup of the primary node on + SMP systems using a SCSI device for DRBD, it always happened + during resynchronisation. (!) +- Checking /.buildenv now in buildsystem instead of /etc/*-release + +------------------------------------------------------------------- +Tue Sep 3 18:18:48 CEST 2002 - jg@suse.de + +- Init script fixes: + - Removed abortion on non existing block devices (may + break LVM setups) + - Sourcing . /etc/rc.status earlier now + - Allowing execution via rcdrbd link + +------------------------------------------------------------------- +Mon Sep 2 22:09:22 CEST 2002 - jg@suse.de + +- Incorporated latest changes from CVS +- Using lge branch now (syncer much faster) + +------------------------------------------------------------------- +Wed Aug 21 10:32:08 CEST 2002 - jg@suse.de + +- Fixed manpage generation (should now even build on ppc64) + +------------------------------------------------------------------- +Tue Aug 20 11:17:55 CEST 2002 - jg@suse.de + +- Added PreReq tag + +------------------------------------------------------------------- +Mon Aug 19 12:07:53 CEST 2002 - kukuk@suse.de + +- fix compilation on UL + +------------------------------------------------------------------- +Tue Aug 13 15:28:49 CEST 2002 - jg@suse.de + +- Added documentation stuff again +- Modified init script to comply with LSB + +------------------------------------------------------------------- +Mon Aug 12 15:18:40 CEST 2002 - jg@suse.de + +- Updated to latest version from CVS repository +- Removed temporary documentation path from Makefile (does + not build) + +------------------------------------------------------------------- +Tue Mar 5 08:38:28 CET 2002 - jg@suse.de + +- Fixed broken specfile + +------------------------------------------------------------------- +Mon Mar 4 17:37:13 CET 2002 - jg@suse.de + +- updated to bugfix release 0.6.1pre10 + - Data-corruption bug in SyncAll fixed (was introduced in pre9) + - Fixed an OOPS in tl_check_sector() (was introduced in pre9) + - Fixed Linux-2.2.x compability (was broken in pre9) +- removed documentation patch (not needed anymore) + +------------------------------------------------------------------- +Wed Feb 20 18:14:04 CET 2002 - jg@suse.de + +- modified init script to honor inittimeout settings + +------------------------------------------------------------------- +Wed Feb 20 17:55:05 CET 2002 - jg@suse.de + +- added -include /usr/src/linux/include/linux/modversions.h + to km_drbd Makefile in case CONFIG_MODVERSIONS is set +- modified the init script to comply to LSB and to skip + the "interactive" part on boot + +------------------------------------------------------------------- +Tue Feb 12 15:47:56 CET 2002 - jg@suse.de + +- added -DMODVERSION and -D__SMP__ to km_drbd Makefile (according + to kernel configuration) + +------------------------------------------------------------------- +Fri Feb 1 00:26:06 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Tue Jan 29 18:26:07 CET 2002 - jg@suse.de + +- updated to 0.6.1-pre9 + +------------------------------------------------------------------- +Thu Dec 20 10:22:14 CET 2001 - jg@suse.de + +- replaced insserv call in specfile with respective macro + +------------------------------------------------------------------- +Wed Dec 19 21:01:42 CET 2001 - jg@suse.de + +- updated to 0.6.1-pre7 (supports now kernel 2.4) +- removed insserv call after installing +- removed fillup template +- removed some outdated documentation files + +------------------------------------------------------------------- +Fri Jul 27 17:21:10 MEST 2001 - mt@suse.de + +- fixed init script to be LSB compliant + +------------------------------------------------------------------- +Fri Jul 20 12:06:42 CEST 2001 - kukuk@suse.de + +- changed neededforbuild to +- changed neededforbuild to +- changed neededforbuild to + +------------------------------------------------------------------- +Sun Jan 14 11:01:43 CET 2001 - mt@suse.de + +- added km_drbd subpackage with drbd kernel module source + +------------------------------------------------------------------- +Fri Dec 1 14:07:17 CET 2000 - mt@suse.de + +- added mkdir $RPM_BUILD_ROOT/sbin in spec + +------------------------------------------------------------------- +Fri Dec 1 10:43:41 CET 2000 - kukuk@suse.de + +- move sbin/init.d -> etc/init.d + +------------------------------------------------------------------- +Mon Nov 27 12:45:16 CET 2000 - mt@suse.de + +- fixed link src for rcdrbd in spec file +- changed group to Applications/Clustering + +------------------------------------------------------------------- +Thu Nov 23 09:42:31 CET 2000 - mt@suse.de + +- removed heartbeat from neededforbuild + +------------------------------------------------------------------- +Wed Nov 22 13:40:05 CET 2000 - mt@suse.de + +- changed to LSB installation of run level links + +------------------------------------------------------------------- +Fri Nov 10 16:01:54 CET 2000 - mt@suse.de + +- no module build in spec - drbd module is patched into the kernel + +------------------------------------------------------------------- +Wed Nov 8 10:42:33 CET 2000 - mt@suse.de + +- new package + diff --git a/drbd.spec b/drbd.spec new file mode 100644 index 0000000..704bd2f --- /dev/null +++ b/drbd.spec @@ -0,0 +1,501 @@ +# +# spec file for package drbd (Version 0.7.23) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: drbd +BuildRequires: glib-devel kernel-source kernel-syms +Summary: Distributed Replicated Block Device +Version: 0.7.23 +Release: 1 +Source: %{name}-%{version}.tar.gz +# Source: drbd-SVN.tar.bz2 +Source1: drbd-Makefile.module +Source2: drbd-modprobe.d +Patch0: drbd-optflags.patch +Patch1: drbd-kver.patch +License: GNU General Public License (GPL) +Group: Productivity/Clustering/HA +Provides: drbdsetup drbd-control +URL: http://www.drbd.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: %insserv_prereq %fillup_prereq fileutils +%suse_kernel_module_package kdump um + +%description +Drbd is a distributed replicated block device. It mirrors a block +device over the network to another machine. Think of it as networked +raid 1. It is a building block for setting up clusters. + + + +Authors: +-------- + Philipp Reisner + Lars Ellenberg + +%package KMP +Summary: Distributed Replicated Block Device +Group: System/Kernel + +%description KMP +Drbd is a distributed replicated block device. It mirrors a block +device over the network to another machine. Think of it as networked +raid 1. It is a building block for setting up clusters. + + + +Authors: +-------- + Philipp Reisner + Lars Ellenberg + +%prep +%setup -n drbd-%{version} +%patch0 -p1 +%patch1 -p0 +mkdir source +cp -a drbd/. source/. || : +cp %{SOURCE1} source/Makefile +mkdir obj + +%build +export RPM_BUILD_ROOT +export DIST=suselike +mkdir -p %{buildroot} +make clean +make PREFIX=%{buildroot}/ OPTFLAGS="$RPM_OPT_FLAGS" tools +export EXTRA_CFLAGS='-DVERSION=\"%version\"' +for flavor in %flavors_to_build; do + rm -rf obj/$flavor + cp -r source obj/$flavor + make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \ + M=$PWD/obj/$flavor +done + +%install +export RPM_BUILD_ROOT +export DIST=suselike +make PREFIX=%{buildroot}/ install-tools +ln -sf ../etc/init.d/drbd $RPM_BUILD_ROOT/sbin/rcdrbd +ln -sf drbddisk $RPM_BUILD_ROOT/etc/ha.d/resource.d/datadisk +mkdir -p $RPM_BUILD_ROOT/var/lib/drbd +# +# and I only want to install a hint to the example conf +# +cat <<___ > $RPM_BUILD_ROOT/etc/drbd.conf +# +# please have a a look at the example configuration file in +# %{_docdir}/drbd/drbd.conf +# +___ +mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d/ +cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/modprobe.d/drbd +# Install kernel modules: +export INSTALL_MOD_PATH=$RPM_BUILD_ROOT +export INSTALL_MOD_DIR=updates +for flavor in %flavors_to_build; do + make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ + M=$PWD/obj/$flavor +done + +%clean +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT" + +%post +%{fillup_and_insserv -p} + +%postun +%{insserv_cleanup} + +%files -n drbd +%defattr(-, root, root) +%config /etc/drbd.conf +/sbin/drbdadm +/sbin/drbdsetup +/sbin/rcdrbd +/var/lib/drbd +%config /etc/init.d/drbd +%config /etc/modprobe.d/drbd +%dir /etc/ha.d +%dir /etc/ha.d/resource.d +/etc/ha.d/resource.d/drbddisk +/etc/ha.d/resource.d/datadisk +%doc %{_mandir}/man5/drbd.conf.5* +%doc %{_mandir}/man8/drbd.8* +%doc %{_mandir}/man8/drbdsetup.8* +%doc %{_mandir}/man8/drbdadm.8* +%doc %{_mandir}/man8/drbddisk.8* +%doc COPYING +%doc README +%doc ChangeLog +%doc upgrade_*.txt +%doc scripts/drbd.conf + +%changelog -n drbd +* Mon Jan 15 2007 - lmb@suse.de +- Update to 0.7.23 for Linux kernels >2.6.19. +* Mon Oct 30 2006 - lmb@suse.de +- Update to the officially released 0.7.22 version. +- Implement "freeze_io" feature. +- convert-MODULE_PARM.diff: drop unneeded patch. +* Fri Oct 06 2006 - lmb@suse.de +- Update to 0.7.22: + - In protocol A and B, on connection loss, drbd could "forget" to set + certain areas out of sync. + - fix races between failure in drbd_send_dblock and concurrently + running tl_clear. + - fix potential access-afer-free in drbd_dio_end. + - fix possible list corruption respective resulting deadlock in + receive_DataRequest. + - improved the drbd_thread_stop / start code. +* Mon Aug 14 2006 - lmb@suse.de +- Update to 0.7.21. + * Fixed the "syncer stalled" after reconnect symptom. + * Fixed the "stalled in WFParams" after reconnect symptom. The cause + of this bug was actually a misuse of the data socket. + * Allow to set the uplug_watermark to 1, only usefull for very strange + cases. + * The GC comparison code failed to start a resync in case the two + cluster node failed simultaniously (common power failure). + * Fixed DRBD's code to start kernel threads to work on 2.6.17 also. + * IOCTL return codes fixed for 32bit userland - 64 bit kernel + setups. + * New config option "unplug-watermark". + * Released the drbd_alloc_ee() / drbd_free_ee() implementation from + the DRBD+ branch to the main branch. + * Fixed a bug where lc_del() left a list poison in an LRU chache's + hash table. The only way to trigger this bug was: + up (>>200M), primary, mkfs, resize to 200M, down, up + * DRBD now propagates the backing storage's read ahead properties + to upper layers. With devices that read very fast, this is + important. + * GFP_KERNEL was changed to GFP_NOIO in a few places, to make it + more save against deadlocks in the memory subsystem. +* Thu May 04 2006 - lmb@suse.de +- Import fixes from 0.7.18: +- Under high memory pressure it was possible to hit a deadlock on a + kmalloc(). Changed the GFP mask, it is no longer possible to deadlock + it with memory pressure. +- With very unlucky network timing during connect DRBD falls into a + connect / drop-connection loop, that as soon as DRBD is in this loop + is very stable. This is fixed now, DRBD detects this situation an + breaks out of it. +- Fix to the init-script. Now it waits until udev has created the device + nodes of _all_ resources. +- A small fix for the 32bit userland 64bit kernel people, running older + kernels. +- Improved handling of IO errors during initial read in of the activity + log. +* Sun Apr 02 2006 - agruen@suse.de +- convert-MODULE_PARM.diff: Convert from the obsolete MODULE_PARM + to the new module_param. +* Mon Mar 27 2006 - lmb@suse.de +- Fix memory allocation flags for the activity log (GFP_KERNEL -> + GFP_NOIO) to avoid possible deadlock. +* Mon Mar 06 2006 - lmb@suse.de +- Import upstream fixes from 0.7.17: + - There was a bug that could cause the activity log to be not applied + after a primary crash, when an other size than 127 elements was + configured. + - There was a bug in the activity log code, that could cause that the + latest update to the AL is omitted at recovery time. + - The "Marked additional XXKB as out-of-synced based on AL." message + showed one one eighth of the real amount. +* Thu Feb 16 2006 - lmb@suse.de +- Update to 0.7.16, new fixes: + - DRBD no longer shrinks an consistent device if it gets connected to + an smaller peer or attached to a smaller disk. + - There was a bug related to the degr-wcf-timeout config option, it was + never used in recent DRBD releases. Fixed. +* Fri Feb 03 2006 - agruen@suse.de +- drbd.spec: Replace %%arch with %%_target_cpu. +* Thu Feb 02 2006 - ro@suse.de +- added KMP subpackage (required with suse_kernel_module_package) +* Tue Jan 31 2006 - lmb@suse.de +- Change km_drbd to a KMP. +- Import fix to deal with serialized recursive calls to + generic_make_request() and avoid a deadlock (SVN r2056). +* Thu Jan 26 2006 - lmb@suse.de +- Compile fix for 2.6.16-rc1. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Mon Jan 23 2006 - lmb@suse.de +- Import some updated documentation. +* Tue Dec 20 2005 - lmb@suse.de +- Update to 0.7.15. +* Thu Dec 01 2005 - lmb@suse.de +- Update to 0.7.14/SVN. +* Thu Sep 01 2005 - lmb@suse.de +- Switch to stable version 0.7.13. +* Thu Jun 30 2005 - meissner@suse.de +- use RPM_OPT_FLAGS correctly. +* Mon Feb 21 2005 - lmb@suse.de +- Update to upstream 0.8_pre1 (SVN 1763). +* Wed Feb 02 2005 - lmb@suse.de +- Update to upstream 0.7.10 (1754). +* Fri Jan 14 2005 - ro@suse.de +- fix typo in specfile +* Wed Dec 01 2004 - lmb@suse.de +- Update to upstream version 0.7.6. +* Mon Sep 20 2004 - lmb@suse.de +- Merge fixes from SLES9 SP1 with STABLE. +* Fri Sep 03 2004 - lmb@suse.de +- Realign with upstream. +* Fri Aug 27 2004 - lmb@suse.de +- Allow invalidate if cstate to +- changed neededforbuild to +* Wed Oct 02 2002 - jg@suse.de +- Updated to 0.6.1-pre17, changes: + - Merged syncer speedup code by Lars G. Ellenberg + - Merged most of Lars' modifications to the ioctl interface + - Marged the bug-fixes from the lge-branch + - Implemented the TimoutCounter in the meta-data code. + - Fixed a bug that could cause lockup of the primary node on + SMP systems using a SCSI device for DRBD, it always happened + during resynchronisation. (!) +- Checking /.buildenv now in buildsystem instead of /etc/*-release +* Tue Sep 03 2002 - jg@suse.de +- Init script fixes: + - Removed abortion on non existing block devices (may + break LVM setups) + - Sourcing . /etc/rc.status earlier now + - Allowing execution via rcdrbd link +* Mon Sep 02 2002 - jg@suse.de +- Incorporated latest changes from CVS +- Using lge branch now (syncer much faster) +* Wed Aug 21 2002 - jg@suse.de +- Fixed manpage generation (should now even build on ppc64) +* Tue Aug 20 2002 - jg@suse.de +- Added PreReq tag +* Mon Aug 19 2002 - kukuk@suse.de +- fix compilation on UL +* Tue Aug 13 2002 - jg@suse.de +- Added documentation stuff again +- Modified init script to comply with LSB +* Mon Aug 12 2002 - jg@suse.de +- Updated to latest version from CVS repository +- Removed temporary documentation path from Makefile (does + not build) +* Tue Mar 05 2002 - jg@suse.de +- Fixed broken specfile +* Mon Mar 04 2002 - jg@suse.de +- updated to bugfix release 0.6.1pre10 + - Data-corruption bug in SyncAll fixed (was introduced in pre9) + - Fixed an OOPS in tl_check_sector() (was introduced in pre9) + - Fixed Linux-2.2.x compability (was broken in pre9) +- removed documentation patch (not needed anymore) +* Wed Feb 20 2002 - jg@suse.de +- modified init script to honor inittimeout settings +* Wed Feb 20 2002 - jg@suse.de +- added -include /usr/src/linux/include/linux/modversions.h + to km_drbd Makefile in case CONFIG_MODVERSIONS is set +- modified the init script to comply to LSB and to skip + the "interactive" part on boot +* Tue Feb 12 2002 - jg@suse.de +- added -DMODVERSION and -D__SMP__ to km_drbd Makefile (according + to kernel configuration) +* Fri Feb 01 2002 - ro@suse.de +- changed neededforbuild to +* Tue Jan 29 2002 - jg@suse.de +- updated to 0.6.1-pre9 +* Thu Dec 20 2001 - jg@suse.de +- replaced insserv call in specfile with respective macro +* Wed Dec 19 2001 - jg@suse.de +- updated to 0.6.1-pre7 (supports now kernel 2.4) +- removed insserv call after installing +- removed fillup template +- removed some outdated documentation files +* Fri Jul 27 2001 - mt@suse.de +- fixed init script to be LSB compliant +* Fri Jul 20 2001 - kukuk@suse.de +- changed neededforbuild to +- changed neededforbuild to +- changed neededforbuild to +* Sun Jan 14 2001 - mt@suse.de +- added km_drbd subpackage with drbd kernel module source +* Fri Dec 01 2000 - mt@suse.de +- added mkdir $RPM_BUILD_ROOT/sbin in spec +* Fri Dec 01 2000 - kukuk@suse.de +- move sbin/init.d -> etc/init.d +* Mon Nov 27 2000 - mt@suse.de +- fixed link src for rcdrbd in spec file +- changed group to Applications/Clustering +* Thu Nov 23 2000 - mt@suse.de +- removed heartbeat from neededforbuild +* Wed Nov 22 2000 - mt@suse.de +- changed to LSB installation of run level links +* Fri Nov 10 2000 - mt@suse.de +- no module build in spec - drbd module is patched into the kernel +* Wed Nov 08 2000 - mt@suse.de +- new package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4