hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/block/drbd/drbd_req.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 drbd_req.h
34
....@@ -7,19 +8,6 @@
78 Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
89 Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>.
910
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.
2311 */
2412
2513 #ifndef _DRBD_REQ_H
....@@ -208,6 +196,7 @@
208196 __RQ_WRITE,
209197 __RQ_WSAME,
210198 __RQ_UNMAP,
199
+ __RQ_ZEROES,
211200
212201 /* Should call drbd_al_complete_io() for this request... */
213202 __RQ_IN_ACT_LOG,
....@@ -253,6 +242,7 @@
253242 #define RQ_WRITE (1UL << __RQ_WRITE)
254243 #define RQ_WSAME (1UL << __RQ_WSAME)
255244 #define RQ_UNMAP (1UL << __RQ_UNMAP)
245
+#define RQ_ZEROES (1UL << __RQ_ZEROES)
256246 #define RQ_IN_ACT_LOG (1UL << __RQ_IN_ACT_LOG)
257247 #define RQ_UNPLUG (1UL << __RQ_UNPLUG)
258248 #define RQ_POSTPONED (1UL << __RQ_POSTPONED)