dm-mpath.c (91e968aa6015d7366281b532dad2e48855b91fe3) dm-mpath.c (20800cb3450ee44ec1827d7e8bbfd5a9dc02e6cd)
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

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

84
85 unsigned pg_init_retries; /* Number of times to retry pg_init */
86 unsigned pg_init_delay_msecs; /* Number of msecs before pg_init retry */
87
88 atomic_t nr_valid_paths; /* Total number of usable paths */
89 atomic_t pg_init_in_progress; /* Only one pg_init allowed at once */
90 atomic_t pg_init_count; /* Number of times pg_init called */
91
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

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

84
85 unsigned pg_init_retries; /* Number of times to retry pg_init */
86 unsigned pg_init_delay_msecs; /* Number of msecs before pg_init retry */
87
88 atomic_t nr_valid_paths; /* Total number of usable paths */
89 atomic_t pg_init_in_progress; /* Only one pg_init allowed at once */
90 atomic_t pg_init_count; /* Number of times pg_init called */
91
92 struct work_struct trigger_event;
93
94 /*
95 * We must use a mempool of dm_mpath_io structs so that we
96 * can resubmit bios on error.
97 */
98 mempool_t *mpio_pool;
99
100 struct mutex work_mutex;
92 /*
93 * We must use a mempool of dm_mpath_io structs so that we
94 * can resubmit bios on error.
95 */
96 mempool_t *mpio_pool;
97
98 struct mutex work_mutex;
99 struct work_struct trigger_event;
101};
102
103/*
104 * Context information attached to each bio we process.
105 */
106struct dm_mpath_io {
107 struct pgpath *pgpath;
108 size_t nr_bytes;

--- 1714 unchanged lines hidden ---
100};
101
102/*
103 * Context information attached to each bio we process.
104 */
105struct dm_mpath_io {
106 struct pgpath *pgpath;
107 size_t nr_bytes;

--- 1714 unchanged lines hidden ---