linux-sg2042/drivers/misc/genwqe
Frank Haverkamp 1451f41463 GenWQE: Support blocking when DDCB queue is busy
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>
2014-09-23 23:15:47 -07:00
..
Kconfig GenWQE: Add support for EEH error recovery 2014-07-09 14:14:27 -07:00
Makefile GenWQE Enable driver 2013-12-18 16:51:15 -08:00
card_base.c GenWQE: Fix checkpatch complaints 2014-09-23 23:15:47 -07:00
card_base.h GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_ddcb.c GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_ddcb.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00
card_debugfs.c GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_dev.c GenWQE: Support blocking when DDCB queue is busy 2014-09-23 23:15:47 -07:00
card_sysfs.c GenWQE: Update author information 2014-09-23 23:15:46 -07:00
card_utils.c GenWQE: Fix checkpatch complaints 2014-09-23 23:15:47 -07:00
genwqe_driver.h GenWQE: Update author information 2014-09-23 23:15:46 -07:00