Re: [PATCH 10/21] target: Free session objects after associated commands have finished

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

 



On Sun, Nov 15, 2015 at 04:28:25PM -0800, Nicholas A. Bellinger wrote:
> The reason your hitting this is because FCoE target doesn't use
> target_sess_cmd_list_set_waiting() + target_wait_for_sess_cmds() during
> se_session shutdown, which target_submit_cmd() + target_submit_tmr()
> depends on for checking se_session->sess_tearing_down, and why
> target_release_cmd_kref() does complete(&se_cmd->cmd_wait_comp);

Not a whole lot of fabrics drivers do.  It's really time we start
an effort to get the fabrics drivers up to a common level of core
API usage, because otherwise we'll be stuck in a mess of incompatible
semantics.  A good start might be even just a writeup of what deprecated
APIs are used, or where drivers don't use APIs they should be using.

This one for example isn't something I even had on my list.  Nic, do you
have an initial list?  I'm happy to start creating a file with the
list and start pinging maintainers.
--
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