Rebuilt for latest kernel.
Related: RHEL-61201 Signed-off-by: Chung Chung <cchung@redhat.com>
This commit is contained in:
parent
491a903fd6
commit
925d62b8ef
15
fix_the_build.patch
Normal file
15
fix_the_build.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -Naur kvdo-e58f053ed24c46e72c5b7ad7ff029d50c11e7dc3.orig/vdo/dm-vdo-target.c kvdo-e58f053ed24c46e72c5b7ad7ff029d50c11e7dc3/vdo/dm-vdo-target.c
|
||||||
|
--- kvdo-e58f053ed24c46e72c5b7ad7ff029d50c11e7dc3.orig/vdo/dm-vdo-target.c 2024-11-06 11:18:49.000000000 -0500
|
||||||
|
+++ kvdo-e58f053ed24c46e72c5b7ad7ff029d50c11e7dc3/vdo/dm-vdo-target.c 2025-01-17 10:47:04.527655244 -0500
|
||||||
|
@@ -73,9 +73,9 @@
|
||||||
|
limits->physical_block_size = VDO_BLOCK_SIZE;
|
||||||
|
|
||||||
|
/* The minimum io size for random io */
|
||||||
|
- blk_limits_io_min(limits, VDO_BLOCK_SIZE);
|
||||||
|
+ limits->io_min = VDO_BLOCK_SIZE;
|
||||||
|
/* The optimal io size for streamed/sequential io */
|
||||||
|
- blk_limits_io_opt(limits, VDO_BLOCK_SIZE);
|
||||||
|
+ limits->io_opt = VDO_BLOCK_SIZE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Sets the maximum discard size that will be passed into VDO. This
|
@ -15,6 +15,7 @@
|
|||||||
Source0: https://github.com/dm-vdo/%{kmod_name}/archive/%{commit}/%{kmod_name}-%{shortcommit}.tar.gz
|
Source0: https://github.com/dm-vdo/%{kmod_name}/archive/%{commit}/%{kmod_name}-%{shortcommit}.tar.gz
|
||||||
Patch0: add_lz4_dependency.patch
|
Patch0: add_lz4_dependency.patch
|
||||||
Patch1: removed-logical-space-check-from-table-line.patch
|
Patch1: removed-logical-space-check-from-table-line.patch
|
||||||
|
Patch2: fix_the_build.patch
|
||||||
|
|
||||||
%define findpat %( echo "%""P" )
|
%define findpat %( echo "%""P" )
|
||||||
|
|
||||||
@ -109,6 +110,7 @@ printf '%s\n' "${modules[@]}" | %{_sbindir}/weak-modules --dracut=/usr/bin/dracu
|
|||||||
%setup -n %{kmod_name}-%{commit}
|
%setup -n %{kmod_name}-%{commit}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
%{nil}
|
%{nil}
|
||||||
set -- *
|
set -- *
|
||||||
mkdir source
|
mkdir source
|
||||||
@ -158,6 +160,10 @@ install -m 644 -D source/greylist.txt $RPM_BUILD_ROOT/usr/share/doc/kmod-%{kmod_
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 17 2025 - Chung Chung <cchung@redhat.com> - 8.2.5.2-155.el9
|
||||||
|
- TEMPORARY FIX to correct build failures regarding blk_limits_io_{min,opt} error
|
||||||
|
- Related: RHEL-61201
|
||||||
|
|
||||||
* Fri Jan 17 2025 - Chung Chung <cchung@redhat.com> - 8.2.5.2-155.el9
|
* Fri Jan 17 2025 - Chung Chung <cchung@redhat.com> - 8.2.5.2-155.el9
|
||||||
- Rebuilt for latest kernel.
|
- Rebuilt for latest kernel.
|
||||||
- Related: RHEL-61201
|
- Related: RHEL-61201
|
||||||
|
Loading…
Reference in New Issue
Block a user