]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: make 'add' modprobe rbd so it has a chance of success
authorDan Mick <dan.mick@inktank.com>
Fri, 11 Jan 2013 02:46:13 +0000 (18:46 -0800)
committerDan Mick <dan.mick@inktank.com>
Fri, 11 Jan 2013 22:28:50 +0000 (14:28 -0800)
commite94b06a19218decaf7d2d7b009bd862040f20285
treec8931358e2ff4798a00673c11836d10b931268dc
parent15bb00cafc31305cacf3c4684a429c2c9ee6f804
rbd: make 'add' modprobe rbd so it has a chance of success

Check for existence of /sys/bus/rbd first to avoid unnecessary calls

Fixes: #3784
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
src/rbd.cc