PDU further optimize iscsi_add_data()

This patch further improves add data and esepcially preassigns
the right amount of memory where the amount is preknown
This commit is contained in:
Peter Lieven
2012-11-05 15:13:50 +01:00
parent b5183d5e30
commit 65cd38e8ff
5 changed files with 51 additions and 14 deletions

View File

@@ -33,7 +33,6 @@ struct iscsi_context;
struct sockaddr;
#define MAX_STRING_SIZE (255)
#define PAGE_SIZE (4096)
/*
* Syntax for normal and portal/discovery URLs.