<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/fs/nfs/flexfilelayout/flexfilelayout.c, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-07-08T18:25:41+00:00</updated>
<entry>
<title>NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code</title>
<updated>2015-07-08T18:25:41+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-07-08T18:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=690edcfad0e570a9a2a42d9b98cd04efaf21489d'/>
<id>urn:sha1:690edcfad0e570a9a2a42d9b98cd04efaf21489d</id>
<content type='text'>
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS/flexfiles: Fix the reset of struct pgio_header when resending</title>
<updated>2015-06-26T19:39:50+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-06-26T19:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d620876990f02788d5a663075df007ffb91bdfad'/>
<id>urn:sha1:d620876990f02788d5a663075df007ffb91bdfad</id>
<content type='text'>
hdr-&gt;good_bytes needs to be set to the length of the request, not
zero.

Cc: stable@vger.kernel.org # 4.0+
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS/flexfiles: Turn off layoutcommit for servers that don't need it</title>
<updated>2015-06-26T18:51:32+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-06-26T18:51:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c0f5f5059f6c9c9efb6ca688f4d6a800c11f6b58'/>
<id>urn:sha1:c0f5f5059f6c9c9efb6ca688f4d6a800c11f6b58</id>
<content type='text'>
This patch ensures that we record the value of 'ffl_flags' from
the layout, and then checks for the presence of the
FF_FLAGS_NO_LAYOUTCOMMIT flag before deciding whether or not to
call pnfs_set_layoutcommit().

The effect is that servers now can decide whether or not they want
the client to call layoutcommit before returning a writeable layout.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pnfs/flexfiles: protect ktime manipulation with mirror lock</title>
<updated>2015-06-26T18:01:37+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-26T01:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=9bbd9bb40cfae5ff35710e88866fcadb0e8f91ed'/>
<id>urn:sha1:9bbd9bb40cfae5ff35710e88866fcadb0e8f91ed</id>
<content type='text'>
It looks as if xchg() and cmpxchg() are not available for 64-bit integers on sparc32:

&gt; New breakage seen in linux-next today:
&gt;
&gt; ERROR: "__xchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!
&gt; ERROR: "__cmpxchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!
&gt; make[2]: *** [__modpost] Error 1
&gt; make[1]: *** [modules] Error 2

Given that mirror ktime manipulation is already under mirror-&gt;lock, let's make use of the fact.

Reported-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pnfs/flexfiles: report layoutstat regularly</title>
<updated>2015-06-24T14:54:23+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-23T11:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=97ba375b5df43790aa82c256f7f16ee8eb95c272'/>
<id>urn:sha1:97ba375b5df43790aa82c256f7f16ee8eb95c272</id>
<content type='text'>
As a simple scheme, report every minute if IO is still going on.

Reviewed-by: Jeff Layton &lt;jeff.layton@primarydata.com&gt;
Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pnfs/flexfiles: encode LAYOUTSTATS flexfiles specific data</title>
<updated>2015-06-24T14:53:11+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-23T11:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=27c430644369ccd9a2272492ba6d0e85e2e4800b'/>
<id>urn:sha1:27c430644369ccd9a2272492ba6d0e85e2e4800b</id>
<content type='text'>
Reviewed-by: Jeff Layton &lt;jeff.layton@primarydata.com&gt;
Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pnfs/flexfiles: add ff_layout_prepare_layoutstats</title>
<updated>2015-06-24T14:53:11+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-23T11:52:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=ad4dc53e6496ba0b3c18aeda6f3367d9800b6ebf'/>
<id>urn:sha1:ad4dc53e6496ba0b3c18aeda6f3367d9800b6ebf</id>
<content type='text'>
It fills in the generic part of LAYOUTSTATS call. One thing to note
is that we don't really track if IO is continuous or not. So just fake
to use the completed bytes for it.

Still missing flexfiles specific part, which will be included in the next patch.

Reviewed-by: Jeff Layton &lt;jeff.layton@primarydata.com&gt;
Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS/flexfiles: track when layout is first used</title>
<updated>2015-06-24T14:53:10+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-23T11:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d983803d3818a7aef3200147c72a45f573d84537'/>
<id>urn:sha1:d983803d3818a7aef3200147c72a45f573d84537</id>
<content type='text'>
So that we can report cumulative time since the beginning
of statistics collection of the layout.

Reviewed-by: Jeff Layton &lt;jeff.layton@primarydata.com&gt;
Signed-off-by: Peng Tao &lt;tao.peng@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS/flexfiles: add layoutstats tracking</title>
<updated>2015-06-24T14:53:10+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-06-23T11:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=abcb7bfc9fdecd1550b98a5e13d40bfba6c0649b'/>
<id>urn:sha1:abcb7bfc9fdecd1550b98a5e13d40bfba6c0649b</id>
<content type='text'>
Reviewed-by: Jeff Layton &lt;jeff.layton@primarydata.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pnfs/flexfiles: use swap() in ff_layout_sort_mirrors()</title>
<updated>2015-06-16T15:14:03+00:00</updated>
<author>
<name>Fabian Frederick</name>
<email>fabf@skynet.be</email>
</author>
<published>2015-06-12T16:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=455b6ee6452751dc471b5a434f9398fb825d5149'/>
<id>urn:sha1:455b6ee6452751dc471b5a434f9398fb825d5149</id>
<content type='text'>
Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
</feed>
