<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/filelayout, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-05-21T12:34:15Z</updated>
<entry>
<title>pNFS: rework pnfs_generic_pg_check_layout to check IO range</title>
<updated>2024-05-21T12:34:15Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2024-05-10T19:07:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a01b077a8743b2ed329c587cf4bbe49682da243f'/>
<id>urn:sha1:a01b077a8743b2ed329c587cf4bbe49682da243f</id>
<content type='text'>
All callers of pnfs_generic_pg_check_layout() also want to do a call to
check that the layout's range covers the IO range. Merge the functionality
of the pnfs_generic_pg_check_range() into that of
pnfs_generic_pg_check_layout().

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Reviewed-by: Benjamin Coddington &lt;bcodding@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: check layout segment range</title>
<updated>2024-05-21T12:34:15Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2024-05-07T19:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=523412b904c4ad2e9649d536bde0e6c75c88638b'/>
<id>urn:sha1:523412b904c4ad2e9649d536bde0e6c75c88638b</id>
<content type='text'>
Before doing the IO, check that we have the layout covering the range of
IO.

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Reviewed-by: Benjamin Coddington &lt;bcodding@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: fixup pNfs allocation modes</title>
<updated>2024-05-21T12:34:15Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2024-05-07T15:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ebcb24646f8c5bfad2866892d3f3cff05514452'/>
<id>urn:sha1:3ebcb24646f8c5bfad2866892d3f3cff05514452</id>
<content type='text'>
Change left over allocation flags.

Fixes: a245832aaa99 ("pNFS/files: Ensure pNFS allocation modes are consistent with nfsiod")
Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Reviewed-by: Benjamin Coddington &lt;bcodding@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: Specify the layout segment range in LAYOUTGET</title>
<updated>2024-05-20T15:06:18Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2024-03-20T21:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=464b424fb09b894f792a494f10539c190db503cf'/>
<id>urn:sha1:464b424fb09b894f792a494f10539c190db503cf</id>
<content type='text'>
Move from only requesting full file layout segments to requesting layout
segments that match our I/O size. This means the server is still free to
return a full file layout if it wants, but partial layouts will no
longer cause an error.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: Remove the whole file layout requirement</title>
<updated>2024-05-20T15:06:04Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2024-03-20T21:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c75576e3bbf0153e92ab51ff161962d8632c290'/>
<id>urn:sha1:9c75576e3bbf0153e92ab51ff161962d8632c290</id>
<content type='text'>
Layout segments have been supported in pNFS for years, so remove the
requirement that the server always sends whole file layouts.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pnfs/filelayout: add tracepoint to getdeviceinfo</title>
<updated>2024-02-28T21:18:19Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2024-01-26T18:04:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47f7c956327ff4ff4ddf1305e8571ce530157091'/>
<id>urn:sha1:47f7c956327ff4ff4ddf1305e8571ce530157091</id>
<content type='text'>
While decoding filelayout getdeviceinfo received, print out the
information about the location of data servers (IPs).

Generic getdeviceinfo tracepoints prints the MDS's ip for the
dstaddr. In this patch, separate the MDS's address from the
DS's addresses.

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>nfs41: Annotate struct nfs4_file_layout_dsaddr with __counted_by</title>
<updated>2023-10-02T16:48:53Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2023-09-15T20:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0c64aac4916a2592bd174547b279a408368dd31'/>
<id>urn:sha1:c0c64aac4916a2592bd174547b279a408368dd31</id>
<content type='text'>
Prepare for the coming implementation by GCC and Clang of the __counted_by
attribute. Flexible array members annotated with __counted_by can have
their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
functions).

As found with Coccinelle[1], add __counted_by for struct nfs4_file_layout_dsaddr.

[1] https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci

Cc: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
Cc: Anna Schumaker &lt;anna@kernel.org&gt;
Cc: "Gustavo A. R. Silva" &lt;gustavoars@kernel.org&gt;
Cc: linux-nfs@vger.kernel.org
Link: https://lore.kernel.org/r/20230915201427.never.771-kees@kernel.org
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: treat GETDEVICEINFO errors as layout failure</title>
<updated>2023-02-15T16:07:54Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2023-01-20T18:40:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28d4411fc3b58d7ef2cd00060c068a5d90ee9700'/>
<id>urn:sha1:28d4411fc3b58d7ef2cd00060c068a5d90ee9700</id>
<content type='text'>
When GETDEVICEINFO call fails, return the layout and fall back to MDS.

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
</content>
</entry>
<entry>
<title>pNFS/filelayout: Fix coalescing test for single DS</title>
<updated>2022-12-20T17:52:39Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2022-12-20T17:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6b9d2fa0024e7e399c26facd0fb466b7396e2b9'/>
<id>urn:sha1:a6b9d2fa0024e7e399c26facd0fb466b7396e2b9</id>
<content type='text'>
When there is a single DS no striping constraints need to be placed on
the IO. When such constraint is applied then buffered reads don't
coalesce to the DS's rsize.

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>pNFS/files: Handle RDMA connection errors correctly</title>
<updated>2022-07-10T23:00:53Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2022-05-18T21:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=431794e67e238e6fd170499a14fd2abf0a16b5bd'/>
<id>urn:sha1:431794e67e238e6fd170499a14fd2abf0a16b5bd</id>
<content type='text'>
The RPC/RDMA driver will return -EPROTO and -ENODEV as connection errors
under certain circumstances. Make sure that we handle them correctly and
avoid cycling forever in a LAYOUTGET/LAYOUTRETURN loop.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
</feed>
