From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932487AbWEVGTL (ORCPT ); Mon, 22 May 2006 02:19:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932482AbWEVGTL (ORCPT ); Mon, 22 May 2006 02:19:11 -0400 Received: from ns2.suse.de ([195.135.220.15]:723 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S932159AbWEVGTK (ORCPT ); Mon, 22 May 2006 02:19:10 -0400 From: NeilBrown To: Andrew Morton Date: Mon, 22 May 2006 16:18:45 +1000 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D Subject: [PATCH 000 of 2] md: Introduction Message-ID: <20060522161259.2792.patches@notabene> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Two patches to fix two possibly Oopses in md/raid Both are suitable for 2.6.17. Both involve indexing off the end of the array, and only cause a problem if the ends up hitting a non-mapped page. The first only affects raid0 is fairly rare put possible circumstances. The second can affect all users of bio_split: linear, raid0, raid10 Thanks to Don Dupuis for hitting these bugs! [PATCH 001 of 2] md: Fix possible oops when starting a raid0 array [PATCH 002 of 2] md: Make sure bi_max_vecs is set properly in bio_split