aoe.h (dced3a053dd5415a7321e1ae153c96dea644da4e) | aoe.h (4f51dc5e9ae195d2e8c22e5f574e004c2f6518a4) |
---|---|
1/* Copyright (c) 2006 Coraid, Inc. See COPYING for GPL terms. */ 2#define VERSION "22" 3#define AOE_MAJOR 152 4#define DEVICE_NAME "aoe" 5 6/* set AOE_PARTITIONS to 1 to use whole-disks only 7 * default is 16, which is 15 partitions plus the whole disk 8 */ --- 70 unchanged lines hidden (view full) --- 79 DEVFL_UP = 1, /* device is installed in system and ready for AoE->ATA commands */ 80 DEVFL_TKILL = (1<<1), /* flag for timer to know when to kill self */ 81 DEVFL_EXT = (1<<2), /* device accepts lba48 commands */ 82 DEVFL_CLOSEWAIT = (1<<3), /* device is waiting for all closes to revalidate */ 83 DEVFL_GDALLOC = (1<<4), /* need to alloc gendisk */ 84 DEVFL_PAUSE = (1<<5), 85 DEVFL_NEWSIZE = (1<<6), /* need to update dev size in block layer */ 86 DEVFL_MAXBCNT = (1<<7), /* d->maxbcnt is not changeable */ | 1/* Copyright (c) 2006 Coraid, Inc. See COPYING for GPL terms. */ 2#define VERSION "22" 3#define AOE_MAJOR 152 4#define DEVICE_NAME "aoe" 5 6/* set AOE_PARTITIONS to 1 to use whole-disks only 7 * default is 16, which is 15 partitions plus the whole disk 8 */ --- 70 unchanged lines hidden (view full) --- 79 DEVFL_UP = 1, /* device is installed in system and ready for AoE->ATA commands */ 80 DEVFL_TKILL = (1<<1), /* flag for timer to know when to kill self */ 81 DEVFL_EXT = (1<<2), /* device accepts lba48 commands */ 82 DEVFL_CLOSEWAIT = (1<<3), /* device is waiting for all closes to revalidate */ 83 DEVFL_GDALLOC = (1<<4), /* need to alloc gendisk */ 84 DEVFL_PAUSE = (1<<5), 85 DEVFL_NEWSIZE = (1<<6), /* need to update dev size in block layer */ 86 DEVFL_MAXBCNT = (1<<7), /* d->maxbcnt is not changeable */ |
87 DEVFL_KICKME = (1<<8), |
|
87 88 BUFFL_FAIL = 1, 89}; 90 91enum { 92 DEFAULTBCNT = 2 * 512, /* 2 sectors */ 93 NPERSHELF = 16, /* number of slots per shelf address */ 94 FREETAG = -1, --- 88 unchanged lines hidden --- | 88 89 BUFFL_FAIL = 1, 90}; 91 92enum { 93 DEFAULTBCNT = 2 * 512, /* 2 sectors */ 94 NPERSHELF = 16, /* number of slots per shelf address */ 95 FREETAG = -1, --- 88 unchanged lines hidden --- |