nbd icon indicating copy to clipboard operation
nbd copied to clipboard

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

Open LWT-GO opened this issue 2 years ago • 0 comments

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?

LWT-GO avatar Dec 09 '21 02:12 LWT-GO