-
Notifications
You must be signed in to change notification settings - Fork 32
implement automatic device allocation; resolves #1833 #3729 #3754 #3730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit e12488a.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit e12488a.
|
struct TNbdConfigureResponse { | ||
TNetlinkHeader Header; | ||
::nlattr IndexAttr; | ||
ui32 Index; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тоже дефолтная инициализация
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не очень понимаю зачем – это структура, в которой содержится ответ ядра на нетлинк запрос, она никогда не используется сама по себе
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit dc9120e.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit dc9120e.
|
- generalize netlink library to easily construct new messages - use sysfs to find free nbd device when using ioctl - let the driver find or allocate free device when using netlink - add config option to toggle between new and old behavior - remove 'reconfigure' parameter from TNetlinkDevice, because it was never used
9b44b1c
to
b10267a
Compare
Uh oh!
There was an error while loading. Please reload this page.