Chuck Lever c21fd7a8e8 NFSD: Replace RQ_SPLICE_OK in nfsd_read()
RQ_SPLICE_OK is a bit of a layering violation. Also, a subsequent
patch is going to provide a mechanism for always disabling splice
reads.

Splicing is an issue only for NFS READs, so refactor nfsd_read() to
check the auth type directly instead of relying on an rq_flag
setting.

The new helper will be added into the NFSv4 read path in a
subsequent patch.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2024-01-07 17:54:25 -05:00
..
2023-11-07 12:11:26 -08:00
2021-10-02 15:51:10 -04:00
2023-10-16 12:44:09 -04:00
2023-10-16 12:44:09 -04:00
2023-10-16 12:44:09 -04:00
2023-02-22 14:21:40 -08:00
2023-02-22 14:21:40 -08:00
2023-10-30 10:12:29 -10:00
2023-10-30 10:12:29 -10:00
2023-12-20 11:16:50 -08:00
2024-01-04 22:52:27 -05:00
2023-10-16 12:44:14 -04:00
2023-10-16 12:44:14 -04:00
2024-01-07 17:54:25 -05:00