From owner-freebsd-current@FreeBSD.ORG Tue Nov 1 03:58:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95876106566B for ; Tue, 1 Nov 2011 03:58:01 +0000 (UTC) (envelope-from stephane.lapie@darkbsd.org) Received: from quasar.darkbsd.org (shinigami.darkbsd.org [82.227.96.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1DFB78FC17 for ; Tue, 1 Nov 2011 03:58:00 +0000 (UTC) Received: from quasar.darkbsd.org (localhost [127.0.0.1]) by quasar.darkbsd.org (Postfix) with ESMTP id 6EC317711; Tue, 1 Nov 2011 04:42:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=selector1; bh=CGuO3uobQVaXkpqLi46slu4fnVM=; b=M qxEJxZtnQPUui6fYWWX45t4uLm9KZYPGQcl6uD4oKd0D5uX6d4zXyRkr6NgXbNvE rpsG/wpdRbxC/+gAZQbY657YKdm+amlGWSGyCbKdJN8wJFhvSswXLQoGVvkejGUf kHuizETFSmYC5D7STu7//mDkwJ3XqEijCnaf4aAxOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=selector1; b=dnRdQpHaK6yFeljtu0T1U46UAkk xEFJrsf/Y59YfM1w/5RrDgwDlQZ1CyWBsM2QcXQUfyN/MyJVH1VkSiAvoxx2xGhR j0OQ5nwtzI5bV1AoaVWFCdqMaI9TNPpt/l4L+zCReu1WLu8dZKVA9TYHFXBtCmHQ 1u79ohcV3chBKKhs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbsd.org; h= content-type:content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id:received :received; s=selector1; t=1320118955; bh=79SNKGBmqTfdv0oWWVt9DyW E8W+UKc5XGxjuCrQJp4o=; b=WONndy5+IaRlV17uCjNuYWlZ4mYMfY1fkRs0YsJ FZVazHoxhpg1KznjnaKNcdULOcxlFHCTFBfPAHkscn4Q8yB9QM0tV68eSYFZ6MMv t7HyjHFuzfwQ+qE+B7UAZK2IM+fdJEbXNZNQyItvjRk2jnrKjhVDBpVeQNbbG6HL kM7k= Received: from quasar.darkbsd.org ([127.0.0.1]) by quasar.darkbsd.org (quasar.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ro83RX-+tSAR; Tue, 1 Nov 2011 04:42:35 +0100 (CET) Received: from [192.168.166.168] (unknown [210.188.173.246]) (Authenticated sender: darksoul) by quasar.darkbsd.org (Postfix) with ESMTPSA id 5AA97770A; Tue, 1 Nov 2011 04:42:34 +0100 (CET) Message-ID: <4EAF6A99.5020609@darkbsd.org> Date: Tue, 01 Nov 2011 12:42:17 +0900 From: Stephane LAPIE User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Alexander Motin References: <4EAF00A6.5060903@FreeBSD.org> In-Reply-To: <4EAF00A6.5060903@FreeBSD.org> X-Enigmail-Version: 1.4a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB3C5D17B9A52540D296E9FEC" Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: RFC: GEOM MULTIPATH rewrite X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 03:58:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB3C5D17B9A52540D296E9FEC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, First of all, many thanks. I am going to test your patch on 9.0-RC1, and try to backport it to 8.2 (which is the main version I am currently using at work, in the environment where I have a critical need for FC multipath redundancy...) Again, thanks for your efforts. I hope to be giving feedback soon. Cheers, On 11/01/2011 05:10 AM, Alexander Motin wrote: > Hi. >=20 > Attempt to fix some GEOM MULTIPATH issues made me almost rewrite it. So= > I would like to present my results and request for testing and feedback= =2E >=20 > The main changes: > - Improved locking and destruction process to fix crashes in many case= s. > - Improved "automatic" configuration method to make it safe by reading= > metadata back from all specified paths after writing to one. > - Added provider size check to reduce chance of conflict with other > GEOM classes. > - Added "manual" configuration method without using on-disk metadata. > - Added "add" and "remove" commands to manage paths manually. > - Failed paths no longer dropped from GEOM, but only marked as FAIL an= d > excluded from I/O operations. > - Automatically restore failed paths when all others paths are marked > as failed, for example, because of device-caused (not transport) errors= =2E > - Added "fail" and "restore" commands to manually control FAIL flag. > - GEOM is now destroyed on last provider disconnection. IMHO it is > right to do if device was completely removed. > - Added optional Active/Active mode support. Unlike Active/Passive > mode, load evenly distributed between all working paths. If supported b= y > device, it allows to significantly improve performance, utilizing > bandwidth of all paths. It is controlled by -A option during creation. > Disabled by default now. > - Improved `status` and `list` commands output. >=20 > Latest patch can be found here: > http://people.freebsd.org/~mav/gmultipath4.patch >=20 > Feedbacks are welcome! >=20 > Sponsored by: iXsystems, Inc. >=20 --=20 Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo --------------enigB3C5D17B9A52540D296E9FEC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6vaqMACgkQ24Ql8u6TF2OwKwCgod1huQlPNHd8P2VV0jvgXY8O jUAAn18c9LnMA8IRP3VBcNOaPOXVhXQX =UdJZ -----END PGP SIGNATURE----- --------------enigB3C5D17B9A52540D296E9FEC--