Re: [PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-10-20 Thread Hannes Reinecke
On 09/24/2015 04:54 PM, Johannes Thumshirn wrote: > > Ping? > I really would like to see them included, as with this we can move the udev rules over to not issuing any SG_IO commands during event processing. This helps a lot for multipath failover scenarios. Cheers, Hannes -- Dr. Hannes Reinec

Re: [PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-09-24 Thread Johannes Thumshirn
Ping? -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C

[PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-08-14 Thread Johannes Thumshirn
Export the RAW SCSI Inquiry to sysfs as binfile. This way the data can be used by userland without the need to have and ioctl or use the sg_inq tool. Here is an example of the provided data linux:~ # hexdump /sys/class/scsi_device/1\:0\:0\:0/device/inquiry 000 8005 3205 001f 4551 554d 20