Re: [PATCH blktests v4] nbd/003:add mount and clear_sock test for nbd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2020/2/12 6:23, Omar Sandoval 写道:
On Mon, Dec 23, 2019 at 11:15:35AM +0800, sunke (E) wrote:
Hi Omar,

The nbd/003 you simplified does the same I want to do and I made some small
changes. I ran the simplified nbd/003 with linux kernel at the commit
7e0165b2f1a, it could pass.Then, I rollbacked the linux kernel to commit
090bb803708, it indeed triggered the BUGON.

However, there is one difference. NBD has ioctl and netlink interfaces. I
use the netlink interface and the simplified nbd/003 use the ioctl
interface. The nbd/003 with the netlink interface indeed seem to trigger
some other issue. So, can it be nbd/004?

Sure, how about we add a flag to mount_clear_sock that specifies to use
the netlink interface instead of the ioctl interface, and make nbd/004
which is the same as nbd/003 expect it runs it with the netlink flag?

Hi Omar

I can not understand adding a flag to mount_clear_sock. How about add _start_nbd_server_netlink and _stop_nbd_server_netlink in tests/nbd/rc, others can also reuse the code?

Thanks
Sun Ke




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux