diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-08 02:40:27 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-19 06:22:05 +0400 |
commit | 4442dc8a92b8f9ad8ee9e7f8438f4c04c03a22dc (patch) | |
tree | b671256303a49d3e4a6d104f611b6f9ce766377a /mm | |
parent | 42201b557471f2fef2e9e028b50a773d99ffc401 (diff) | |
download | linux-4442dc8a92b8f9ad8ee9e7f8438f4c04c03a22dc.tar.xz |
target/rd: Refactor rd_build_device_space + rd_release_device_space
This patch refactors rd_build_device_space() + rd_release_device_space()
into rd_allocate_sgl_table() + rd_release_device_space() so that they
may be used seperatly for setup + release of protection information
scatterlists.
Also add explicit memset of pages within rd_allocate_sgl_table() based
upon passed 'init_payload' value.
v2 changes:
- Drop unused sg_table from rd_release_device_space (Wei)
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions