diff options
author | David Howells | 2022-05-27 13:45:28 +0100 |
---|---|---|
committer | David Howells | 2023-12-28 09:45:19 +0000 |
commit | 768ddb1eacf5dd997ecf393e7bab9796bad047e0 (patch) | |
tree | 95eca7d52ed1166adc05c97b0ecf3862d3172a43 /include/trace | |
parent | cae932d3aee55035a54415dcea8e7ecf2ec469b5 (diff) |
netfs: Limit subrequest by size or number of segments
Limit a subrequest to a maximum size and/or a maximum number of contiguous
physical regions. This permits, for instance, an subreq's iterator to be
limited to the number of DMA'able segments that a large RDMA request can
handle.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/netfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/netfs.h b/include/trace/events/netfs.h index beec534cbaab..fce6d0bc78e5 100644 --- a/include/trace/events/netfs.h +++ b/include/trace/events/netfs.h @@ -44,6 +44,7 @@ #define netfs_sreq_traces \ EM(netfs_sreq_trace_download_instead, "RDOWN") \ EM(netfs_sreq_trace_free, "FREE ") \ + EM(netfs_sreq_trace_limited, "LIMIT") \ EM(netfs_sreq_trace_prepare, "PREP ") \ EM(netfs_sreq_trace_resubmit_short, "SHORT") \ EM(netfs_sreq_trace_submit, "SUBMT") \ |