summaryrefslogtreecommitdiff
path: root/drivers/md/persistent-data
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2015-10-29 03:02:06 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-03 15:07:14 -0800
commit368e554ba69f8cd9752c74adc7b6bd1f5f7c630e (patch)
treefa46f46a09e83f55f70debd8fede1e21ec332756 /drivers/md/persistent-data
parentf51c5d31c88d47a93135b89cf541aeb194f62908 (diff)
vb2: fix a regression in poll() behavior for output,streams
commit 4623e5967448444a4ea1e77beb58898c4af48693 upstream. In the 3.17 kernel the poll() behavior changed for output streams: as long as not all buffers were queued up poll() would return that userspace can write. This is fine for the write() call, but when using stream I/O this changed the behavior since the expectation was that it would wait for buffers to become available for dequeuing. This patch only enables the check whether you can queue buffers for file I/O only, and skips it for stream I/O. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/persistent-data')
0 files changed, 0 insertions, 0 deletions