Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-05 Thread Andy Grover
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_

Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-05 Thread Alasdair G Kergon
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 n

Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-05 Thread Andy Grover
On 10/04/2016 11:51 PM, Greg KH wrote: On Wed, Oct 05, 2016 at 01:40:05AM +0100, Alasdair G Kergon wrote: We see these as two different categories of notifications, and prefer the greater flexibility a mechanism independent of uevents would provide. The team has discussed several alternatives

Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-04 Thread Greg KH
On Wed, Oct 05, 2016 at 01:40:05AM +0100, Alasdair G Kergon wrote: > On Tue, Oct 04, 2016 at 04:39:28PM -0700, Andy Grover wrote: > > devicemapper is using uevents for: > > a. dm-verity detected corruption > > b. dm-multipath: path failed or reinstated > > c. dm device renamed > > d. there's also s

Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-04 Thread Hannes Reinecke
On 10/05/2016 02:40 AM, Alasdair G Kergon wrote: > On Tue, Oct 04, 2016 at 04:39:28PM -0700, Andy Grover wrote: >> devicemapper is using uevents for: >> a. dm-verity detected corruption >> b. dm-multipath: path failed or reinstated >> c. dm device renamed >> d. there's also some use in md and bcach

Re: [dm-devel] [PATCH 0/9] Generate uevents for all DM events

2016-10-04 Thread Alasdair G Kergon
On Tue, Oct 04, 2016 at 04:39:28PM -0700, Andy Grover wrote: > devicemapper is using uevents for: > a. dm-verity detected corruption > b. dm-multipath: path failed or reinstated > c. dm device renamed > d. there's also some use in md and bcache. > > devicemapper uses DM_EVENT ioctl (yuck) for: > 1.