GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 786  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 957  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1013  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1079  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1149  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1204  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2084  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2144  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2339  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2512  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2663  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2663  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2663  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2791  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2821  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 2926  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 2987  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3210  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3588  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3629  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3634  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3713  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3856  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3912  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3912  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3912  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3912  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3912  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3912  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 3912  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3912  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3912  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3912  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3912  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3912  150733
The Linux Kernel.
Linux 2.6.24.3-r5 3912  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3912  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3912  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3912  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3912  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3912  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3912  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3912  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3912  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3912  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3912  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3912  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3912  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3912  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3912  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3912  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3912  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3912  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3912  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3912  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3912  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3912  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3912  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3912  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3912  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3912  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3912  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3912  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3912  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3912  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3912  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3912  278461 Luca...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-Makefile.patch
02-gobohide.patch
03-devfs.patch
04-squashfs2.0.patch
05-squashfs-gobohide.patch
06-linux-abi.patch
07-fusion-full.patch
08-aic7xxx-fix.patch
09-cpia-deadlock-fix.patch
10-hpt366-fix.patch
11-i8xx_tco-reboot-fix.patch
12-net-DOS-fix.patch
13-oom-kill-fix.patch
14-parport_pc-unload-fix.patch
15-ppp-fix.patch
16-smbfs-leak-fix.patch
17-usb-visor-fix.patch
18-cddvd-cmdfilter-drop.patch
19-cfq2-20041019.patch
20-fix-bad-segment-coalescing-in-blk_recalc_rq_segments.patch
21-vm-pages_scanned-active_list.patch
22-staircase9.1.patch
23-block_fix.patch
24-buildfix.patch
25-defaultcfq.patch
26-mwII.patch
27-mwII.patch
28-supermount-ng207.patch
29-qla2xxx.patch
Recipe
Resources/Dependencies
Resources/Description
dot-config
From: Jens Axboe <axboe@suse.de>

blk_recalc_rq_segments forgots to take ->max_segment_size into account and
gladly merges segments bigger than we can support, thus underestimating the
number of segments needed to fill it.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Index: linux-2.6.9-ck2/drivers/block/ll_rw_blk.c
===================================================================
--- linux-2.6.9-ck2.orig/drivers/block/ll_rw_blk.c	2004-10-22 10:34:33.000000000 \
+1000
+++ linux-2.6.9-ck2/drivers/block/ll_rw_blk.c	2004-10-22 21:46:27.286378575 +1000
@@ -2740,22 +2740,36 @@ void blk_recalc_rq_segments(struct reque
 {
 	struct bio *bio, *prevbio = NULL;
 	int nr_phys_segs, nr_hw_segs;
+	unsigned int phys_size, hw_size;
+	request_queue_t *q = rq->q;
 
 	if (!rq->bio)
 		return;
 
-	nr_phys_segs = nr_hw_segs = 0;
+	phys_size = hw_size = nr_phys_segs = nr_hw_segs = 0;
 	rq_for_each_bio(bio, rq) {
 		/* Force bio hw/phys segs to be recalculated. */
 		bio->bi_flags &= ~(1 << BIO_SEG_VALID);
 
-		nr_phys_segs += bio_phys_segments(rq->q, bio);
-		nr_hw_segs += bio_hw_segments(rq->q, bio);
+		nr_phys_segs += bio_phys_segments(q, bio);
+		nr_hw_segs += bio_hw_segments(q, bio);
 		if (prevbio) {
-			if (blk_phys_contig_segment(rq->q, prevbio, bio))
+			int pseg = phys_size + prevbio->bi_size + bio->bi_size;
+			int hseg = hw_size + prevbio->bi_size + bio->bi_size;
+
+			if (blk_phys_contig_segment(q, prevbio, bio) &&
+			    pseg <= q->max_segment_size) {
 				nr_phys_segs--;
-			if (blk_hw_contig_segment(rq->q, prevbio, bio))
+				phys_size += prevbio->bi_size + bio->bi_size;
+			} else
+				phys_size = 0;
+
+			if (blk_hw_contig_segment(q, prevbio, bio) &&
+			    hseg <= q->max_segment_size) {
 				nr_hw_segs--;
+				hw_size += prevbio->bi_size + bio->bi_size;
+			} else
+				hw_size = 0;
 		}
 		prevbio = bio;
 	}
Linux 2.6.8.1-r1 3912  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3912  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3912  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3912  22359 Luca...
The Linux Kernel.