NetworkBlockDevice / nbd

Network Block Device
GNU General Public License v2.0
450 stars 116 forks source link

Problems encountered when using network block devices to enable the swap function #129

Closed LWT-GO closed 1 year ago

LWT-GO commented 2 years ago

In the process of enabling swap using the network block device, when the system runs for a period of time, it will suddenly freeze. The higher the delay between client and server, the shorter the system uptime. The system log shows "BUG: scheduling while atomic: kswapd0/142/0x00000002", I check the nbd.c file, which uses mutex_lock(&nbd->tx_lock). I don't know if this bug is related to the use of mutex locks. Has anyone encountered this problem?

yoe commented 1 year ago

nbd.c is in the kernel, not in the userspace client, which is what this repository is about.

For kernel bugs, please talk to the kernel maintainers.