dm.c (7e0d574f2683a2346c978613a72ff07afc89b17a) dm.c (86331f39a5935b092d3ea59446d416563ed05d16)
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm-core.h"

--- 2155 unchanged lines hidden (view full) ---

2164 lockdep_assert_held(&md->suspend_lock);
2165
2166 /*
2167 * DMF_NOFLUSH_SUSPENDING must be set before presuspend.
2168 * This flag is cleared before dm_suspend returns.
2169 */
2170 if (noflush)
2171 set_bit(DMF_NOFLUSH_SUSPENDING, &md->flags);
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm-core.h"

--- 2155 unchanged lines hidden (view full) ---

2164 lockdep_assert_held(&md->suspend_lock);
2165
2166 /*
2167 * DMF_NOFLUSH_SUSPENDING must be set before presuspend.
2168 * This flag is cleared before dm_suspend returns.
2169 */
2170 if (noflush)
2171 set_bit(DMF_NOFLUSH_SUSPENDING, &md->flags);
2172 else
2173 pr_debug("%s: suspending with flush\n", dm_device_name(md));
2172
2173 /*
2174 * This gets reverted if there's an error later and the targets
2175 * provide the .presuspend_undo hook.
2176 */
2177 dm_table_presuspend_targets(map);
2178
2179 /*

--- 634 unchanged lines hidden ---
2174
2175 /*
2176 * This gets reverted if there's an error later and the targets
2177 * provide the .presuspend_undo hook.
2178 */
2179 dm_table_presuspend_targets(map);
2180
2181 /*

--- 634 unchanged lines hidden ---