Searched hist:"5 e62d5c993e6889cd314d5b5de6b670152109a0e" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/nvme/target/ |
H A D | fc.c | diff 5e62d5c993e6889cd314d5b5de6b670152109a0e Thu Nov 09 07:29:58 CST 2017 Christoph Hellwig <hch@lst.de> nvmet: better data length validation
Currently the NVMe target stores the expexted data length in req->data_len and uses that for data transfer decisions, but that does not take the actual transfer length in the SGLs into account. So this adds a new transfer_len field, into which the transport drivers store the actual transfer length. We then check the two match before actually executing the command.
The FC transport driver already had such a field, which is removed in favour of the common one.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | rdma.c | diff 5e62d5c993e6889cd314d5b5de6b670152109a0e Thu Nov 09 07:29:58 CST 2017 Christoph Hellwig <hch@lst.de> nvmet: better data length validation
Currently the NVMe target stores the expexted data length in req->data_len and uses that for data transfer decisions, but that does not take the actual transfer length in the SGLs into account. So this adds a new transfer_len field, into which the transport drivers store the actual transfer length. We then check the two match before actually executing the command.
The FC transport driver already had such a field, which is removed in favour of the common one.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | nvmet.h | diff 5e62d5c993e6889cd314d5b5de6b670152109a0e Thu Nov 09 07:29:58 CST 2017 Christoph Hellwig <hch@lst.de> nvmet: better data length validation
Currently the NVMe target stores the expexted data length in req->data_len and uses that for data transfer decisions, but that does not take the actual transfer length in the SGLs into account. So this adds a new transfer_len field, into which the transport drivers store the actual transfer length. We then check the two match before actually executing the command.
The FC transport driver already had such a field, which is removed in favour of the common one.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | loop.c | diff 5e62d5c993e6889cd314d5b5de6b670152109a0e Thu Nov 09 07:29:58 CST 2017 Christoph Hellwig <hch@lst.de> nvmet: better data length validation
Currently the NVMe target stores the expexted data length in req->data_len and uses that for data transfer decisions, but that does not take the actual transfer length in the SGLs into account. So this adds a new transfer_len field, into which the transport drivers store the actual transfer length. We then check the two match before actually executing the command.
The FC transport driver already had such a field, which is removed in favour of the common one.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | core.c | diff 5e62d5c993e6889cd314d5b5de6b670152109a0e Thu Nov 09 07:29:58 CST 2017 Christoph Hellwig <hch@lst.de> nvmet: better data length validation
Currently the NVMe target stores the expexted data length in req->data_len and uses that for data transfer decisions, but that does not take the actual transfer length in the SGLs into account. So this adds a new transfer_len field, into which the transport drivers store the actual transfer length. We then check the two match before actually executing the command.
The FC transport driver already had such a field, which is removed in favour of the common one.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|