[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH 2/2] dm-mpath: Add element for suspended state.
- From: Alasdair G Kergon <agk redhat com>
- To: Mike Anderson <andmike linux vnet ibm com>
- Cc: dm-devel redhat com
- Subject: Re: [dm-devel] [PATCH 2/2] dm-mpath: Add element for suspended state.
- Date: Mon, 16 Nov 2009 13:54:30 +0000
On Sun, Nov 15, 2009 at 11:38:29PM -0800, Mike Anderson wrote:
> Add element to multipath structure for indication of suspended state.
Is there a way to avoid this?
It seems redundant for a target to need to track whether or not
it is suspended. Core dm should be capable of that.
dm_suspend has:
dm_table_postsuspend_targets(map);
set_bit(DMF_SUSPENDED, &md->flags);
Can we reorder those two?
What about dm_resume?
clear_bit(DMF_SUSPENDED, &md->flags);
Can that move a little higher up the function?
- preresume, clear DMF_SUSPENDED, resume perhaps?
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]