On Fri, 2012-04-20 at 14:47 -0400, Fred Isaman wrote: > version 2 of these patches had some patch fragments that were left > unsquashed. This version merely squashes those in. > > > > These patches rewrite the directio code to use the same coalesce > and RPC sendoff code as cached io. This allows directio to make > use of the preexisting pnfs code. > > There are some limitations at the moment that need to be fixed, but > given the amount of change this patchset introduces I'm > trying to put out as small a base set of patches as possible. > > The primary TODOs are: > - Coalescing of bsize<PAGESIZE, while technically correct, is suboptimal. > To fix this I'll need to adjust the *_multi functions to handle > more than a single req > > - Unaligned io is not sent to pnfs, as there is no existing code to deal > with a layout boundary (think stripe edge) occurring in the middle > of a nfs_page. This now looks good to me... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