[dm-devel] Re: dm: bind new table before destroying old
Kiyoshi Ueda
k-ueda at ct.jp.nec.com
Thu Nov 12 09:59:20 UTC 2009
Hi Alasdair,
On 11/12/2009 12:11 AM +0900, Alasdair G Kergon wrote:
> On Wed, Nov 11, 2009 at 03:56:05PM +0900, Kiyoshi Ueda wrote:
>> I believe dm-mpath needs to flush such workqueues in postsuspend.
>
> Yes - should be an easy change.
OK, I posted the patch.
See: http://patchwork.kernel.org/patch/59556/
>> Also, we need something to block message ioctl to suspended device.
>
>> As for the message ioctl, I don't have any good idea, but...
>> - Reject message ioctl to suspended device in dm-ioctl
>
> I think the crypt target expects to be able to do this to manipulate
> the in-core encryption key.
>
>> - Targets must not kick any work influencing external themselves
>> in their message ioctl handlers.
>
> So I think we'll need a target-specific approach like that here.
OK, Mike Anderson seems to be working on this.
Thanks,
Kiyoshi Ueda
More information about the dm-devel
mailing list