diff options
| author | 2026-08-14 14:32:53 +0000 | |
|---|---|---|
| committer | 2026-10-05 09:46:39 -0400 | |
| commit | 43280750bc5aa691d0afe4d68bdae87b75d3ac58 (patch) | |
| tree | d1a9823a81b6ff500df0f5ea788d78b64b62d380 /scripts/Makefile.thinlto | |
| parent | nfs: track number of pinned pages in nfs_page (diff) | |
nfs: introduce nfs_release_request_list helper
Introduce a centralized helper, nfs_release_request_list, to handle
the bulk release of nfs_page requests from a list.
This serves as a preparatory step for two upcoming improvements:
1. Pin-Aware Cleanup: As we migrate to iov_iter_extract_* API,
requests will hold pins (GUP) instead of standard references. The
helper ensures that the correct unpinning logic gets applied
consistently across all requests in a list.
2. Folio Support: In subsequent patches where nfs_page structures
will cover multi-page folios, this helper provides a clean
infrastructure to unlock these larger units of I/O in bulk during
completion, similar to the pattern in bio_release_pages.
Additionally, refactor nfs_read_sync_pgio_error() to utilize this new
helper.
Signed-off-by: Pranjal Shrivastava <praan@google.com>
Reviewed-by: Shivaji Kant <shivajikant@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
