2.7 backport

tow is two commit to fix:

 - compatibility with kernel > 3.11 and RHEL7
 - add basic support for proxy IO on read to handle clients which
   fall back to IO through MDS(door)