summaryrefslogtreecommitdiff
path: root/drivers/md/dm-log-userspace-transfer.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-03-06 13:20:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-18 23:11:59 (GMT)
commite91e52e42814b130c20d17bc1e2adf813c50db11 (patch)
tree3459953655d71ed43cedd3ecdc9fe637b7960bd0 /drivers/md/dm-log-userspace-transfer.c
parent70bc126471af30bb115e635512dcf6d86fe6e29a (diff)
downloadlinux-e91e52e42814b130c20d17bc1e2adf813c50db11.tar.xz
n_tty: Fix stuck throttled driver
As noted in the following comment: /* FIXME: there is a tiny race here if the receive room check runs before the other work executes and empties the buffer (upping the receiving room and unthrottling. We then throttle and get stuck. This has been observed and traced down by Vincent Pillet/ We need to address this when we sort out out the rx path locking */ Use new safe throttle/unthrottle functions to re-evaluate conditions if interrupted by the complement flow control function. Reported-by: Vincent Pillet <vincentx.pillet@intel.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-log-userspace-transfer.c')
0 files changed, 0 insertions, 0 deletions