All of lore.kernel.org
 help / color / mirror / Atom feed
* tcmu data consistency
@ 2018-05-20  9:10 亓武强
  2018-05-21 19:45 ` Mike Christie
  0 siblings, 1 reply; 2+ messages in thread
From: 亓武强 @ 2018-05-20  9:10 UTC (permalink / raw)
  To: target-devel

hi:
    i have some questions about the tcmu, consider following scenario:

1,Iscsi initiator establishes two session connection with gw1,gw2 at
the same time. gw1  is the active path.

2,  The active path is switched to gw 2 due to the interruption of the
connection from the initiator to gw1.

3, gw2  acquire exclusive lock and write some data to lun0.  then gw1
update the exclusive lock to UNLOCKED.

4, after step 3,   some old  iscsi session  inflight write ios
arrival gw1 , gw1  acquire the exclusive lock again, the old data will
  overwrite new data.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-21 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-20  9:10 tcmu data consistency 亓武强
2018-05-21 19:45 ` Mike Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.