diff options
| author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2013-09-23 22:34:12 +0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 19:38:56 +0400 |
| commit | 0390f0c0dfb540149d7369276b17ec53caf506cb (patch) | |
| tree | 2a621fff7b52ca27a9e1a66c168b940d599222f2 /tools/perf/scripts/python | |
| parent | e06c8e5c34498d1ea0468401012be8d1c853c585 (diff) | |
| download | linux-0390f0c0dfb540149d7369276b17ec53caf506cb.tar.xz | |
[SCSI] hpsa: cap CCISS_PASSTHRU at 20 concurrent commands.
Cap CCISS_BIG_PASSTHRU as well. If an attempt is made
to exceed this, ioctl() will return -1 with errno == EAGAIN.
This is to prevent a userland program from exhausting all of
pci_alloc_consistent memory. I've only seen this problem when
running a special test program designed to provoke it. 20
concurrent commands via the passthru ioctls (not counting SG_IO)
should be more than enough.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
