Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261271AbUKBPK6 (ORCPT ); Tue, 2 Nov 2004 10:10:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261255AbUKBPID (ORCPT ); Tue, 2 Nov 2004 10:08:03 -0500 Received: from zamok.crans.org ([138.231.136.6]:29571 "EHLO zamok.crans.org") by vger.kernel.org with ESMTP id S261981AbUKBPDK convert rfc822-to-8bit (ORCPT ); Tue, 2 Nov 2004 10:03:10 -0500 To: Jens Axboe Cc: Andrew Morton , jfannin1@columbus.rr.com, agk@redhat.com, christophe@saout.de, linux-kernel@vger.kernel.org, bzolnier@gmail.com Subject: Re: 2.6.9-mm1: LVM stopped working (dio-handle-eof.patch) References: <20041026123651.GA2987@zion.rivenstone.net> <20041026135955.GA9937@agk.surrey.redhat.com> <20041026213703.GA6174@rivenstone.net> <20041026151559.041088f1.akpm@osdl.org> <87hdogvku7.fsf@barad-dur.crans.org> <20041026222650.596eddd8.akpm@osdl.org> <20041027054741.GB15910@suse.de> <20041027064146.GG15910@suse.de> <877jpcgolt.fsf@barad-dur.crans.org> <20041102143919.GT6821@suse.de> <20041102145541.GV6821@suse.de> From: Mathieu Segaud Date: Tue, 02 Nov 2004 16:03:06 +0100 In-Reply-To: <20041102145541.GV6821@suse.de> (Jens Axboe's message of "Tue, 2 Nov 2004 15:55:41 +0100") Message-ID: <87bregjnth.fsf@barad-dur.crans.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 25 Jens Axboe disait derni?rement que : > Ehm, that should be > > if ((isize - offset)) > bytes_todo = isize - offset; > else if (bytes_todo > PAGE_SIZE) > bytes_todo = PAGE_SIZE; Give 2 or 3 hours (time to get from office to home, rhooo trafic in Paris) and I'll get you an answer (I will adapt this patch to 2.6.10-rc1-mm2 if need be) Best, -- There is a word for that and that word is "crap". - Alexander Viro on linux-kernel - 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/