summaryrefslogtreecommitdiffstats
path: root/src/server/threadpool.h
diff options
context:
space:
mode:
authorSimon Rettberg2025-10-29 18:05:00 +0100
committerSimon Rettberg2025-12-09 15:33:20 +0100
commit062df52ab9f3464ce79ca91d54fa3d2ad209a31b (patch)
tree2bb2c53a0e29a9691a77199fa631a007e4d96fa2 /src/server/threadpool.h
parent[SERVER] iscsi: Honor global _shutdown (diff)
downloaddnbd3-062df52ab9f3464ce79ca91d54fa3d2ad209a31b.tar.gz
dnbd3-062df52ab9f3464ce79ca91d54fa3d2ad209a31b.tar.xz
dnbd3-062df52ab9f3464ce79ca91d54fa3d2ad209a31b.zip
[SERVER] iscsi: Refactor receive function and PDU handling
- Fold header/data handling into one function This uncovered a few redundant checks and makes it easier to reason about control flow - Make all iscsi_pdu stack-allocated This greatly reduces the number of malloc and free calls during normal operation, lowers the risk of memory management bugs, and potentially increases performance in high concurrency scenarios.
Diffstat (limited to 'src/server/threadpool.h')
0 files changed, 0 insertions, 0 deletions