Skip to content

Commit

Permalink
drbd: update Kconfig to match current dependencies
Browse files Browse the repository at this point in the history
We no longer need the connector.
But we need libcrc32c.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
lge authored and Philipp-Reisner committed Dec 6, 2012
1 parent ef86b77 commit d2ec180
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/block/drbd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
# DRBD device driver configuration
#

comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
depends on PROC_FS='n' || INET='n' || CONNECTOR='n'
comment "DRBD disabled because PROC_FS or INET not selected"
depends on PROC_FS='n' || INET='n'

config BLK_DEV_DRBD
tristate "DRBD Distributed Replicated Block Device support"
depends on PROC_FS && INET && CONNECTOR
depends on PROC_FS && INET
select LRU_CACHE
select LIBCRC32C
default n
help

Expand Down Expand Up @@ -58,7 +59,8 @@ config DRBD_FAULT_INJECTION
32 data read
64 read ahead
128 kmalloc of bitmap
256 allocation of EE (epoch_entries)
256 allocation of peer_requests
512 insert data corruption on receiving side

fault_devs: bitmask of minor numbers
fault_rate: frequency in percent
Expand Down

0 comments on commit d2ec180

Please sign in to comment.