Hi, This series contains some cleanups for nbd. Also I add a debugfs directory for nbd and every connected nbd. It contains some information about the internal state of nbd and should help to debug issues.
The last patch creates uevents for nbd connections. The idea is to let the userspace know when we are connected. Best regards, Markus Markus Pargmann (10): nbd: sock_shutdown, remove conditional lock nbd: restructure sock_shutdown nbd: Remove 'harderror' and propagate error properly nbd: Move clear queue debug message nbd: Remove variable 'pid' nbd: Add debugfs entries nbd: Change 'disconnect' to be boolean nbd: Rename functions for clearness of recv/send path nbd: flags is a u32 variable nbd: Create size change events for userspace drivers/block/nbd.c | 346 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 278 insertions(+), 68 deletions(-) -- 2.1.4 ------------------------------------------------------------------------------ _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
