[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

> Add a dm_table accessor function to check if md is suspended.
> 
> Signed-off-by: Mike Anderson <andmike 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 redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]