Re: [RFC PATCH] NFSD: Use vfs_iocb_iter_read()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 12, 2025 at 08:36:53PM -0400, Chuck Lever wrote:
> From: Chuck Lever <chuck.lever@xxxxxxxxxx>
> 
> Refactor: Enable the use of RWF_ flags to control individual I/O
> operations.

The IOCB_ ones, really.

> +	host_err = kiocb_set_rw_flags(&kiocb, 0, READ);
> +	if (host_err) {
> +		*count = 0;
> +		goto out;
> +	}

And if you don't want to explicitly convert from RWF_* flags, this
is pointless.  Just drop it for now and explicitly set the IOCB_
flags we want once we add some.





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux