Re: [PATCH v3] blkmapd: Skip the SCSI ID if data length is zero

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

 



> +		/* Needs an SCSI ID with unique date not zero length */
> +		if (!dev_id->len)
> +			continue;

That explains what the code does, not why it does so.

How about:

		/*
		 * Some buggy targets (e.g. VMWare) export zero length
		 * EVPD pages, skip them to not confuse the device id
		 * cache.
		 */

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux