Re: [PATCH v2 3/6] virtiofs: factor out more common methods for argbuf

2024-03-08 Thread Hou Tao
Hi, On 3/1/2024 10:24 PM, Miklos Szeredi wrote: > On Wed, 28 Feb 2024 at 15:41, Hou Tao wrote: >> From: Hou Tao >> >> Factor out more common methods for bounce buffer of fuse args: >> >> 1) virtio_fs_argbuf_setup_sg: set-up sgs for bounce buffer >> 2) virtio_fs_argbuf_copy_from_in_arg: copy

Re: [PATCH v2 3/6] virtiofs: factor out more common methods for argbuf

2024-03-01 Thread Miklos Szeredi
On Wed, 28 Feb 2024 at 15:41, Hou Tao wrote: > > From: Hou Tao > > Factor out more common methods for bounce buffer of fuse args: > > 1) virtio_fs_argbuf_setup_sg: set-up sgs for bounce buffer > 2) virtio_fs_argbuf_copy_from_in_arg: copy each in-arg to bounce buffer > 3)

[PATCH v2 3/6] virtiofs: factor out more common methods for argbuf

2024-02-28 Thread Hou Tao
From: Hou Tao Factor out more common methods for bounce buffer of fuse args: 1) virtio_fs_argbuf_setup_sg: set-up sgs for bounce buffer 2) virtio_fs_argbuf_copy_from_in_arg: copy each in-arg to bounce buffer 3) virtio_fs_argbuf_out_args_offset: calc the start offset of out-arg 4)