2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/fs/nfs/objlayout
Trond Myklebust 8f7d5efbef NFSv4.1: Fix some issues with pnfs_generic_pg_test
1. If the intention is to coalesce requests 'prev' and 'req' then we
   have to ensure at least that we have a layout starting at
   req_offset(prev).

2. If we're only requesting a minimal layout of length desc->pg_count,
   we need to test the length actually returned by the server before
   we allow the coalescing to occur.

3. We need to deal correctly with (pgio->lseg == NULL)

4. Fixup the test guarding the pnfs_update_layout.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-06-21 11:54:05 -04:00
..
Kbuild pnfs-obj: decode layout, alloc/free lseg 2011-05-29 20:53:06 +03:00
objio_osd.c NFSv4.1: Fix some issues with pnfs_generic_pg_test 2011-06-21 11:54:05 -04:00
objlayout.c NFS: (d)printks should use %zd for ssize_t arguments 2011-06-15 11:24:31 -04:00
objlayout.h pnfs-obj: objlayout_encode_layoutcommit implementation 2011-05-29 20:55:00 +03:00
pnfs_osd_xdr_cli.c pnfs-obj: pnfs_osd XDR client implementation 2011-05-29 20:52:36 +03:00