.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | drbd_req.h |
---|
3 | 4 | |
---|
.. | .. |
---|
7 | 8 | Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. |
---|
8 | 9 | Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>. |
---|
9 | 10 | |
---|
10 | | - DRBD is free software; you can redistribute it and/or modify |
---|
11 | | - it under the terms of the GNU General Public License as published by |
---|
12 | | - the Free Software Foundation; either version 2, or (at your option) |
---|
13 | | - any later version. |
---|
14 | | - |
---|
15 | | - DRBD is distributed in the hope that it will be useful, |
---|
16 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
18 | | - GNU General Public License for more details. |
---|
19 | | - |
---|
20 | | - You should have received a copy of the GNU General Public License |
---|
21 | | - along with drbd; see the file COPYING. If not, write to |
---|
22 | | - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
23 | 11 | */ |
---|
24 | 12 | |
---|
25 | 13 | #ifndef _DRBD_REQ_H |
---|
.. | .. |
---|
208 | 196 | __RQ_WRITE, |
---|
209 | 197 | __RQ_WSAME, |
---|
210 | 198 | __RQ_UNMAP, |
---|
| 199 | + __RQ_ZEROES, |
---|
211 | 200 | |
---|
212 | 201 | /* Should call drbd_al_complete_io() for this request... */ |
---|
213 | 202 | __RQ_IN_ACT_LOG, |
---|
.. | .. |
---|
253 | 242 | #define RQ_WRITE (1UL << __RQ_WRITE) |
---|
254 | 243 | #define RQ_WSAME (1UL << __RQ_WSAME) |
---|
255 | 244 | #define RQ_UNMAP (1UL << __RQ_UNMAP) |
---|
| 245 | +#define RQ_ZEROES (1UL << __RQ_ZEROES) |
---|
256 | 246 | #define RQ_IN_ACT_LOG (1UL << __RQ_IN_ACT_LOG) |
---|
257 | 247 | #define RQ_UNPLUG (1UL << __RQ_UNPLUG) |
---|
258 | 248 | #define RQ_POSTPONED (1UL << __RQ_POSTPONED) |
---|