Re: [PATCH 3/3] tcm ibmvscsis driver

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

 



On Tue, 2011-03-22 at 08:22 +0900, FUJITA Tomonori wrote:
> On Mon, 21 Mar 2011 16:13:07 -0700
> "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:
> 
> > On Tue, 2011-03-22 at 08:06 +0900, FUJITA Tomonori wrote:
> > > On Mon, 21 Mar 2011 15:34:33 -0700
> > > "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:
> > > 
> > > > On Mon, 2011-03-21 at 17:22 -0500, Brian King wrote:
> > > > > Tomo,
> > > > > 
> > > > > Thanks for all the work you've done with this driver. It is much appreciated.
> > > > > 
> > > > > What sort of performance are you seeing with this? With filebacked devices, I
> > > > > was seeing around 1 MB/sec doing a basic disktest run. I haven't compared this
> > > > > to ibmvstgt, but I'm pretty sure we did a fair bit better there. Perhaps I've got
> > > > > some setup issue?
> > > > > 
> > > > > I tried a ramdisk device and saw this on the server:
> > > > > 
> > > > > 
> > > > > DMA_TO_DEVICE not supported for RAMDISK_DR with task_sg_chaining=1
> > > > > 
> > > > > 
> > > > 
> > > > So for the RAMDISK_DR (direct) SGL memory mapping case we do not support
> > > > WRITEs for HW fabric modules using task_sg_changing=1.
> > > > 
> > > > Please go ahead and use RAMDISK_MCP instead, and I will look at adding a
> > > > special case in target_core_fabric_configfs.c code to disallow
> > > > RAMDISK_DR symlink creation of configfs ports for target fabric modules
> > > > using task_sg_chaining=1.
> > > 
> > > I really want to remove 'task_sg_chaining=0', all the drivers support
> > > sg chaining. It's a hacky. What drivers doesn't support it?
> > 
> > It's only drivers for which we are not using HW provided scatterlists
> > into TCM backend memory, which today is just iscsi_target_mod
> > iscsi_target_rx_thread() -> sock_recvmsg() code.
> 
> Please fix iscsi_target_mod then.

<nod>.

I drop this flag for the next round of target core v4.1 code, and just
use iscsi_target_mod's target_core_fabric_ops->alloc_cmd_iovecs() to
know when to prevent RAMDISK_DR export for the typical non
iscsi_target_mod case.

Best Regards,

--nab



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux