aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/Kconfig
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-05 08:26:50 -0800
committerJens Axboe <axboe@kernel.dk>2018-01-06 09:18:00 -0700
commit14db49172649aac001fd77a3fd53d12c6df22daf (patch)
treefdfd9c997ad5e268073438a55a95269d29654fe9 /drivers/target/Kconfig
parentnvmet/rdma: Use sgl_alloc() and sgl_free() (diff)
downloadlinux-dev-14db49172649aac001fd77a3fd53d12c6df22daf.tar.xz
linux-dev-14db49172649aac001fd77a3fd53d12c6df22daf.zip
target: Use sgl_alloc_order() and sgl_free()
Use the sgl_alloc_order() and sgl_free() functions instead of open coding these functions. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Acked-by: Nicholas A. Bellinger <nab@linux-iscsi.org> Reviewed-by: Hannes Reinecke <hare@suse.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/target/Kconfig')
-rw-r--r--drivers/target/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/Kconfig b/drivers/target/Kconfig
index e2bc99980f75..4c44d7bed01a 100644
--- a/drivers/target/Kconfig
+++ b/drivers/target/Kconfig
@@ -5,6 +5,7 @@ menuconfig TARGET_CORE
select CONFIGFS_FS
select CRC_T10DIF
select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
+ select SGL_ALLOC
default n
help
Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled