[BACK]Return to dm-mpath.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / drivers / md

File: [Development] / linux-2.6-xfs / drivers / md / dm-mpath.h (download)

Revision 1.2, Fri Jan 12 15:41:10 2007 UTC (10 years, 9 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +2 -2 lines

Merge up to 2.6.20-rc4
Merge of 2.6.x-xfs-melb:linux:27915c by kenmcd.

/*
 * Copyright (C) 2004 Red Hat, Inc. All rights reserved.
 *
 * This file is released under the GPL.
 *
 * Multipath.
 */

#ifndef	DM_MPATH_H
#define	DM_MPATH_H

struct dm_dev;

struct dm_path {
	struct dm_dev *dev;	/* Read-only */
	unsigned is_active;	/* Read-only */

	void *pscontext;	/* For path-selector use */
	void *hwhcontext;	/* For hw-handler use */
};

/* Callback for hwh_pg_init_fn to use when complete */
void dm_pg_init_complete(struct dm_path *path, unsigned err_flags);

#endif