<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/fs/nfs/nfstrace.h, branch master</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master</id>
<link rel='self' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2026-09-07T13:49:19+00:00</updated>
<entry>
<title>Merge branch 'headers' of git://git.infradead.org/users/willy/pagecache.git</title>
<updated>2026-09-07T13:49:19+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2026-09-07T13:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=317c288c0c89d1cfdb3572251b36f28012911428'/>
<id>urn:sha1:317c288c0c89d1cfdb3572251b36f28012911428</id>
<content type='text'>
# Conflicts:
#	net/ceph/osd_client.c
</content>
</entry>
<entry>
<title>nfs: Remove pagemap.h from includes</title>
<updated>2026-08-25T19:12:27+00:00</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
<email>willy@infradead.org</email>
</author>
<published>2026-08-14T03:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=5d5e31b22113083f63f829896512ebe580e39bdf'/>
<id>urn:sha1:5d5e31b22113083f63f829896512ebe580e39bdf</id>
<content type='text'>
These two header files don't use anything from pagemap.h.  Some files
were depending on it being included, so add it directly to those files.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>nfs4.2: add UNCACHEABLE_FILE_DATA attribute support</title>
<updated>2026-08-17T16:02:07+00:00</updated>
<author>
<name>Tom Haynes</name>
<email>loghyr@hammerspace.com</email>
</author>
<published>2026-07-27T21:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=86ff1842795b3e51f526460b1d701d48fdee49b8'/>
<id>urn:sha1:86ff1842795b3e51f526460b1d701d48fdee49b8</id>
<content type='text'>
Recognize the NFSv4.2 per-file UNCACHEABLE_FILE_DATA attribute (attr 87,
draft-ietf-nfsv4-uncacheable-files): decode it via GETATTR, track per-
exported-filesystem support, and record on the inode whether a regular
file's data must not be cached.  Acting on the attribute (opening such
files O_DIRECT) is done by a subsequent change.

If the NFSv4 server reports a regular file's UNCACHEABLE_FILE_DATA as
true, it indicates the file's data must not be cached; the client records
this in NFS_I(inode)-&gt;uncacheable_file_data for use by the I/O paths.

The UNCACHEABLE_FILE_DATA attribute applies only to regular files
(NF4REG); per the draft a server MUST reject a query of it on any other
object type with NFS4ERR_INVAL.  A subsequent commit gates the client
accordingly.

Link: https://datatracker.ietf.org/doc/draft-ietf-nfsv4-uncacheable-files/

