Project

General

Profile

Actions

Bug #47560

closed

rbd-nbd: add --legacy and make --try-netlink as deprecated

Added by Xiubo Li over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently in nbd.ko module for the first time when loading,
it will add and initialize nbds_max(16 as default) nbd devices
defautly, and the udev service will try to open/close the
/dev/nbdX to do some sanity check.

And if we do the map at the same time we will hit some
errors, such the device is alredy in use, but it is actually not.

More detail please see the nbd-runner related code:
https://github.com/nbd-runner/nbd-runner/blob/master/client/nbd-cli-common.c#L318

Actions

Also available in: Atom PDF