diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-12-20 16:44:45 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-23 05:26:50 (GMT) |
commit | 46081b166415acb66d4b3150ecefcd9460bb48a1 (patch) | |
tree | fd164cf95a6981fe5888108469e694806d02e6d1 /drivers/char/tpm | |
parent | 373daacfce9ea0091cb3027572354ddebefb8ebb (diff) | |
download | linux-fsl-qoriq-46081b166415acb66d4b3150ecefcd9460bb48a1.tar.xz |
[SCSI] st: Increase success probability in driver buffer allocation
Modify allocation to try the minimum possible page order allowed by the HBA
scatter/gather segment limit in allocation of the driver's internal
buffer. This increases the probability of successful allocation. The
allocation may still fail if this minimum order is > 0.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Reported-by: Lukas Kolbe <lkolbe@techfak.uni-bielefeld.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions