block: Finish renaming REQ_DISCARD into REQ_OP_DISCARD
Some time ago REQ_DISCARD was renamed into REQ_OP_DISCARD. Some comments
and documentation files were not updated however. Update these comments
and documentation files. See also commit 4e1b2d52a8
("block, fs,
drivers: remove REQ_OP compat defs and related code").
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
e4f3aa2e1e
commit
9305455acf
@ -636,9 +636,9 @@ spc_emulate_evpd_b2(struct se_cmd *cmd, unsigned char *buf)
|
||||
|
||||
/*
|
||||
* The unmap_zeroes_data set means that the underlying device supports
|
||||
* REQ_DISCARD and has the discard_zeroes_data bit set. This satisfies
|
||||
* the SBC requirements for LBPRZ, meaning that a subsequent read
|
||||
* will return zeroes after an UNMAP or WRITE SAME (16) to an LBA
|
||||
* REQ_OP_DISCARD and has the discard_zeroes_data bit set. This
|
||||
* satisfies the SBC requirements for LBPRZ, meaning that a subsequent
|
||||
* read will return zeroes after an UNMAP or WRITE SAME (16) to an LBA
|
||||
* See sbc4r36 6.6.4.
|
||||
*/
|
||||
if (((dev->dev_attrib.emulate_tpu != 0) ||
|
||||
|
Reference in New Issue
Block a user