This commit is contained in:
parent
2071e3b20c
commit
8a0ee48501
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:588ab2a66b659e434f4ae5fb4d0db59f868bdb21f39915b548794a005f7b474f
|
oid sha256:6e6114bcc1f5ebede32625efda54b25284ed0065e4c8d1a8088271ab3070a3d9
|
||||||
size 279020
|
size 281309
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
benchmark/Makefile | 4 +++-
|
|
||||||
user/Makefile | 3 ++-
|
|
||||||
2 files changed, 5 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- drbd-8.2.5.orig/benchmark/Makefile 2007-12-09 13:54:21.000000000 +0100
|
|
||||||
+++ drbd-8.2.5/benchmark/Makefile 2008-04-15 14:28:50.253569000 +0200
|
|
||||||
@@ -1,6 +1,8 @@
|
|
||||||
-CFLAGS=-Wall
|
|
||||||
+CFLAGS=-Wall $(OPTFLAGS)
|
|
||||||
+
|
|
||||||
+OPTFLAGS=-O2
|
|
||||||
|
|
||||||
all: dm io-latency-test
|
|
||||||
|
|
||||||
io-latency-test: io-latency-test.c
|
|
||||||
$(CC) -pthread -o $@ $^
|
|
||||||
--- drbd-8.2.5.orig/user/Makefile 2007-10-09 16:13:11.000000000 +0200
|
|
||||||
+++ drbd-8.2.5/user/Makefile 2008-04-15 14:28:29.595246000 +0200
|
|
||||||
@@ -18,11 +18,12 @@
|
|
||||||
#
|
|
||||||
|
|
||||||
KDIR := /lib/modules/$(shell uname -r)/build
|
|
||||||
|
|
||||||
CC = gcc
|
|
||||||
-CFLAGS = -g -O2 -c -W -Wall -I../drbd
|
|
||||||
+OPTFLAGS = -O2
|
|
||||||
+CFLAGS = -g $(OPTFLAGS) -c -W -Wall -I../drbd
|
|
||||||
# for the netlink connector stuff <linux/connector.h>:
|
|
||||||
drbdsetup: CFLAGS += -I$(KDIR)/include
|
|
||||||
drbdsetup drbdmeta: CFLAGS += -fno-strict-aliasing
|
|
||||||
|
|
||||||
drbdadm-obj = drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o \
|
|
13
drbd.changes
13
drbd.changes
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 10 13:30:00 CET 2008 - lmb@suse.de
|
||||||
|
|
||||||
|
- Update with changes from 8a9ba53abe973301639beacc55eec569b43507e5:
|
||||||
|
- Fix buffer overflow and off-by-one errors in drbd user-space token
|
||||||
|
parser (bnc#450883).
|
||||||
|
- Fix resizing of devices.
|
||||||
|
- Fix a NULL pointer dereference in barrier handling.
|
||||||
|
- Handle failing request better.
|
||||||
|
- Race in UUID synchronization.
|
||||||
|
- Fix a call to a blocking function from within a spinlock.
|
||||||
|
- drbd-optflags.patch: removed, is now upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 21 14:00:00 CET 2008 - lmb@suse.de
|
Fri Nov 21 14:00:00 CET 2008 - lmb@suse.de
|
||||||
|
|
||||||
|
14
drbd.spec
14
drbd.spec
@ -24,9 +24,8 @@ BuildRequires: xen-tools
|
|||||||
%endif
|
%endif
|
||||||
Summary: Distributed Replicated Block Device
|
Summary: Distributed Replicated Block Device
|
||||||
Version: 8.2.7
|
Version: 8.2.7
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: drbd-optflags.patch
|
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
Provides: drbdsetup drbd-control
|
Provides: drbdsetup drbd-control
|
||||||
@ -66,7 +65,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{version}
|
%setup -n %{name}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
mkdir source
|
mkdir source
|
||||||
cp -a drbd/. source/. || :
|
cp -a drbd/. source/. || :
|
||||||
cp source/Makefile-2.6 source/Makefile
|
cp source/Makefile-2.6 source/Makefile
|
||||||
@ -159,6 +157,16 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%doc scripts/drbd.conf
|
%doc scripts/drbd.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 10 2008 lmb@suse.de
|
||||||
|
- Update with changes from 8a9ba53abe973301639beacc55eec569b43507e5:
|
||||||
|
- Fix buffer overflow and off-by-one errors in drbd user-space token
|
||||||
|
parser (bnc#450883).
|
||||||
|
- Fix resizing of devices.
|
||||||
|
- Fix a NULL pointer dereference in barrier handling.
|
||||||
|
- Handle failing request better.
|
||||||
|
- Race in UUID synchronization.
|
||||||
|
- Fix a call to a blocking function from within a spinlock.
|
||||||
|
- drbd-optflags.patch: removed, is now upstream.
|
||||||
* Fri Nov 21 2008 lmb@suse.de
|
* Fri Nov 21 2008 lmb@suse.de
|
||||||
- Update from 8.2.7-rc1 to 8.2.7 proper.
|
- Update from 8.2.7-rc1 to 8.2.7 proper.
|
||||||
- Endianness fixes.
|
- Endianness fixes.
|
||||||
|
Loading…
Reference in New Issue
Block a user