blob: 0e168e0c82dd067db7733e95cbbf81f85b1932d0 [file] [log] [blame]
Heinz Mauelshagen3bd94002023-01-25 21:00:44 +01001/* SPDX-License-Identifier: GPL-2.0-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Copyright (C) 2004 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 *
7 * Multipath.
8 */
9
10#ifndef DM_MPATH_H
11#define DM_MPATH_H
12
13struct dm_dev;
14
Josef "Jeff" Sipekc922d5f2006-12-08 02:36:33 -080015struct dm_path {
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 struct dm_dev *dev; /* Read-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 void *pscontext; /* For path-selector use */
Linus Torvalds1da177e2005-04-16 15:20:36 -070018};
19
20/* Callback for hwh_pg_init_fn to use when complete */
Heinz Mauelshagen86a32382023-01-25 21:14:58 +010021void dm_pg_init_complete(struct dm_path *path, unsigned int err_flags);
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23#endif