Deleted Added
full compact
vdev_missing.c (236155) vdev_missing.c (249195)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26/*
27 * Copyright (c) 2012 by Delphix. All rights reserved.
27 * Copyright (c) 2013 by Delphix. All rights reserved.
28 */
29
30/*
31 * The 'missing' vdev is a special vdev type used only during import. It
32 * signifies a placeholder in the root vdev for some vdev that we know is
33 * missing. We pass it down to the kernel to allow the rest of the
34 * configuration to parsed and an attempt made to open all available devices.
35 * Because its GUID is always 0, we know that the guid sum will mismatch and we

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

64vdev_missing_close(vdev_t *vd)
65{
66}
67
68/* ARGSUSED */
69static int
70vdev_missing_io_start(zio_t *zio)
71{
28 */
29
30/*
31 * The 'missing' vdev is a special vdev type used only during import. It
32 * signifies a placeholder in the root vdev for some vdev that we know is
33 * missing. We pass it down to the kernel to allow the rest of the
34 * configuration to parsed and an attempt made to open all available devices.
35 * Because its GUID is always 0, we know that the guid sum will mismatch and we

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

64vdev_missing_close(vdev_t *vd)
65{
66}
67
68/* ARGSUSED */
69static int
70vdev_missing_io_start(zio_t *zio)
71{
72 zio->io_error = ENOTSUP;
72 zio->io_error = SET_ERROR(ENOTSUP);
73 return (ZIO_PIPELINE_CONTINUE);
74}
75
76/* ARGSUSED */
77static void
78vdev_missing_io_done(zio_t *zio)
79{
80}

--- 26 unchanged lines hidden ---
73 return (ZIO_PIPELINE_CONTINUE);
74}
75
76/* ARGSUSED */
77static void
78vdev_missing_io_done(zio_t *zio)
79{
80}

--- 26 unchanged lines hidden ---