mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-07 22:22:01 +00:00
When the GenWQE hardware queue was busy, the driver returned simply -EBUSY. This caused polling by applications which increased the load on the already busy system. This change implements the possiblity to sleep on a waitqueue instead when the DDCB queue is busy. The requestor is woken up when there is free space on the queue again. The old way to get -EBUSY is still available if the device is openend with O_NONBLOCKING. The default is now blocking behavior. Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| card_base.c | ||
| card_base.h | ||
| card_ddcb.c | ||
| card_ddcb.h | ||
| card_debugfs.c | ||
| card_dev.c | ||
| card_sysfs.c | ||
| card_utils.c | ||
| genwqe_driver.h | ||
| Kconfig | ||
| Makefile | ||