Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758632AbYF3H50 (ORCPT ); Mon, 30 Jun 2008 03:57:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753182AbYF3H5Q (ORCPT ); Mon, 30 Jun 2008 03:57:16 -0400 Received: from systemlinux.org ([83.151.29.59]:50366 "EHLO m18s25.vlinux.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314AbYF3H5P (ORCPT ); Mon, 30 Jun 2008 03:57:15 -0400 Date: Mon, 30 Jun 2008 09:52:42 +0200 From: Andre Noll To: Neil Brown Cc: Andrew Morton , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 008 of 29] md: Close race in md_probe Message-ID: <20080630075242.GI23944@skl-net.de> References: <20080627164503.9671.patches@notabene> <1080627065010.10418@suse.de> <20080627122153.GE4981@skl-net.de> <18533.31198.932488.652568@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+ZmrHH5cGjskQnY1" Content-Disposition: inline In-Reply-To: <18533.31198.932488.652568@notabene.brown> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 38 --+ZmrHH5cGjskQnY1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09:38, Neil Brown wrote: > mddev_find gets a reference on the mddev, so it cannot become stale. > md_probe does not return what it gets from mddev_find until getting > the disks_mutex lock and checking the contents, so it is sure to > return a good mddev. I see. Thanks for the clarification. Andre --=20 The only person who always got his work done by Friday was Robinson Crusoe --+ZmrHH5cGjskQnY1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFIaJDKWto1QDEAkw8RAk/YAKCJMh5ACAsVV0B9VU0nb1b951ktTACffS8R p2HFYvQpT4dsTWl1IU0Qx90= =IPs+ -----END PGP SIGNATURE----- --+ZmrHH5cGjskQnY1-- -- 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/