GNU Linux-libre 4.9.337-gnu1
[releases.git] / drivers / staging / lustre / lustre / obdecho / echo_internal.h
1 /*
2  * GPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 only,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License version 2 for more details (a copy is included
14  * in the LICENSE file that accompanied this code).
15  *
16  * GPL HEADER END
17  */
18 /*
19  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
20  * Use is subject to license terms.
21  *
22  * Copyright (c) 2012, Whamcloud, Inc.
23  */
24 /*
25  * This file is part of Lustre, http://www.lustre.org/
26  * Lustre is a trademark of Sun Microsystems, Inc.
27  *
28  * lustre/obdecho/echo_internal.h
29  */
30
31 #ifndef _ECHO_INTERNAL_H
32 #define _ECHO_INTERNAL_H
33
34 /* The persistent object (i.e. actually stores stuff!) */
35 #define ECHO_PERSISTENT_OBJID    1ULL
36 #define ECHO_PERSISTENT_SIZE     ((__u64)(1 << 20))
37
38 /* block size to use for data verification */
39 #define OBD_ECHO_BLOCK_SIZE     (4 << 10)
40
41 #endif