2 # Kernel configuration file for the OSD scsi protocol
4 # Copyright (C) 2008 Panasas Inc. All rights reserved.
7 # Boaz Harrosh <bharrosh@panasas.com>
8 # Benny Halevy <bhalevy@panasas.com>
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
14 # FIXME: SCSI_OSD_INITIATOR should select CONFIG (HMAC) SHA1 somehow.
15 # How is it done properly?
18 config SCSI_OSD_INITIATOR
19 tristate "OSD-Initiator library"
22 Enable the OSD-Initiator library (libosd.ko).
23 NOTE: You must also select CRYPTO_SHA1 + CRYPTO_HMAC and their
27 tristate "OSD Upper Level driver"
28 depends on SCSI_OSD_INITIATOR
30 Build a SCSI upper layer driver that exports /dev/osdX devices
31 to user-mode for testing and controlling OSD devices. It is also
32 needed by exofs, for mounting an OSD based file system.
34 config SCSI_OSD_DPRINT_SENSE
35 int "(0-2) When sense is returned, DEBUG print all sense descriptors"
37 depends on SCSI_OSD_INITIATOR
39 When a CHECK_CONDITION status is returned from a target, and a
40 sense-buffer is retrieved, turning this on will dump a full
41 sense-decoding message. Setting to 2 will also print recoverable
42 errors that might be regularly returned for some filesystem
46 bool "Compile All OSD modules with lots of DEBUG prints"
48 depends on SCSI_OSD_INITIATOR
50 OSD Code is populated with lots of OSD_DEBUG(..) printouts to
51 dmesg. Enable this if you found a bug and you want to help us
52 track the problem (see also MAINTAINERS). Setting this will also
53 force SCSI_OSD_DPRINT_SENSE=2.