commit | 9d2e59f2a778328a41771fe9a0098dadbc4314ba | [log] [tgz] |
---|---|---|
author | Quinn Tran <quinn.tran@qlogic.com> | Fri Mar 28 19:05:27 2014 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Apr 07 01:48:53 2014 -0700 |
tree | 3a921494b5de360dda42f639bab92cdc03d427e1 | |
parent | d444edc679e7713412f243b792b1f964e5cff1e1 [diff] |
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 <giridhar.malavali@qlogic.com> Signed-off-by: Quinn Tran <quinn.tran@qlogic.com> Cc: <stable@vger.kernel.org> #3.14+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>