Re: [PATCH 12/15] dm: add exports

From: Andrew Morton
Date: Fri Jun 23 2006 - 16:59:26 EST


On Fri, 23 Jun 2006 16:33:23 +0100
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> On Fri, Jun 23, 2006 at 04:00:11PM +0100, Alasdair G Kergon wrote:
> > On Thu, Jun 22, 2006 at 10:03:53AM -0700, Andrew Morton wrote:
> > > Adding twenty new unused exports is rather a big deal. Do you have some
> > > new code pending which will use all these?
> >
> > No - there's code on the horizon which wants to use a few and so I did this
> > clean-up exercise to indicate which ones should be used and which ones
> > shouldn't. It's no problem delaying the actual exports until they're
> > specifically requested, but I would at least like to move the definitions
> > into include/linux so people know they are welcome to use them if they wish.
>
> Please dont introduce exports eaarly. I'm also very curious about what kind
> of user you have in the pipeline, calling these functions from kernelspace
> seems very wrong to me.

So Alasdair, we need to work out what we're going to do about all this. I
think the current status is:

- hold off on dm-add-exports.patch

- Rework needed on

dm-support-ioctls-on-mapped-devices.patch
dm-linear-support-ioctls.patch
dm-mpath-support-ioctls.patch
dm-export-blkdev_driver_ioctl.patch

- We're OK with

dm-mirror-log-sector-size-fix.patch
dm-mirror-log-refactor-context.patch
dm-mirror-log-bitset_size-fix.patch
dm-mirror-log-sync_count-fix.patch
dm-kcopyd-error-accumulation-fix.patch
dm-table-split_args-handle-no-input.patch
dm-consolidate-creation-functions.patch
dm-create-error-table.patch
dm-prevent-removal-if-open.patch
dm-improve-error-message-consistency.patch

Which means going from this:

dm-support-ioctls-on-mapped-devices.patch
dm-linear-support-ioctls.patch
dm-mpath-support-ioctls.patch
dm-export-blkdev_driver_ioctl.patch
dm-mirror-log-sector-size-fix.patch
dm-mirror-log-refactor-context.patch
dm-mirror-log-bitset_size-fix.patch
dm-mirror-log-sync_count-fix.patch
dm-kcopyd-error-accumulation-fix.patch
dm-table-split_args-handle-no-input.patch
dm-consolidate-creation-functions.patch
dm-add-exports.patch
dm-create-error-table.patch
dm-prevent-removal-if-open.patch
dm-improve-error-message-consistency.patch

to this:

# for 2.6.18:
dm-mirror-log-sector-size-fix.patch
dm-mirror-log-refactor-context.patch
dm-mirror-log-bitset_size-fix.patch
dm-mirror-log-sync_count-fix.patch
dm-kcopyd-error-accumulation-fix.patch
dm-table-split_args-handle-no-input.patch
dm-consolidate-creation-functions.patch
dm-create-error-table.patch
dm-prevent-removal-if-open.patch
dm-improve-error-message-consistency.patch
# rework in progress:
dm-support-ioctls-on-mapped-devices.patch
dm-linear-support-ioctls.patch
dm-mpath-support-ioctls.patch
dm-export-blkdev_driver_ioctl.patch
# later:
dm-add-exports.patch

but I'm uncertain if I can just reshuffle them like this, because at least
two of them update the userspace-visible DM version number.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/