]> git.baikalelectronics.ru Git - kernel.git/commit
target/iscsi: Move init_se_cmd closer to lookup_cmd_lun
authorAndy Grover <agrover@redhat.com>
Tue, 3 Apr 2012 22:51:23 +0000 (15:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:37 +0000 (17:40 -0700)
commit525370f75c3d83fad03ff46741bc864607286a57
tree0b346d469892ba835b8bb85f23b74c490c6d3af3
parent3c4d470eea8064b7f0a9d8ef785d3ee82210c072
target/iscsi: Move init_se_cmd closer to lookup_cmd_lun

if we can get calls to init_se_cmd, get_sess_cmd, lookup_cmd_lun,
core_alua_check_nonop_delay, and handle_cdb_direct next to each other,
then we can just call target_submit_cmd. This is a step towards that
goal.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c