Re: [bug report] most of blktests nvme/ failed on the latest linux tree

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

 





On 28/06/2023 11:14, Sagi Grimberg wrote:


Yi,

Do you have hostnqn and hostid files in your /etc/nvme directory?


No, only one discovery.conf there.

# ls /etc/nvme/
discovery.conf

So the hostid is generated every time if it is not passed.
We should probably revert the patch and add it back when
blktests are passing.

Seems like the patch is doing exactly what it should do - fix wrong behavior of users that override hostid.
Can we fix the tests instead ?

Right, I got confused between a provided host and the default host...

I think we need to add check that /etc/nvme/[hostnqn,hostid] exist
in the test cases.

Right.
And if one of the files doesn't exist, generate the value.

Should it go to tests/nvme/rc ?



[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