hast.h (222228) | hast.h (225830) |
---|---|
1/*- 2 * Copyright (c) 2009-2010 The FreeBSD Foundation 3 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net> 4 * All rights reserved. 5 * 6 * This software was developed by Pawel Jakub Dawidek under sponsorship from 7 * the FreeBSD Foundation. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 2009-2010 The FreeBSD Foundation 3 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net> 4 * All rights reserved. 5 * 6 * This software was developed by Pawel Jakub Dawidek under sponsorship from 7 * the FreeBSD Foundation. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sbin/hastd/hast.h 222228 2011-05-23 21:15:19Z pjd $ | 30 * $FreeBSD: head/sbin/hastd/hast.h 225830 2011-09-28 13:08:51Z pjd $ |
31 */ 32 33#ifndef _HAST_H_ 34#define _HAST_H_ 35 36#include <sys/queue.h> 37#include <sys/socket.h> 38 --- 123 unchanged lines hidden (view full) --- 162 /* Offset into local component. */ 163 off_t hr_localoff; 164 /* Size of usable space. */ 165 off_t hr_datasize; 166 /* Size of entire local provider. */ 167 off_t hr_local_mediasize; 168 /* Sector size of local provider. */ 169 unsigned int hr_local_sectorsize; | 31 */ 32 33#ifndef _HAST_H_ 34#define _HAST_H_ 35 36#include <sys/queue.h> 37#include <sys/socket.h> 38 --- 123 unchanged lines hidden (view full) --- 162 /* Offset into local component. */ 163 off_t hr_localoff; 164 /* Size of usable space. */ 165 off_t hr_datasize; 166 /* Size of entire local provider. */ 167 off_t hr_local_mediasize; 168 /* Sector size of local provider. */ 169 unsigned int hr_local_sectorsize; |
170 /* Flush write cache on metadata updates? */ 171 int hr_metaflush; |
|
170 171 /* Descriptor for /dev/ggctl communication. */ 172 int hr_ggatefd; 173 /* Unit number for ggate communication. */ 174 int hr_ggateunit; 175 176 /* Address of the remote component. */ 177 char hr_remoteaddr[HAST_ADDRSIZE]; --- 66 unchanged lines hidden --- | 172 173 /* Descriptor for /dev/ggctl communication. */ 174 int hr_ggatefd; 175 /* Unit number for ggate communication. */ 176 int hr_ggateunit; 177 178 /* Address of the remote component. */ 179 char hr_remoteaddr[HAST_ADDRSIZE]; --- 66 unchanged lines hidden --- |