From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Fasheh Date: Tue Jan 16 11:58:01 2007 Subject: [Ocfs2-devel] Fixing cluster/heartbeat.c's use of bio_add_page() In-Reply-To: <200701111058.11212.philipp.reisner@linbit.com> References: <200701051506.52840.philipp.reisner@linbit.com> <20070109222804.GY6831@ca-server1.us.oracle.com> <200701111058.11212.philipp.reisner@linbit.com> Message-ID: <20070116195757.GA6831@ca-server1.us.oracle.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com On Thu, Jan 11, 2007 at 10:58:10AM +0100, Philipp Reisner wrote: > My try of a 'The perfect patch': > > Moved the bio_put() call into the bio's bi_end_io() function. This makes the > whole idea of trying to predict the behaviour of bio_add_page() unnecessary. > Removed compute_max_sectors() and o2hb_compute_request_limits(). Ok, this is uploading to ocfs2.git right now. It needs some testing in -mm (and internally) for a while before I push it upstream. Have you tried this in a cluster of more than one node? Thanks, --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from soda (unknown [86.59.100.100]) by mail.linbit.com (LINBIT Mail Daemon) with ESMTP id B6FFF2D9DB69 for ; Wed, 17 Jan 2007 13:01:14 +0100 (CET) Resent-Message-ID: <20070117120116.GB8413@soda.linbit> Date: Tue, 16 Jan 2007 11:57:57 -0800 From: Mark Fasheh To: Philipp Reisner Message-ID: <20070116195757.GA6831@ca-server1.us.oracle.com> References: <200701051506.52840.philipp.reisner@linbit.com> <20070109222804.GY6831@ca-server1.us.oracle.com> <200701111058.11212.philipp.reisner@linbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701111058.11212.philipp.reisner@linbit.com> Cc: ocfs2-devel@oss.oracle.com, drbd-dev@lists.linbit.com Subject: [Drbd-dev] Re: [Ocfs2-devel] Fixing cluster/heartbeat.c's use of bio_add_page() Reply-To: Mark Fasheh List-Id: Coordination of development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jan 11, 2007 at 10:58:10AM +0100, Philipp Reisner wrote: > My try of a 'The perfect patch': > > Moved the bio_put() call into the bio's bi_end_io() function. This makes the > whole idea of trying to predict the behaviour of bio_add_page() unnecessary. > Removed compute_max_sectors() and o2hb_compute_request_limits(). Ok, this is uploading to ocfs2.git right now. It needs some testing in -mm (and internally) for a while before I push it upstream. Have you tried this in a cluster of more than one node? Thanks, --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com