aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Christie2011-07-31 15:05:09 -0500
committerJens Axboe2011-07-31 15:05:09 -0500
commitaa387cc895672b00f807ad7c734a2defaf677712 (patch)
tree31c2c3f3e0d58ff2524cdf8f94abecc394f5eb49 /block/Kconfig
parent24c3047095fa3954f114bfff2e37b8fcbb216396 (diff)
downloadkernel-common-aa387cc895672b00f807ad7c734a2defaf677712.tar.gz
kernel-common-aa387cc895672b00f807ad7c734a2defaf677712.tar.xz
kernel-common-aa387cc895672b00f807ad7c734a2defaf677712.zip
block: add bsg helper library
This moves the FC classes bsg code to the block layer and makes it a lib so that other classes like iscsi and SAS can use it. It is helpful because working with the request queue, bios, creating scatterlists, etc are a pain that the LLD does not have to worry about with normal IOs and should not have to worry about for bsg requests. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r--block/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig
index 60be1e0455d..e97934eecec 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -65,6 +65,16 @@ config BLK_DEV_BSG
65 65
66 If unsure, say Y. 66 If unsure, say Y.
67 67
68config BLK_DEV_BSGLIB
69 bool "Block layer SG support v4 helper lib"
70 default n
71 select BLK_DEV_BSG
72 help
73 Subsystems will normally enable this if needed. Users will not
74 normally need to manually enable this.
75
76 If unsure, say N.
77
68config BLK_DEV_INTEGRITY 78config BLK_DEV_INTEGRITY
69 bool "Block layer data integrity support" 79 bool "Block layer data integrity support"
70 ---help--- 80 ---help---