blob: 347cc5e337494e86621853063e8ec59bfab8d540 [file] [log] [blame]
Boaz Harrosh6864abd2009-01-25 17:22:52 +02001#
2# Kernel configuration file for the OSD scsi protocol
3#
4# Copyright (C) 2008 Panasas Inc. All rights reserved.
5#
6# Authors:
Boaz Harroshaa281ac2014-10-19 19:38:58 +03007# Boaz Harrosh <ooo@electrozaur.com>
Boaz Harrosh6864abd2009-01-25 17:22:52 +02008# Benny Halevy <bhalevy@panasas.com>
9#
10# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public version 2 License as
12# published by the Free Software Foundation
13#
Boaz Harrosh6864abd2009-01-25 17:22:52 +020014config SCSI_OSD_INITIATOR
15 tristate "OSD-Initiator library"
16 depends on SCSI
17 help
18 Enable the OSD-Initiator library (libosd.ko).
19 NOTE: You must also select CRYPTO_SHA1 + CRYPTO_HMAC and their
20 dependencies
21
22config SCSI_OSD_ULD
23 tristate "OSD Upper Level driver"
24 depends on SCSI_OSD_INITIATOR
25 help
26 Build a SCSI upper layer driver that exports /dev/osdX devices
27 to user-mode for testing and controlling OSD devices. It is also
28 needed by exofs, for mounting an OSD based file system.
29
30config SCSI_OSD_DPRINT_SENSE
31 int "(0-2) When sense is returned, DEBUG print all sense descriptors"
32 default 1
33 depends on SCSI_OSD_INITIATOR
34 help
35 When a CHECK_CONDITION status is returned from a target, and a
36 sense-buffer is retrieved, turning this on will dump a full
37 sense-decoding message. Setting to 2 will also print recoverable
38 errors that might be regularly returned for some filesystem
39 operations.
40
41config SCSI_OSD_DEBUG
42 bool "Compile All OSD modules with lots of DEBUG prints"
43 default n
44 depends on SCSI_OSD_INITIATOR
45 help
46 OSD Code is populated with lots of OSD_DEBUG(..) printouts to
47 dmesg. Enable this if you found a bug and you want to help us
48 track the problem (see also MAINTAINERS). Setting this will also
49 force SCSI_OSD_DPRINT_SENSE=2.