mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
3ab45219500c4070a6a55e57040a0484db284a53
First, the problem: you cannot calculate sgv_max_local_order and sgv_max_trans_order by excess and then compare them with get_order(size). The maximum number of local (SG + trans) entries may be 112 (like in amd64 case) and you bzero 128 sg_entries for every allocation request between 65 and 128 pages because the order is the same. This is the reason why single transfers of (70 * PAGE_SIZE) = ~285k or more fail on amd64. On i386 the limit is higher, since you can shrink more records in one page, and so it's very difficult to reach. Now, the solution: I created a patch, which consists in decreasing sgv_max_local_order and sgv_max_trans_order by 1. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Description
No description provided
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%