Skip to contentSkip to conversation

Kernel Compilation - As a module

DISCUSSION Will Tatam 2 participants 2 messages Feb 1, 2012 – Feb 2, 2012 1 message not in the archive bcache (block layer cache)

lore
Share & tools
lore

Will Tatam

author
#0 lore raw

Is it possible to build bcache as a module for your current kernel ? The code I checked out appeared to be an entire linux kernel tree from what I could see at quick glance

When I've been building other stuff before, drbd, v2l-dvb etc I can just build the extra modules provided I have the kernel headers (and sometimes full source) for my running kernel

This is of course much faster, less disruptive and also allows you to do things like build kmods

What would need to happen to make this possible, or am I just failing into the common trap of not reviewing all the documentation proper to asking a possibly simple question ?

Signature · 1 line
Will Tatam
#2 lore raw
In reply to a message not in the archive

Bcache needs a few changes to the generic block code. It does build as a module, you just wouldn't be able to use the module with a stock kernel.

Quoted 23 lines · Will Tatam

Is it possible to build bcache as a module for your current kernel ? The code I checked out appeared to be an entire linux kernel tree from what I could see at quick glance

When I've been building other stuff before, drbd, v2l-dvb etc I can just build the extra modules provided I have the kernel headers (and sometimes full source) for my running kernel

This is of course much faster, less disruptive and also allows you to do things like build kmods

What would need to happen to make this possible, or am I just failing into the common trap of not reviewing all the documentation proper to asking a possibly simple question ?

--
Will Tatam

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html