]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: modprobe with single_major=Y on newer kernels 936/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 13 Dec 2013 15:40:52 +0000 (17:40 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 13 Dec 2013 15:40:52 +0000 (17:40 +0200)
commiteae8531e42f2f18528530d3966588c653e70a0bd
treef6297cc297fe15f5a148186c7f16a48446089c8c
parent8a473bcc9910eea56f3d8841082c54a6c6bbb9fb
rbd: modprobe with single_major=Y on newer kernels

On kernels that support it, and if 'rbd map' is given a chance to
modprobe, turn on single-major device number allocation scheme.  For
users who for some reason don't want it, the workaround is to insert
the rbd module manually before executing the first 'rbd map' command.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
src/rbd.cc