]> www.infradead.org Git - users/hch/blktests.git/commit
nbd: add a module load and device connect test
authorSun Ke <sunke32@huawei.com>
Tue, 19 Jul 2022 07:12:16 +0000 (15:12 +0800)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 22 Jul 2022 00:44:23 +0000 (09:44 +0900)
commit349eb683fd06f6bee70cd91172e6aaa7986810dd
tree0732ac147effbd2ea9f45384f9a4c0a7fd685c8d
parent382881f3012ad69d52f3c65c0855093a9ec3b3df
nbd: add a module load and device connect test

This is a regression test for commit 06c4da89c24e
nbd: call genl_unregister_family() first in nbd_cleanup()

Two concurrent processes,one load and unload nbd module
cyclically, the other one connect and disconnect nbd device cyclically.
Last for 10 seconds.

Signed-off-by: Sun Ke <sunke32@huawei.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/nbd/004 [new file with mode: 0755]
tests/nbd/004.out [new file with mode: 0644]
tests/nbd/rc