]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Remove legacy se_task->task_timer and associated logic
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 01:46:36 +0000 (18:46 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:22:08 +0000 (03:22 +0000)
commit2e982ab92dff057c639d4a43ccfa275be62f5e59
tree8c8467e06736efa042006b11210281894c75bd95
parent415a090ade7e674018e3fa4255938e4c312339b3
target: Remove legacy se_task->task_timer and associated logic

This patch removes the legacy usage of se_task->task_timer and associated
infrastructure that originally was used as a way to help manage buggy backend
SCSI LLDs that in certain cases would never return back an outstanding task.

This includes the removal of target_complete_timeout_work(), timeout logic
from transport_complete_task(), transport_task_timeout_handler(),
transport_start_task_timer(), the per device task_timeout configfs attribute,
and all task_timeout associated structure members and defines in
target_core_base.h

This is being removed in preparation to make transport_complete_task() run
in lock-less mode.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_transport.h