commit | af3f00c75949369d937f499f49118e879939724d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Oct 18 06:57:03 2011 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:22:04 2011 +0000 |
tree | 97be6b877cd80489eb055ccf1dd0bdb5e8c3f526 | |
parent | 9ac549873d35626cd6d7718691aaf4c55f2667a7 [diff] |
target: re-use the command S/G list for single-task commands If we only have a single task per command (which at least in my testing is the by far most common case) we do not have to allocate a new per-task S/G list but can reuse the one from the command. (nab: Fix BIDI handling in transport_free_dev_tasks) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>