~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to debian/grub-extras/zfs/include/grub/zfs/zfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Colin Watson, Robert Millan, Updated translations
  • Date: 2010-11-22 12:24:56 UTC
  • mfrom: (1.26.4 upstream) (17.3.36 sid)
  • mto: (17.3.43 sid)
  • mto: This revision was merged to the branch mainline in revision 89.
  • Revision ID: james.westby@ubuntu.com-20101122122456-y82z3sfb7k4zfdcc
Tags: 1.99~20101122-1
[ Colin Watson ]
* New Bazaar snapshot.  Too many changes to list in full, but some of the
  more user-visible ones are as follows:
  - GRUB script:
    + Function parameters, "break", "continue", "shift", "setparams",
      "return", and "!".
    + "export" command supports multiple variable names.
    + Multi-line quoted strings support.
    + Wildcard expansion.
  - sendkey support.
  - USB hotunplugging and USB serial support.
  - Rename CD-ROM to cd on BIOS.
  - Add new --boot-directory option to grub-install, grub-reboot, and
    grub-set-default; the old --root-directory option is still accepted
    but was often confusing.
  - Basic btrfs detection/UUID support (but no file reading yet).
  - bash-completion for utilities.
  - If a device is listed in device.map, always assume that it is
    BIOS-visible rather than using extra layers such as LVM or RAID.
  - Add grub-mknetdir script (closes: #550658).
  - Remove deprecated "root" command.
  - Handle RAID devices containing virtio components.
  - GRUB Legacy configuration file support (via grub-menulst2cfg).
  - Keyboard layout support (via grub-mklayout and grub-kbdcomp).
  - Check generated grub.cfg for syntax errors before saving.
  - Pause execution for at most ten seconds if any errors are displayed,
    so that the user has a chance to see them.
  - Support submenus.
  - Write embedding zone using Reed-Solomon, so that it's robust against
    being partially overwritten (closes: #550702, #591416, #593347).
  - GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY merged
    into a single GRUB_DISABLE_RECOVERY variable.
  - Fix loader memory allocation failure (closes: #551627).
  - Don't call savedefault on recovery entries (closes: #589325).
  - Support triple-indirect blocks on ext2 (closes: #543924).
  - Recognise DDF1 fake RAID (closes: #603354).

[ Robert Millan ]
* Use dpkg architecture wildcards.

[ Updated translations ]
* Slovenian (Vanja Cvelbar).  Closes: #604003
* Dzongkha (dawa pemo via Tenzin Dendup).  Closes: #604102

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  GRUB  --  GRand Unified Bootloader
3
3
 *  Copyright (C) 1999,2000,2001,2002,2003,2004  Free Software Foundation, Inc.
4
 
 *  Copyright 2008  Sun Microsystems, Inc.
5
4
 *  Copyright (C) 2009  Vladimir Serbinenko <phcoder@gmail.com>
6
5
 *
7
6
 *  This program is free software; you can redistribute it and/or modify
18
17
 *  along with this program; if not, write to the Free Software
19
18
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
19
 */
21
 
/*
22
 
 * Use is subject to license terms.
23
 
 */
 
20
 /*
 
21
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 
22
  */
24
23
 
25
24
#ifndef GRUB_ZFS_HEADER
26
25
#define GRUB_ZFS_HEADER 1
31
30
/*
32
31
 * On-disk version number.
33
32
 */
34
 
#define SPA_VERSION                     14ULL
 
33
#define SPA_VERSION                     28ULL
35
34
 
36
35
/*
37
36
 * The following are configuration names used in the nvlist describing a pool's
65
64
#define ZPOOL_CONFIG_NPARITY            "nparity"
66
65
#define ZPOOL_CONFIG_PHYS_PATH          "phys_path"
67
66
#define ZPOOL_CONFIG_L2CACHE            "l2cache"
 
67
#define ZPOOL_CONFIG_HOLE_ARRAY         "hole_array"
 
68
#define ZPOOL_CONFIG_VDEV_CHILDREN      "vdev_children"
 
69
#define ZPOOL_CONFIG_IS_HOLE            "is_hole"
 
70
#define ZPOOL_CONFIG_DDT_HISTOGRAM      "ddt_histogram"
 
71
#define ZPOOL_CONFIG_DDT_OBJ_STATS      "ddt_object_stats"
 
72
#define ZPOOL_CONFIG_DDT_STATS          "ddt_stats"
68
73
/*
69
74
 * The persistent vdev state is stored as separate values rather than a single
70
75
 * 'vdev_state' entry.  This is because a device can be in multiple states, such
82
87
#define VDEV_TYPE_DISK                  "disk"
83
88
#define VDEV_TYPE_FILE                  "file"
84
89
#define VDEV_TYPE_MISSING               "missing"
 
90
#define VDEV_TYPE_HOLE                  "hole"
85
91
#define VDEV_TYPE_SPARE                 "spare"
86
92
#define VDEV_TYPE_L2CACHE               "l2cache"
87
93