Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933857AbcJEWay (ORCPT ); Wed, 5 Oct 2016 18:30:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58170 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933353AbcJEWau (ORCPT ); Wed, 5 Oct 2016 18:30:50 -0400 Subject: Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events To: Greg KH , dm-devel@redhat.com, linux-kernel@vger.kernel.org, snitzer@redhat.com References: <1475522580-16723-1-git-send-email-agrover@redhat.com> <20161004072015.GA11216@kroah.com> <20161005004004.GC28416@agk-dp.fab.redhat.com> <20161005065101.GB11013@kroah.com> <0afb2645-59e5-f9a6-ca1f-29aaadf59400@redhat.com> <20161005174358.GD28416@agk-dp.fab.redhat.com> From: Andy Grover Organization: Red Hat Message-ID: Date: Wed, 5 Oct 2016 15:30:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161005174358.GD28416@agk-dp.fab.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 05 Oct 2016 22:30:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 958 Lines: 20 On 10/05/2016 10:43 AM, Alasdair G Kergon wrote: > On Wed, Oct 05, 2016 at 10:06:41AM -0700, Andy Grover wrote: >> My project *would* like this added sooner, so I'll work on a revised >> patchset that uses netlink instead of uevents, and will also work on a >> revision to uevents.txt that talks about KOBJ_CHANGE and when it should >> and should not be used, as described by agk, to help out the next person. > > netlink might still be overkill for this at this stage, if it's only > making one thread able to monitor multiple devices efficiently. > > Let's find out your requirements and see if there's anything different from > the ones we've debated before. Yeah just like Hannes said, I just want to get dm events for multiple dm devices without burning a thread for each device. After your clarification, netlink seems like the best option and not overkill. Give me a few days and I can have something for you to review. Thanks -- Regards -- Andy