Skip to contentSkip to conversation

enable bcache in kernel?

DISCUSSION Stan Hoeppner 2 participants 2 messages Aug 19, 2014 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

Is bcache available in 3.4.103?

Regardless of the answer to the above, how is bcache enabled in the kernel? .config? Doc reference please. The bcache website simply says "now in mainline" without stating the source filename or anything actually helpful about including it in a custom kernel.

Please reply-all.

Thanks.

Stan

#1 lore raw
Quoted 2 lines · Stan Hoeppner

Is bcache available in 3.4.103?

I believe it went in around 3.10 but I wouldn't use it for anything in production until at least 3.12.x

Quoted 4 lines

Regardless of the answer to the above, how is bcache enabled in the kernel? .config? Doc reference please. The bcache website simply says "now in mainline" without stating the source filename or anything actually helpful about including it in a custom kernel.

From `make menuconfig'

  │ Symbol: BCACHE [=m]                                                     │
  │ Type  : tristate                                                        │
  │ Prompt: Block device as cache                                           │
  │   Location:                                                             │
  │     -> Device Drivers                                                   │
  │ (1)   -> Multiple devices driver support (RAID and LVM) (MD [=y])       │
  │   Defined at drivers/md/bcache/Kconfig:2                                │
  │   Depends on: MD [=y]                                                   │