rpms/kernel/devel linux-2.6-dm-sync-overrun.patch, NONE, 1.1.2.1 kernel-2.6.spec, 1.1826.2.8, 1.1826.2.9
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jan 9 19:11:20 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25691
Modified Files:
Tag: private-fc5-test2-branch
kernel-2.6.spec
Added Files:
Tag: private-fc5-test2-branch
linux-2.6-dm-sync-overrun.patch
Log Message:
avoid overrun whilst syncing
linux-2.6-dm-sync-overrun.patch:
dm-log.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE linux-2.6-dm-sync-overrun.patch ---
--- linux-2.6.15/drivers/md/dm-log.c~ 2006-01-09 14:09:53.000000000 -0500
+++ linux-2.6.15/drivers/md/dm-log.c 2006-01-09 14:10:03.000000000 -0500
@@ -573,7 +573,7 @@ static int core_get_resync_work(struct d
lc->sync_search);
lc->sync_search = *region + 1;
- if (*region == lc->region_count)
+ if (*region >= lc->region_count)
return 0;
} while (log_test_bit(lc->recovering_bits, *region));
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.1826.2.8
retrieving revision 1.1826.2.9
diff -u -r1.1826.2.8 -r1.1826.2.9
--- kernel-2.6.spec 9 Jan 2006 16:23:52 -0000 1.1826.2.8
+++ kernel-2.6.spec 9 Jan 2006 19:11:18 -0000 1.1826.2.9
@@ -370,6 +370,7 @@
Patch1840: linux-2.6-x86-hp-reboot.patch
Patch1860: linux-2.6-posix-timers-sched_time-accumulation.patch
Patch1870: linux-2.6-kill-blk_attempt_merge.patch
+Patch1880: linux-2.6-dm-sync-overrun.patch
# Warn about usage of various obsolete functionality that may go away.
Patch1900: linux-2.6-obsolete-idescsi-warning.patch
@@ -886,6 +887,8 @@
%patch1860 -p1
# kill blk_attempt_merge
%patch1870 -p1
+# dm: avoid ovvrun while syncing.
+%patch1880 -p1
# Warn about obsolete functionality usage.
%patch1900 -p1
@@ -1418,6 +1421,7 @@
- Remove vm debug patch that triggers too easily right now.
(Needs fixing properly post test2).
- kill blk_attempt_merge() which was horribly broken.
+- dm: avoid ovvrun while syncing.
* Mon Jan 9 2006 David Woodhouse <dwmw2 at redhat.com>
- Fix some usblp problems, add ieee1284_id to sysfs
More information about the fedora-cvs-commits
mailing list