projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d926e
)
block: renumber REQ_OP_WRITE_ZEROES
author
Christoph Hellwig
<
[email protected]
>
Wed, 5 Apr 2017 17:21:00 +0000
(19:21 +0200)
committer
Jens Axboe
<
[email protected]
>
Sat, 8 Apr 2017 17:25:38 +0000
(11:25 -0600)
Make life easy for implementations that needs to send a data buffer
to the device (e.g. SCSI) by numbering it as a data out command.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Reviewed-by: Martin K. Petersen <
[email protected]
>
Reviewed-by: Hannes Reinecke <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
include/linux/blk_types.h
patch
|
blob
|
history
diff --git
a/include/linux/blk_types.h
b/include/linux/blk_types.h
index 72aa9519167ecde4fd236be3d9e4a2a01337d4bc..c5bae0a669d1c30f898be7c416985f456a827241 100644
(file)
--- a/
include/linux/blk_types.h
+++ b/
include/linux/blk_types.h
@@
-174,7
+174,7
@@
enum req_opf {
/* write the same sector many times */
REQ_OP_WRITE_SAME = 7,
/* write the zero filled sector many times */
- REQ_OP_WRITE_ZEROES =
8
,
+ REQ_OP_WRITE_ZEROES =
9
,
/* SCSI passthrough using struct scsi_request */
REQ_OP_SCSI_IN = 32,