From: David Zeuthen Subject: Re: [PATCH 1/3] Send KOBJ_ADD event after dm resume ioctl. Date: Fri, 19 Mar 2010 12:08:52 -0400 Message-ID: <7b13a0f81003190908v8258f1dqb77d2bbcaba84134@mail.gmail.com> References: <1268920694-10960-1-git-send-email-mbroz@redhat.com> <4BA29CA4.9070000@redhat.com> <20100319090656.GR6379@soda.linbit> <4BA37B06.1040107@redhat.com> <7b13a0f81003190658i78664328ocb94aa0048054a17@mail.gmail.com> <20100319155541.GA24051@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0019086404253987353==" Return-path: In-Reply-To: <20100319155541.GA24051@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============0019086404253987353== Content-Type: multipart/alternative; boundary=00c09f8c24574670f1048229904f --00c09f8c24574670f1048229904f Content-Type: text/plain; charset=ISO-8859-1 On Fri, Mar 19, 2010 at 11:55 AM, Mike Snitzer wrote: > Thing is, this isn't scalable at all. Having all these arbitrary rules > issuing IOs to devices that aren't usable is a complete waste of time. > On enterprise systems that have 100s (*shudder* 1000s) of LUNs, this > udev rules' freedom to access such unusable devices is really working > against us (if the goal is to activate devices as quickly and reliably > as possible). > Please, Mike, whether to probe devices or not is a separate discussion and it's not really helpful to reiterate that discussion. (Please do see various mailing lists archives for that particular discussion; FWIW, you will notice that what udev is doing is actually desirable. If you examine the kernel sources, you will find that the kernel itself submits IO to the block devices - partition table probing for starters. If you search harder you will find *raw numbers* (instead of speculation like "100s (*shudder* 1000s)" showing what udev is doing is not a problem...) David --00c09f8c24574670f1048229904f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2010 at 11:55 AM, Mike Snitzer <snitzer@redhat.com> wrote:
Thing is, this isn't scalable at all. =A0Having all these arbitrary rul= es
issuing IOs to devices that aren't usable is a complete waste of time.<= br> On enterprise systems that have 100s (*shudder* 1000s) of LUNs, this
udev rules' freedom to access such unusable devices is really working against us (if the goal is to activate devices as quickly and reliably
as possible).

Please, Mike, whether to = probe devices or not is a separate discussion
and it's=A0not = really helpful to reiterate that discussion.

(Plea= se do see various mailing lists archives=A0for=A0that particular discussion= ;
FWIW, you will notice that what udev is=A0doing is actually desirable.= If=A0you
examine the kernel sources, you will find that the kern= el itself=A0submits
IO to the block devices - partition table pro= bing for starters. If you search
harder you will find *raw numbers* (instead of speculation like "= 100s
(*shudder* 1000s)" showing what udev is doing is not a = problem...)

=A0=A0 =A0David

--00c09f8c24574670f1048229904f-- --===============0019086404253987353== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0019086404253987353==--