From owner-svn-src-stable@FreeBSD.ORG Fri Apr 23 16:20:45 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7F8B106566C; Fri, 23 Apr 2010 16:20:45 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A5C4A8FC17; Fri, 23 Apr 2010 16:20:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3NGKje2050310; Fri, 23 Apr 2010 16:20:45 GMT (envelope-from mjacob@svn.freebsd.org) Received: (from mjacob@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3NGKjoL050308; Fri, 23 Apr 2010 16:20:45 GMT (envelope-from mjacob@svn.freebsd.org) Message-Id: <201004231620.o3NGKjoL050308@svn.freebsd.org> From: Matt Jacob Date: Fri, 23 Apr 2010 16:20:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207122 - stable/8/sbin/geom/class/multipath X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 16:20:45 -0000 Author: mjacob Date: Fri Apr 23 16:20:45 2010 New Revision: 207122 URL: http://svn.freebsd.org/changeset/base/207122 Log: This is an MFS of 205412. Add 'rotate' and 'getactive' verbs to provide some control and information about what the currently active path is. Modified: stable/8/sbin/geom/class/multipath/geom_multipath.c Directory Properties: stable/8/sbin/geom/ (props changed) stable/8/sbin/geom/class/stripe/ (props changed) Modified: stable/8/sbin/geom/class/multipath/geom_multipath.c ============================================================================== --- stable/8/sbin/geom/class/multipath/geom_multipath.c Fri Apr 23 16:13:09 2010 (r207121) +++ stable/8/sbin/geom/class/multipath/geom_multipath.c Fri Apr 23 16:20:45 2010 (r207122) @@ -62,6 +62,14 @@ struct g_command class_commands[] = { "clear", G_FLAG_VERBOSE, mp_main, G_NULL_OPTS, NULL, "[-v] prov ..." }, + { + "rotate", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, + NULL, "[-v] prov ..." + }, + { + "getactive", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, + NULL, "[-v] prov ..." + }, G_CMD_SENTINEL };