Home
last modified time | relevance | path

Searched hist:"0390 f0c0dfb540149d7369276b17ec53caf506cb" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dhpsa.hdiff 0390f0c0dfb540149d7369276b17ec53caf506cb Mon Sep 23 13:34:12 CDT 2013 Stephen M. Cameron <scameron@beardog.cce.hp.com> [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>
H A Dhpsa.cdiff 0390f0c0dfb540149d7369276b17ec53caf506cb Mon Sep 23 13:34:12 CDT 2013 Stephen M. Cameron <scameron@beardog.cce.hp.com> [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>