~ressu/+junk/xen-debian

« back to all changes in this revision

Viewing changes to tools/libfsimage/zfs/zfs-include/dnode.h

  • Committer: sami at haahtinen
  • Author(s): Bastian Blank
  • Date: 2011-03-17 14:12:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: sami@haahtinen.name-20110317141245-owgqox0l0p3g5857
Tags: 4.1.0~rc6-1
* New upstream release candidate.
* Build documentation using pdflatex.
* Use python 2.6. (closes: #596545)
* Fix lintian override.
* Install new tools: xl, xenpaging.
* Enable blktap2.
  - Use own md5 implementation.
  - Fix includes.
  - Fix linking of blktap2 binaries.
  - Remove optimization setting.
* Temporarily disable hvmloader, wants to download ipxe.
* Remove xenstored pid check from xl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
18
 */
19
19
/*
20
 
 * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 
20
 * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
21
21
 * Use is subject to license terms.
22
22
 */
23
23
 
47
47
#define DNODES_PER_BLOCK        (1ULL << DNODES_PER_BLOCK_SHIFT)
48
48
#define DNODES_PER_LEVEL_SHIFT  (DN_MAX_INDBLKSHIFT - SPA_BLKPTRSHIFT)
49
49
 
 
50
#define DNODE_FLAG_SPILL_BLKPTR (1<<2)
 
51
 
50
52
#define DN_BONUS(dnp)   ((void*)((dnp)->dn_bonus + \
51
53
        (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
52
54
 
70
72
        uint64_t dn_pad3[4];
71
73
 
72
74
        blkptr_t dn_blkptr[1];
73
 
        uint8_t dn_bonus[DN_MAX_BONUSLEN];
 
75
        uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)];
 
76
        blkptr_t dn_spill;
74
77
} dnode_phys_t;
75
78
 
76
79
#endif  /* _SYS_DNODE_H */