Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 30 Dec 2001 02:29:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 30 Dec 2001 02:29:17 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:59537 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Sun, 30 Dec 2001 02:29:06 -0500 Date: Sun, 30 Dec 2001 02:29:03 -0500 (EST) From: Alexander Viro To: Andrew Morton cc: Andrea Arcangeli , Linus Torvalds , torrey.hoffman@myrio.com, linux-kernel@vger.kernel.org, Marcelo Tosatti , "Stephen C. Tweedie" Subject: Re: ramdisk corruption problems - was: RE: pivot_root and initrd kern el panic woes In-Reply-To: <3C2EBD62.6A98F670@zip.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 29 Dec 2001, Andrew Morton wrote: > As you pointed out offline, the -ac kernels fixed the problem using > *both* approaches. Here's a 2.4.18-pre1 version. generic_file_write() > is getting rather icky. > > Please let me know if this looks like the way to proceed, and I'll > find a way to actually test the thing. Erm... I don't think so. Come on - vmtruncate() is obvious candidate for out-of-line. Please, look how it was done in 2.4.9-ac*. BTW, fs/buffer.c part of patch looks mangled. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/