[DRBD-user] using drbd in a monolithic kernel?

Philipp Reisner philipp.reisner at linbit.com
Fri Mar 19 10:03:55 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

Am Donnerstag, 18. März 2004 18:02 schrieb Kees Cook:
> On Thu, Mar 18, 2004 at 11:09:36AM +0100, Lars Ellenberg wrote:
> > I'd like to see such patches ...
> > AND: don't forget to set minor_count to some more sensible value,
> > or make it a kernel boot parameter, or you'll end up with only two
> > minors. Which may or may not be sufficient for your needs...
> Here are two patches.  The first is for the drbd tree itself, which makes
> the source play nice when trying to do an in-kernel-tree build.  Changes:
> - include path changed to handle moving the shared .h files into
>   include/linux, for compatibility with the kernel build.
> - moved drbd_init and drbd_cleanup calls around so that there is no
>   difference between a monolithic init and a module init.
> - dropped unused "errno" definition that conflicted with monolithic builds
> - commented out sig handler code when building as monolithic
> The second patch includes the Makefile and Kconfig entries.  In this
> organization, it expects that the "drbd" module directory is in
> "drivers/block/drbd", and that drbd.h and drbd_config.h are in
> "include/linux".  I left those out of the patch since it would be
> redundant.
> My one warning: I haven't fully tested this yet.  I only got it to
> compile and initialize.

Hi Kees,

are you going to maintain these patches ? -- At least for now ?

: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :

More information about the drbd-user mailing list