[dm-devel] [PATCH] Emulate BLKRRPART on device-mapper

Alasdair G Kergon agk at redhat.com
Mon Jul 20 18:23:24 UTC 2009


On Wed, Jul 08, 2009 at 02:14:50PM +0530, Nikanth Karthikesan wrote:
> From: Hannes Reinecke <hare at suse.de>
> 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 <hare at suse.de>
> Signed-off-by: Nikanth Karthikesan <knikanth at suse.de>
 
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




More information about the dm-devel mailing list