{
return 0;
}
-/******
-int lv_suspend(struct cmd_context *cmd, const char *lvid_s)
-{
- return 1;
-}
-*******/
int lv_suspend_if_active(struct cmd_context *cmd, const char *lvid_s, unsigned origin_only, unsigned exclusive,
const struct logical_volume *lv, const struct logical_volume *lv_pre)
{
if (error_if_not_active)
goto_out;
-
/* ATM only thin-pool with origin-only suspend does not really suspend anything
* it's used only for message passing to thin-pool */
if (laopts->origin_only && lv_is_thin_pool(lv))
if (!dm_tree_preload_children(root, dlid, DLID_SIZE))
goto_out;
- //if (action == PRELOAD) { log_debug("SLEEP"); sleep(7); }
-
if ((dm_tree_node_size_changed(root) < 0))
dm->flush_required = 1;
/* Currently keep the code require flush for any