Re: Patch: lpfc: Modify Emulex lpfc LPFC_DEFAULT_SG_SEG_CNT to 128 for default larger sg_io capability

2017-02-08 Thread Laurence Oberman
- Original Message - > From: "Laurence Oberman" > To: "Linux SCSI List" > Sent: Wednesday, February 8, 2017 3:07:12 PM > Subject: Patch: lpfc: Modify Emulex lpfc LPFC_DEFAULT_SG_SEG_CNT to 128 for > default larger sg_io capability > > We have

Patch: lpfc: Modify Emulex lpfc LPFC_DEFAULT_SG_SEG_CNT to 128 for default larger sg_io capability

2017-02-08 Thread Laurence Oberman
We have been seeing issues with qemu_kvm virtual guests where if they issue I/O to direct attached SCSI passthrough LUNS with large I/O sizes such as 512K the sg_io will fail with -EINVAL. Simple reproducer is here. strace -e ioctl sg_dd if=/dev/zero of=/dev/sdae bpt=0x400 count=0x400 blk_sgio=1