Skip to content
Commit 9d2e59f2 authored by Quinn Tran's avatar Quinn Tran Committed by Nicholas Bellinger
Browse files

target/rd: T10-Dif: RAM disk is allocating more space than required.



Ram disk is allocating 8x more space than required for diff data.
For large RAM disk test, there is small potential for memory
starvation.

(Use block_size when calculating total_sg_needed - sagi + nab)

Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarQuinn Tran <quinn.tran@qlogic.com>
Cc: <stable@vger.kernel.org> #3.14+
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent d444edc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment