diff options
author | Quinn Tran <quinn.tran@qlogic.com> | 2014-03-28 19:05:27 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-04-07 01:48:53 -0700 |
commit | 9d2e59f2a778328a41771fe9a0098dadbc4314ba (patch) | |
tree | 3a921494b5de360dda42f639bab92cdc03d427e1 /drivers/target/sbp | |
parent | d444edc679e7713412f243b792b1f964e5cff1e1 (diff) | |
download | linux-9d2e59f2a778328a41771fe9a0098dadbc4314ba.tar.gz linux-9d2e59f2a778328a41771fe9a0098dadbc4314ba.tar.bz2 linux-9d2e59f2a778328a41771fe9a0098dadbc4314ba.zip |
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>
Diffstat (limited to 'drivers/target/sbp')
0 files changed, 0 insertions, 0 deletions