Re: fix and simplify session shutdown

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

 



(added Doug to CC-list)

On 04/05/2016 04:10 AM, Christoph Hellwig wrote:
Hi Nic,

This series rewrites the session shutdown code so that it is a lot simpler
in the core, doesn't rewrite boilerplat code in the fabrics drivers, and
avoids a race window between session shutdown and unregistration for
multiqueue drivers like srp.

Below is receipt from Bart that he used to reproduce the session shutdown
races:

-------- snip --------
* Load the LIO core and ib_srpt kernel modules.
* Configure LIO such that a RAM disk was exported through ib_srpt.
* On the same system, using IB loopback, start srp_daemon such that the
   SRP initiator logs in.
* Add support for LIO LUNs to /etc/multipath.conf with queue_if_no_path
   enabled.
* Start multipath.
* On top of the multipath device that was created for the LIO LUN,
   create a filesystem.
* Run a fio data integrity test on top of that filesystem.
* While fio was running, unload and reload LIO + ib_srpt every 30s.
* Check that the fio IOPS drop to zero while LIO + ib_srpt were being
   restarted.
-------- snip --------


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



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux