basler / linux-usb-zerocopy

usb3 zerocopy support for linux
https://github.com/Basler/linux-usb-zerocopy/wiki
Other
4 stars 2 forks source link

Fix issue if get_user_pages_fast returns less than requested #3

Open stefanklug opened 9 years ago

stefanklug commented 9 years ago

From http://article.gmane.org/gmane.linux.usb.general/110775

Also you don't have a fall back if get_user_pages_fast() returns less than requested. It seems to me that than you ought to fall back buffered IO.