[dm-devel] Re: [PATCH 1/2] dm: Add accessor dm_table_md_suspended

Mike Snitzer snitzer at redhat.com
Fri Nov 13 14:19:01 UTC 2009


On Fri, Nov 13 2009 at  3:06am -0500,
Mike Anderson <andmike at linux.vnet.ibm.com> wrote:

> Add a dm_table accessor function to check if md is suspended.
> 
> Signed-off-by: Mike Anderson <andmike at linux.vnet.ibm.com>

I was thinking of doing then same because I have a need to test if a
table is suspended in the snapshot target.  I stopped short of doing so
but it is clear that it is better to put this generic DM export in place
rather than have each target add their own 'suspended' flag in
presuspend (or some equivalent).

Acked-by: Mike Snitzer <snitzer at redhat.com>




More information about the dm-devel mailing list