From: Quinn Tran Date: Fri, 28 Mar 2014 23:05:27 +0000 (-0400) Subject: target/rd: T10-Dif: RAM disk is allocating more space than required. X-Git-Tag: v3.15-rc1~12^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2e59f2a778328a41771fe9a0098dadbc4314ba;p=pandora-kernel.git 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: Giridhar Malavali Signed-off-by: Quinn Tran Cc: #3.14+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed