Mercurial > illumos > illumos-gate
comparison usr/src/uts/common/sys/dumpadm.h @ 13967:92bec6d87f59
3557 dumpvp_size is not updated correctly when a dump zvol's size is changed
3558 setting the volsize on a dump device does not return back ENOSPC
3559 setting a volsize larger than the space available sometimes succeeds
3560 dumpadm should be able to remove a dump device
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Approved by: Albert Lee <trisk@nexenta.com>
author | George Wilson <george.wilson@delphix.com> |
---|---|
date | Wed, 20 Feb 2013 22:50:16 -0800 |
parents | ab9ae749152f |
children |
comparison
equal
deleted
inserted
replaced
13966:0e1d84ebb004 | 13967:92bec6d87f59 |
---|---|
18 * | 18 * |
19 * CDDL HEADER END | 19 * CDDL HEADER END |
20 */ | 20 */ |
21 /* | 21 /* |
22 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. | 22 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2012 by Delphix. All rights reserved. | |
23 */ | 24 */ |
24 | 25 |
25 #ifndef _SYS_DUMPADM_H | 26 #ifndef _SYS_DUMPADM_H |
26 #define _SYS_DUMPADM_H | 27 #define _SYS_DUMPADM_H |
27 | 28 |
40 #define DIOCSETDEV (DDIOC | 0x14) | 41 #define DIOCSETDEV (DDIOC | 0x14) |
41 #define DIOCTRYDEV (DDIOC | 0x15) | 42 #define DIOCTRYDEV (DDIOC | 0x15) |
42 #define DIOCDUMP (DDIOC | 0x16) | 43 #define DIOCDUMP (DDIOC | 0x16) |
43 #define DIOCSETUUID (DDIOC | 0x17) | 44 #define DIOCSETUUID (DDIOC | 0x17) |
44 #define DIOCGETUUID (DDIOC | 0x18) | 45 #define DIOCGETUUID (DDIOC | 0x18) |
46 #define DIOCRMDEV (DDIOC | 0x19) | |
45 | 47 |
46 /* | 48 /* |
47 * Kernel-controlled dump state flags for dump_conflags | 49 * Kernel-controlled dump state flags for dump_conflags |
48 */ | 50 */ |
49 #define DUMP_EXCL 0x00000001 /* dedicated dump device (not swap) */ | 51 #define DUMP_EXCL 0x00000001 /* dedicated dump device (not swap) */ |