[dm-devel] [PATCH v2] dm: Fix alignment stacking on partitioned devices

Alasdair G Kergon agk at redhat.com
Wed Jan 6 13:55:45 UTC 2010


On Wed, Jan 06, 2010 at 03:39:12AM -0500, Martin K. Petersen wrote:
> Alasdair, if you are OK with the approach below I propose you give an
> Acked-by: and then we can feed the patch through Jens instead of dealing
> with a clunky two-stage merge this late in the .33 game.
 
> DM does not want to know about partition offsets.  Add a partition-aware
> wrapper that DM can use when stacking block devices.
 
> +int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev,
> +		      sector_t start)

Reviewed-by: Alasdair G Kergon <agk at redhat.com>

Alasdair




More information about the dm-devel mailing list