The patch titled ps3disk: use correct bio vector size has been removed from the -mm tree. Its filename was ps3-disk-storage-driver-use-correct-bio-vector-size.patch This patch was dropped because it was folded into ps3-disk-storage-driver.patch ------------------------------------------------------ Subject: ps3disk: use correct bio vector size From: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> This fixes the O_DIRECT corruptions, as reported by Olaf Hering (triggered by e.g. parted >= 1.8.0). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> Cc: Geoff Levand <geoffrey.levand@xxxxxxxxxxx> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/ps3disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/block/ps3disk.c~ps3-disk-storage-driver-use-correct-bio-vector-size drivers/block/ps3disk.c --- a/drivers/block/ps3disk.c~ps3-disk-storage-driver-use-correct-bio-vector-size +++ a/drivers/block/ps3disk.c @@ -108,7 +108,7 @@ static void ps3disk_scatter_gather(struc __func__, __LINE__, i, bio_segments(bio), bio_sectors(bio), sector); bio_for_each_segment(bvec, bio, j) { - size = bio_cur_sectors(bio)*KERNEL_SECTOR_SIZE; + size = bvec->bv_len; buf = __bio_kmap_atomic(bio, j, KM_IRQ0); if (gather) memcpy(dev->bounce_buf+offset, buf, size); _ Patches currently in -mm which might be from Geert.Uytterhoeven@xxxxxxxxxxx are origin.patch ps3-disk-storage-driver.patch ps3-disk-storage-driver-use-correct-bio-vector-size.patch ps3-disk-storage-driver-updates-after-final-review.patch ps3-bd-dvd-cd-rom-storage-driver.patch ps3-bd-dvd-cd-rom-storage-driver-updates-after-final-review.patch ps3-flash-rom-storage-driver.patch ps3-flash-rom-storage-driver-updates-after-final-review.patch ps3fb-enable-vt_hw_console_binding-for-proper-kexec.patch ps3fb-shrink-default-virtual-frame-buffer-size-from-18-to-9-mib.patch ps3fb-set-fbinfo_reads_fast-to-speed-up-text-console-scrolling.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html