Signed-off-by: Tom Haynes &lt;loghyr@hammerspace.com&gt;
[snitzer: adapt Tom's original code focused on metadata for ABE]
Co-developed-by: Mike Snitzer &lt;snitzer@hammerspace.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@hammerspace.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>nfs: replace NFS_FILEID() and nfsi-&gt;fileid with inode-&gt;i_ino</title>
<updated>2026-06-08T14:21:54+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@kernel.org</email>
</author>
<published>2026-05-12T16:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2026c8a96afe6e5783497860c4af0a0e1a53991b'/>
<id>urn:sha1:2026c8a96afe6e5783497860c4af0a0e1a53991b</id>
<content type='text'>
Now that inode-&gt;i_ino stores the full 64-bit NFS fileid, replace all
uses of NFS_FILEID(), set_nfs_fileid(), and direct nfsi-&gt;fileid
accesses with inode-&gt;i_ino throughout the NFS client.

Remove the NFS_FILEID() and set_nfs_fileid() helper functions from
include/linux/nfs_fs.h since they are no longer needed.

Also fix two pre-existing truncation bugs in nfs4trace.h where fileid
trace fields were declared as u32 instead of u64.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: remove redundant __private attribute from nfs_page_class</title>
<updated>2026-04-22T12:53:23+00:00</updated>
<author>
<name>Sean Chang</name>
<email>seanwascoding@gmail.com</email>
</author>
<published>2026-04-19T16:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e8a44ae87b553b0851a20bebf3d2634a45c5e316'/>
<id>urn:sha1:e8a44ae87b553b0851a20bebf3d2634a45c5e316</id>
<content type='text'>
The nfs_page_class tracepoint uses a pointer for the 'req' field marked
with the __private attribute. This causes Sparse to complain about
dereferencing a private pointer within the trace ring buffer context,
specifically during the TP_fast_assign() operation.

This fixes a Sparse warning introduced in commit b6ef079fd984 ("nfs:
more in-depth tracing of writepage events") by removing the redundant
__private attribute from the 'req' field.

Reviewed-by: Benjamin Coddington &lt;bcodding@hammerspace.com&gt;
Signed-off-by: Sean Chang &lt;seanwascoding@gmail.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix a deadlock involving nfs_release_folio()</title>
<updated>2026-01-05T04:03:24+00:00</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@hammerspace.com</email>
</author>
<published>2025-12-31T16:42:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cce0be6eb4971456b703aaeafd571650d314bcca'/>
<id>urn:sha1:cce0be6eb4971456b703aaeafd571650d314bcca</id>
<content type='text'>
Wang Zhaolong reports a deadlock involving NFSv4.1 state recovery
waiting on kthreadd, which is attempting to reclaim memory by calling
nfs_release_folio(). The latter cannot make progress due to state
recovery being needed.

It seems that the only safe thing to do here is to kick off a writeback
of the folio, without waiting for completion, or else kicking off an
asynchronous commit.

Reported-by: Wang Zhaolong &lt;wangzhaolong@huaweicloud.com&gt;
Fixes: 96780ca55e3c ("NFS: fix up nfs_release_folio() to try to release the page")
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>nfs/localio: add tracepoints for misaligned DIO READ and WRITE support</title>
<updated>2025-09-30T20:10:30+00:00</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@kernel.org</email>
</author>
<published>2025-09-19T14:36:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cda94457c224915845b1d209ff71cad3c61ce194'/>
<id>urn:sha1:cda94457c224915845b1d209ff71cad3c61ce194</id>
<content type='text'>
Add nfs_local_dio_class and use it to create nfs_local_dio_read,
nfs_local_dio_write and nfs_local_dio_misaligned trace events.

These trace events show how NFS LOCALIO splits a given misaligned
IO into a mix of misaligned head and/or tail extents and a DIO-aligned
middle extent.  The misaligned head and/or tail extents are issued
using buffered IO and the DIO-aligned middle is issued using O_DIRECT.

This combination of trace events is useful for LOCALIO DIO READs:

  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_local_dio_read/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_local_dio_misaligned/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_initiate_read/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_readpage_done/enable
  echo 1 &gt; /sys/kernel/tracing/events/xfs/xfs_file_direct_read/enable

This combination of trace events is useful for LOCALIO DIO WRITEs:

  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_local_dio_write/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_local_dio_misaligned/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_initiate_write/enable
  echo 1 &gt; /sys/kernel/tracing/events/nfs/nfs_writeback_done/enable
  echo 1 &gt; /sys/kernel/tracing/events/xfs/xfs_file_direct_write/enable

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@oracle.com&gt;
</content>
</entry>
<entry>
<title>nfs/localio: make trace_nfs_local_open_fh more useful</title>
<updated>2025-09-30T20:10:29+00:00</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@kernel.org</email>
</author>
<published>2025-09-19T14:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fd6d93c2b79ded0a447502ce5c8a9a549c697819'/>
<id>urn:sha1:fd6d93c2b79ded0a447502ce5c8a9a549c697819</id>
<content type='text'>
Always trigger trace event when LOCALIO opens a file.

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@oracle.com&gt;
</content>
</entry>
<entry>
<title>nfs: cleanup tracepoint declarations</title>
<updated>2025-09-23T17:28:19+00:00</updated>
<author>
<name>Leo Martins</name>
<email>loemra.dev@gmail.com</email>
</author>
<published>2025-08-21T22:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=64dd8022245038109826c0e2a778f16618d88600'/>
<id>urn:sha1:64dd8022245038109826c0e2a778f16618d88600</id>
<content type='text'>
Cleanup tracepoint declarations by replacing commas with
semicolons to better match other tracepoint declarations.

No functional changes introduced.

Signed-off-by: Leo Martins &lt;loemra.dev@gmail.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@oracle.com&gt;
</content>
</entry>
<entry>
<title>nfs: add tracepoints to nfs_writepages()</title>
<updated>2025-09-23T17:28:19+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@kernel.org</email>
</author>
<published>2025-08-08T11:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=83c47ef8aca0dc5e2159e884b2bfd3440948eed1'/>
<id>urn:sha1:83c47ef8aca0dc5e2159e884b2bfd3440948eed1</id>
<content type='text'>
Show the inode info and requested range.

Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Reviewed-by: Benjamin Coddington &lt;bcodding@redhat.com&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@oracle.com&gt;
</content>
</entry>
</feed>
