From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alasdair G Kergon Subject: Re: [PATCH] Emulate BLKRRPART on device-mapper Date: Mon, 20 Jul 2009 19:23:24 +0100 Message-ID: <20090720182324.GD32330@agk-dp.fab.redhat.com> References: <200907081414.50698.knikanth@suse.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200907081414.50698.knikanth@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Nikanth Karthikesan , Hannes Reinecke Cc: device-mapper development List-Id: dm-devel.ids On Wed, Jul 08, 2009 at 02:14:50PM +0530, Nikanth Karthikesan wrote: > From: Hannes Reinecke > Subject: Emulate BLKRRPART on device-mapper > > Partitions on device-mapper devices are managed by kpartx (if at > all). So if we were just to send out a 'change' event if someone > called BLKRRPART on these devices, kpartx will be triggered via udev > and can manage the partitions accordingly. > > Signed-off-by: Hannes Reinecke > Signed-off-by: Nikanth Karthikesan Please could I have a 'Tested-by' for this one? I agree with the idea, but I need some evidence that this specific patch works correctly. (The block layer is supposed to handle that class of ioctls itself and I didn't think dm saw them.) Alasdair