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

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

 



On 10/13/2015 11:52 PM, Sagi Grimberg wrote:
Another question, I notice that you wake_up cmd_list_wq even if the
session is not tearing down (where transport_free_session is not
running). Won't that introduce extra work in the hot path of command
processing?

Hello Sagi,

This should be fine since the wake_up() function is only called from target_release_cmd_kref() after the command list became empty. That means after a response has been sent and while no other commands are being processed for the same session.

Bart.
--
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