Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2007 12:19:46 +0900
From:      Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
To:        freebsd-scsi@freebsd.org
Subject:   scsi_target with multiple luns
Message-ID:  <86tztspdil.wl%simokawa@FreeBSD.ORG>

next in thread | raw e-mail | index | archive | help
I have not fully analyzed the problem but I'll describe it just for a note.
I'd like to ask maintainers of scsi_target for further analysis.

I experiance a problem with small number(1) of simq and multiple
scsi_target(8) instances.

As far as I understand, the following situation could occur under a fairly
heavy load.

1. process A send a request -> cam send to sim
2. process B send a request -> blocked because the simq is full
3. the request of process A is finished (in the context of process A)
4. cam/scsi_target tries to send the request of process B.
   But the mapped memory is of process A, and scsi_target send wrong
   ccb to sim.

Maybe, we should rewrite scsi_target in kernel space with GEOM support..

/\ Hidetoshi Shimokawa
\/  simokawa@FreeBSD.ORG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tztspdil.wl%simokawa>