blob: 966414fd5424d0de71ac2bc2ddbe57b1f3ed0c80 [file] [log] [blame]
Peng Taod7e09d02013-05-02 16:46:55 +08001/*
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 *
Peng Taod7e09d02013-05-02 16:46:55 +080016 * 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
Oleg Drokincd94f232016-08-21 18:04:34 -040036#define ECHO_PERSISTENT_SIZE ((__u64)(1 << 20))
Peng Taod7e09d02013-05-02 16:46:55 +080037
38/* block size to use for data verification */
Oleg Drokincd94f232016-08-21 18:04:34 -040039#define OBD_ECHO_BLOCK_SIZE (4 << 10)
Peng Taod7e09d02013-05-02 16:46:55 +080040
Peng Taod7e09d02013-05-02 16:46:55 +080041#endif