linux/drivers/nvme/target
Logan Gunthorpe 1c05cf9058 nvmet: convert from kmap to nvmet_copy_from_sgl
This is safer as it doesn't rely on the data being stored in
a single page in an sgl.

It also aids our effort to start phasing out users of sg_page. See [1].

For this we kmalloc some memory, copy to it and free at the end. Note:
we can't allocate this memory on the stack as the kbuild test robot
reports some frame size overflows on i386.

[1] https://lwn.net/Articles/720053/

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
2017-04-21 16:41:47 +02:00
..
admin-cmd.c Merge branch 'for-linus' into for-4.12/block 2017-04-07 12:45:20 -06:00
configfs.c nvmet: delete controllers deletion upon subsystem release 2017-01-26 17:44:22 +02:00
core.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
discovery.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
fabrics-cmd.c nvmet: convert from kmap to nvmet_copy_from_sgl 2017-04-21 16:41:47 +02:00
fc.c nvmet_fc: Clear SG list to avoid double frees 2017-04-04 09:48:23 -06:00
fcloop.c nvmet/fcloop: remove some logically dead code performing redundant ret checks 2016-12-21 11:34:28 +01:00
io-cmd.c block: add a flags argument to (__)blkdev_issue_zeroout 2017-04-08 11:25:38 -06:00
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
loop.c nvme: split nvme status from block req->errors 2017-04-20 12:16:10 -06:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
rdma.c nvmet-rdma: use generic inet_pton_with_scope 2017-04-04 09:48:23 -06:00