[PATCH 08/14] nvmet: use nvme write cmd group setting op_flag

Keith Busch kbusch at kernel.org
Mon Aug 10 17:11:19 EDT 2020


On Mon, Aug 10, 2020 at 11:54:50AM -0700, Chaitanya Kulkarni wrote:
> The function nvme_is_write() only checks the last bit of the opcode to
> determine if command is a write command or not based on that it sets
> the bio->bi_opf for passthru bio with REQ_SYNC | REQ_IDLE.

Are these flags even used? I'm not finding these getting copied to the
'struct request' in this command's setup, nor am I finding anything in
the blk_execute_rq() path that checks the bio's bi_opf.



More information about the Linux-nvme mailing list