4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License version 2 for more details. A copy is
14 * included in the COPYING file that accompanied this code.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * Copyright (c) 2017, Intel Corporation.
25 * lustre/include/lustre/lustre_barrier_user.h
27 * Lustre write barrier (on MDT) userspace interfaces.
29 * Author: Fan, Yong <fan.yong@intel.com>
31 #ifndef _LUSTRE_BARRIER_USER_H
32 # define _LUSTRE_BARRIER_USER_H
34 #include <linux/types.h>
36 * This is due to us being out of kernel and the way the OpenSFS branch
40 # include <uapi/linux/lustre/lustre_user.h>
42 # include <linux/lustre/lustre_user.h>
45 #define BARRIER_VERSION_V1 1
46 #define BARRIER_TIMEOUT_DEFAULT 30
48 enum barrier_commands {
82 #endif /* _LUSTRE_BARRIER_USER_H */