cma_page.c (7aec1d6e) cma_page.c (a307a255)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
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, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.

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

206 if (uuid != NULL)
207 fmd_case_uuclose(hdl, uuid);
208 if (asrucp)
209 nvlist_free(asrucp);
210 return;
211 } else if (errno != EAGAIN) {
212 fmd_hdl_debug(hdl, "retire of page 0x%llx failed, will not "
213 "retry: %s\n", (u_longlong_t)pageaddr, strerror(errno));
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.

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

205 if (uuid != NULL)
206 fmd_case_uuclose(hdl, uuid);
207 if (asrucp)
208 nvlist_free(asrucp);
209 return;
210 } else if (errno != EAGAIN) {
211 fmd_hdl_debug(hdl, "retire of page 0x%llx failed, will not "
212 "retry: %s\n", (u_longlong_t)pageaddr, strerror(errno));
213 if (uuid != NULL && cma.cma_page_maxretries != 0)
214 fmd_case_uuclose(hdl, uuid);
214 if (asrucp)
215 nvlist_free(asrucp);
216 return;
217 }
218
219 /*
220 * The page didn't immediately retire. We'll need to periodically
221 * check to see if it has been retired.

--- 144 unchanged lines hidden ---
215 if (asrucp)
216 nvlist_free(asrucp);
217 return;
218 }
219
220 /*
221 * The page didn't immediately retire. We'll need to periodically
222 * check to see if it has been retired.

--- 144 unchanged lines hidden ---