Re: [PATCH] scsi_lib_dma.c : fix bug w/ dma maps on virtual fc ports

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

 



On Tue, 07 Oct 2008 08:53:49 -0500
James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 2008-10-07 at 09:35 -0400, James Smart wrote:
> > When the updated scsi dma code was introduced recently, it assumed the
> > physical host/adapter was the parent of the scsi host. Unfortunately,
> > on FC virtual ports, the parent of the scsi host is the virtual port,
> > which does not have dma information.
> 
> Hmm, so now we have nested hosts; I'd missed that piece; we might be in
> trouble in other places than just here.

This is a problem that we met one year ago?

http://marc.info/?t=118312464100002&r=1&w=2

vport's shost is not initialized like a normal shost so it doesn't
have dma information.

The updated patch looks nice. I should have done it at the time.
--
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