[PATCH v4] nvme/069: add a test for multipath cdev lifetime

John Garry john.g.garry at oracle.com
Thu Jul 16 09:36:45 PDT 2026


On 16/07/2026 16:16, Nilay Shroff wrote:
>> +	kill(getppid(), SIGUSR2);
>> +	count = 0;
>> +	for (;;) {
>> +		fd1 = open(argv[1], O_RDONLY);
>> +		usleep(500000);
>> +		if (fd1 < 0)
>> +			break;
> 
> Does it make sense to check for errno set to ENODEV or ENOENT
> before breaking out here?

ehh, if the errno is not ENODEV or ENOENT, then how to handle? Would it 
to fail the test due to unexpected errno?



More information about the Linux-nvme mailing list