<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/read.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-05-24T20:15:48Z</updated>
<entry>
<title>NFSv4.1 add nfs_inode book keeping for mdsthreshold</title>
<updated>2012-05-24T20:15:48Z</updated>
<author>
<name>Andy Adamson</name>
</author>
<published>2012-05-24T17:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2701d086dbfca03b2d28b25c6dc11dd78d0e26ad'/>
<id>urn:sha1:2701d086dbfca03b2d28b25c6dc11dd78d0e26ad</id>
<content type='text'>
Keep track of the number of bytes read or written via buffered, direct, and
mem-mapped i/o for use by mdsthreshold size_io hints.

Signed-off-by: Andy Adamson &lt;andros@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.1 set RPC_TASK_SOFTCONN for filelayout DS RPC calls</title>
<updated>2012-05-19T21:54:19Z</updated>
<author>
<name>Andy Adamson</name>
</author>
<published>2012-04-27T21:53:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f0ec176b3071e0472582c07ae1e68055b28184d'/>
<id>urn:sha1:9f0ec176b3071e0472582c07ae1e68055b28184d</id>
<content type='text'>
RPC_TASK_SOFTCONN returns connection errors to the caller which allows the pNFS
file layout to quickly try the MDS or perhaps another DS.

Signed-off-by: Andy Adamson &lt;andros@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix sparse warnings</title>
<updated>2012-05-04T18:59:51Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-04T17:54:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1385b8117325e79f74c1e7d1cbf45c789deb85c5'/>
<id>urn:sha1:1385b8117325e79f74c1e7d1cbf45c789deb85c5</id>
<content type='text'>
Fix the following sparse warnings:

fs/nfs/direct.c:221:6: warning: symbol 'nfs_direct_readpage_release' was
not declared. Should it be static?
fs/nfs/read.c:38:43: warning: non-ANSI function declaration of function
'nfs_readhdr_alloc'
fs/nfs/objlayout/objio_osd.c:214:5: warning: symbol '__alloc_objio_seg'
was not declared. Should it be static?

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Cc: Fred Isaman &lt;iisaman@netapp.com&gt;
Cc: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
</content>
</entry>
<entry>
<title>NFS: Simplify the nfs_read_completion functions</title>
<updated>2012-05-01T19:42:22Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-01T16:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bd8b010136afa0df9122a08bad361686bda0a1d'/>
<id>urn:sha1:4bd8b010136afa0df9122a08bad361686bda0a1d</id>
<content type='text'>
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Cc: Fred Isaman &lt;iisaman@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up nfs read and write error paths</title>
<updated>2012-05-01T17:48:13Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-01T16:07:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25b11dcdbfcad69a5ec03265e2dce19e5eca936b'/>
<id>urn:sha1:25b11dcdbfcad69a5ec03265e2dce19e5eca936b</id>
<content type='text'>
Move the error handling for nfs_generic_pagein() into a single function.
Ditto for nfs_generic_flush().

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Cc: Fred Isaman &lt;iisaman@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Read cleanups</title>
<updated>2012-05-01T17:48:13Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-01T15:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9146ab5055152bbacb5690c384df2fd610fb3c68'/>
<id>urn:sha1:9146ab5055152bbacb5690c384df2fd610fb3c68</id>
<content type='text'>
Remove unused variables, and reformat some code.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Cc: Fred Isaman &lt;iisaman@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: rewrite directio read to use async coalesce code</title>
<updated>2012-04-27T18:10:38Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2012-04-20T18:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=584aa810b6240d88c28113a90c5029449814a3b5'/>
<id>urn:sha1:584aa810b6240d88c28113a90c5029449814a3b5</id>
<content type='text'>
This also has the advantage that it allows directio to use pnfs.

Signed-off-by: Fred Isaman &lt;iisaman@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: create completion structure to pass into page_init functions</title>
<updated>2012-04-27T18:10:38Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2012-04-20T18:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=061ae2edb7375ab6776468b075da71008a098b55'/>
<id>urn:sha1:061ae2edb7375ab6776468b075da71008a098b55</id>
<content type='text'>
Factors out the code that will need to change when directio
starts using these code paths.  This will allow directio to use
the generic pagein and flush routines

Signed-off-by: Fred Isaman &lt;iisaman@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: merge _full and _partial read rpc_ops</title>
<updated>2012-04-27T18:10:37Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2012-04-20T18:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4db6e0b74c0f6dfc2f9c0690e8df512e3b635983'/>
<id>urn:sha1:4db6e0b74c0f6dfc2f9c0690e8df512e3b635983</id>
<content type='text'>
Decouple nfs_pgio_header and nfs_read_data, and have (possibly
multiple) nfs_read_datas each take a refcount on nfs_pgio_header.

For the moment keeps nfs_read_header as a way to preallocate a single
nfs_read_data with the nfs_pgio_header.  The code doesn't need this,
and would be prettier without, but given the amount of churn I am
already introducing I didn't want to play with tuning new mempools.

This also fixes bug in pnfs_ld_handle_read_error.  In the case of
desc-&gt;pg_bsize &lt; PAGE_CACHE_SIZE, the pages list was empty, causing
replay attempt to do nothing.

Signed-off-by: Fred Isaman &lt;iisaman@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: create struct nfs_page_array</title>
<updated>2012-04-27T18:10:37Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2012-04-20T18:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30dd374f6fc1b202db3a1b57b61afff1326bad92'/>
<id>urn:sha1:30dd374f6fc1b202db3a1b57b61afff1326bad92</id>
<content type='text'>
Both nfs_read_data and nfs_write_data devote several fields which
can be combined into a single shared struct.

Signed-off-by: Fred Isaman &lt;iisaman@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
