Deleted Added
full compact
hast.h (225830) hast.h (225832)
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 225830 2011-09-28 13:08:51Z pjd $
30 * $FreeBSD: head/sbin/hastd/hast.h 225832 2011-09-28 13:19:47Z 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 /* Is flushing write cache supported by the local provider? */
171 bool hr_localflush;
170 /* Flush write cache on metadata updates? */
171 int hr_metaflush;
172
173 /* Descriptor for /dev/ggctl communication. */
174 int hr_ggatefd;
175 /* Unit number for ggate communication. */
176 int hr_ggateunit;
177

--- 68 unchanged lines hidden ---
172 /* Flush write cache on metadata updates? */
173 int hr_metaflush;
174
175 /* Descriptor for /dev/ggctl communication. */
176 int hr_ggatefd;
177 /* Unit number for ggate communication. */
178 int hr_ggateunit;
179

--- 68 unchanged lines hidden ---