A couple comments not directly related to this patch, it's just
a convenient vehicle for my rants :)
> @@ -556,6 +555,19 @@ static int virtblk_init_request(void *data, struct
> request *rq,
> struct virtio_blk *vblk = data;
> struct virtblk_req *vbr = blk_mq_rq_to_pdu(rq);
>
> +
Now we use init_flush_rq callback to initialize pdu of
flush req.
Signed-off-by: Ming Lei
---
drivers/block/virtio_blk.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 0a58140..f478ec8 100644
---
2 matches
Mail list logo