<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/fs/nfs/pnfs.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-28T13:07:02+00:00</updated>
<entry>
<title>nfs: plug memory leak when -&gt;prepare_layoutcommit fails</title>
<updated>2015-07-28T13:07:02+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@poochiereds.net</email>
</author>
<published>2015-07-10T19:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=3471648a7569512e10f154cdfe5076c341a5c099'/>
<id>urn:sha1:3471648a7569512e10f154cdfe5076c341a5c099</id>
<content type='text'>
"data" is currently leaked when the prepare_layoutcommit operation
returns an error. Put the cred before taking the spinlock in that
case, take the lock and then goto out_unlock which will drop the
lock and then free "data".

Signed-off-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: Don't throw out valid layout segments</title>
<updated>2015-07-11T14:16:17+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-07-09T16:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=faa4a54f0be15b5d81b574fb5a40db24345d1a6c'/>
<id>urn:sha1:faa4a54f0be15b5d81b574fb5a40db24345d1a6c</id>
<content type='text'>
It is OK for layout segments to remain hashed even if no-one holds any
references to them, provided that the segments are still valid.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS: pnfs_roc_drain() fix a race with open</title>
<updated>2015-07-11T14:16:17+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-07-09T21:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=bdc59cf233433ddd2cd671db02bd6b52323ce63d'/>
<id>urn:sha1:bdc59cf233433ddd2cd671db02bd6b52323ce63d</id>
<content type='text'>
If a process reopens the file before we can send off the CLOSE/DELEGRETURN,
then pnfs_roc_drain() may end up waiting for a new set of layout segments
that are marked as return-on-close, but haven't yet been returned.

Fix this by only waiting for those layout segments that were invalidated in
pnfs_roc().

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS: Fix races between return-on-close and layoutreturn.</title>
<updated>2015-07-11T14:16:16+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-07-09T16:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e'/>
<id>urn:sha1:7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e</id>
<content type='text'>
If one or more of the layout segments reports an error during I/O, then
we may have to send a layoutreturn to report the error back to the NFS
metadata server.
This patch ensures that the return-on-close code can detect the
outstanding layoutreturn, and not preempt it.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>pNFS: pnfs_roc_drain should return 'true' when sleeping</title>
<updated>2015-07-11T14:16:16+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-07-09T21:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=df9cecc1a36d70ec09d34e83bad452064754fdc4'/>
<id>urn:sha1:df9cecc1a36d70ec09d34e83bad452064754fdc4</id>
<content type='text'>
Also clean up the case where we don't find a return-on-close layout segment.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.2: LAYOUTSTATS is optional to implement</title>
<updated>2015-06-27T15:48:58+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-06-27T15:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=6c5a0d891543873aefc3aaf846c1e7afe0982ff9'/>
<id>urn:sha1:6c5a0d891543873aefc3aaf846c1e7afe0982ff9</id>
<content type='text'>
Make it so, by checking the return value for NFS4ERR_MOTSUPP and
caching the information as a server capability.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>nfs: provide pnfs_report_layoutstat when NFS42 is disabled</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-25T10:19:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=865a7ecb2131a3ba26cc1d49daf18275375109f0'/>
<id>urn:sha1:865a7ecb2131a3ba26cc1d49daf18275375109f0</id>
<content type='text'>
kbuild test robot reported:
   fs/built-in.o: In function `pnfs_report_layoutstat':
&gt;&gt; (.text+0x151a1c): undefined reference to `nfs42_proc_layoutstats_generic'

Reported-by: kbuild test robot &lt;fengguang.wu@intel.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>nfs42: serialize LAYOUTSTATS calls of the same file</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:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1bfe3b259ff2e579b2acb190f874397d53274497'/>
<id>urn:sha1:1bfe3b259ff2e579b2acb190f874397d53274497</id>
<content type='text'>
There is no need to report concurrently.

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: add pnfs_report_layoutstat helper function</title>
<updated>2015-06-24T14:17:37+00:00</updated>
<author>
<name>Peng Tao</name>
<email>tao.peng@primarydata.com</email>
</author>
<published>2015-06-23T11:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8733408d6ed713d080c325262d7b51a780136d41'/>
<id>urn:sha1:8733408d6ed713d080c325262d7b51a780136d41</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>NFS: Ensure we set NFS_CONTEXT_RESEND_WRITES when requeuing writes</title>
<updated>2015-06-18T00:00:42+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@primarydata.com</email>
</author>
<published>2015-06-17T23:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c70701131f7a8edea91fc49d11796d342cff7c62'/>
<id>urn:sha1:c70701131f7a8edea91fc49d11796d342cff7c62</id>
<content type='text'>
If a write attempt fails, and the write is queued up for resending to
the server, as opposed to being dropped, then we need to set the
appropriate flag so that nfs_file_fsync() does the right thing.

Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
</feed>
