* Re: [PATCH v1 2/2] fuse: support io-uring registered buffers
[not found] <20251022202021.3649586-3-joannelkoong@gmail.com>
@ 2025-10-23 13:22 ` kernel test robot
2025-10-23 17:42 ` Joanne Koong
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-10-23 13:22 UTC (permalink / raw)
To: Joanne Koong, miklos, axboe
Cc: llvm, oe-kbuild-all, linux-fsdevel, bschubert, asml.silence,
io-uring, xiaobing.li
Hi Joanne,
kernel test robot noticed the following build errors:
[auto build test ERROR on mszeredi-fuse/for-next]
[also build test ERROR on linus/master v6.18-rc2 next-20251023]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Joanne-Koong/io-uring-add-io_uring_cmd_get_buffer_info/20251023-042601
base: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next
patch link: https://lore.kernel.org/r/20251022202021.3649586-3-joannelkoong%40gmail.com
patch subject: [PATCH v1 2/2] fuse: support io-uring registered buffers
config: i386-buildonly-randconfig-002-20251023 (https://download.01.org/0day-ci/archive/20251023/202510232038.LOpSOOQa-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251023/202510232038.LOpSOOQa-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510232038.LOpSOOQa-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/fuse/dev.c:9:
>> fs/fuse/dev_uring_i.h:51:20: error: field has incomplete type 'struct iov_iter'
51 | struct iov_iter payload_iter;
| ^
include/linux/fs.h:74:8: note: forward declaration of 'struct iov_iter'
74 | struct iov_iter;
| ^
In file included from fs/fuse/dev.c:9:
fs/fuse/dev_uring_i.h:52:20: error: field has incomplete type 'struct iov_iter'
52 | struct iov_iter headers_iter;
| ^
include/linux/fs.h:74:8: note: forward declaration of 'struct iov_iter'
74 | struct iov_iter;
| ^
2 errors generated.
--
In file included from fs/fuse/dev_uring.c:8:
>> fs/fuse/dev_uring_i.h:51:20: error: field has incomplete type 'struct iov_iter'
51 | struct iov_iter payload_iter;
| ^
include/linux/fs.h:74:8: note: forward declaration of 'struct iov_iter'
74 | struct iov_iter;
| ^
In file included from fs/fuse/dev_uring.c:8:
fs/fuse/dev_uring_i.h:52:20: error: field has incomplete type 'struct iov_iter'
52 | struct iov_iter headers_iter;
| ^
include/linux/fs.h:74:8: note: forward declaration of 'struct iov_iter'
74 | struct iov_iter;
| ^
>> fs/fuse/dev_uring.c:588:22: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
588 | payload_iter = ent->fixed_buffer.payload_iter;
| ~~~ ^
fs/fuse/dev_uring.c:590:22: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
590 | headers_iter = ent->fixed_buffer.headers_iter;
| ~~~ ^
>> fs/fuse/dev_uring.c:618:43: error: no member named 'user' in 'struct fuse_ring_ent'
618 | err = copy_from_user(&ring_in_out, &ent->user.headers->ring_ent_in_out,
| ~~~ ^
fs/fuse/dev_uring.c:623:38: error: no member named 'user' in 'struct fuse_ring_ent'
623 | err = import_ubuf(ITER_SOURCE, ent->user.payload, ring->max_payload_sz,
| ~~~ ^
fs/fuse/dev_uring.c:653:22: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
653 | payload_iter = ent->fixed_buffer.payload_iter;
| ~~~ ^
fs/fuse/dev_uring.c:656:22: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
656 | headers_iter = ent->fixed_buffer.headers_iter;
| ~~~ ^
fs/fuse/dev_uring.c:725:36: error: no member named 'user' in 'struct fuse_ring_ent'
725 | err = import_ubuf(ITER_DEST, ent->user.payload, ring->max_payload_sz, &iter);
| ~~~ ^
fs/fuse/dev_uring.c:741:29: error: no member named 'user' in 'struct fuse_ring_ent'
741 | err = copy_to_user(&ent->user.headers->op_in, in_args->value,
| ~~~ ^
fs/fuse/dev_uring.c:762:27: error: no member named 'user' in 'struct fuse_ring_ent'
762 | err = copy_to_user(&ent->user.headers->ring_ent_in_out, &ent_in_out,
| ~~~ ^
fs/fuse/dev_uring.c:797:39: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
797 | struct iov_iter headers_iter = ent->fixed_buffer.headers_iter;
| ~~~ ^
fs/fuse/dev_uring.c:807:28: error: no member named 'user' in 'struct fuse_ring_ent'
807 | err = copy_to_user(&ent->user.headers->in_out, &req->in.h,
| ~~~ ^
fs/fuse/dev_uring.c:936:39: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
936 | struct iov_iter headers_iter = ent->fixed_buffer.headers_iter;
| ~~~ ^
fs/fuse/dev_uring.c:944:43: error: no member named 'user' in 'struct fuse_ring_ent'
944 | err = copy_from_user(&req->out.h, &ent->user.headers->in_out,
| ~~~ ^
fs/fuse/dev_uring.c:1187:12: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
1187 | &ent->fixed_buffer.payload_iter, cmd, 0);
| ~~~ ^
fs/fuse/dev_uring.c:1194:12: error: no member named 'fixed_buffer' in 'struct fuse_ring_ent'
1194 | &ent->fixed_buffer.headers_iter, cmd, 0);
| ~~~ ^
fs/fuse/dev_uring.c:1245:7: error: no member named 'user' in 'struct fuse_ring_ent'
1245 | ent->user.headers = iov[0].iov_base;
| ~~~ ^
fs/fuse/dev_uring.c:1246:7: error: no member named 'user' in 'struct fuse_ring_ent'
1246 | ent->user.payload = iov[1].iov_base;
| ~~~ ^
19 errors generated.
vim +51 fs/fuse/dev_uring_i.h
38
39 /** A fuse ring entry, part of the ring queue */
40 struct fuse_ring_ent {
41 /* True if daemon has registered its buffers ahead of time */
42 bool is_fixed_buffer;
43 union {
44 /* userspace buffer */
45 struct {
46 struct fuse_uring_req_header __user *headers;
47 void __user *payload;
48 } user;
49
50 struct {
> 51 struct iov_iter payload_iter;
52 struct iov_iter headers_iter;
53 } fixed_buffer;
54 };
55
56 /* the ring queue that owns the request */
57 struct fuse_ring_queue *queue;
58
59 /* fields below are protected by queue->lock */
60
61 struct io_uring_cmd *cmd;
62
63 struct list_head list;
64
65 enum fuse_ring_req_state state;
66
67 struct fuse_req *fuse_req;
68 };
69
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1 2/2] fuse: support io-uring registered buffers
2025-10-23 13:22 ` [PATCH v1 2/2] fuse: support io-uring registered buffers kernel test robot
@ 2025-10-23 17:42 ` Joanne Koong
0 siblings, 0 replies; 2+ messages in thread
From: Joanne Koong @ 2025-10-23 17:42 UTC (permalink / raw)
To: kernel test robot
Cc: miklos, axboe, llvm, oe-kbuild-all, linux-fsdevel, bschubert,
asml.silence, io-uring, xiaobing.li
On Thu, Oct 23, 2025 at 6:23 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Joanne,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on mszeredi-fuse/for-next]
> [also build test ERROR on linus/master v6.18-rc2 next-20251023]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Joanne-Koong/io-uring-add-io_uring_cmd_get_buffer_info/20251023-042601
> base: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next
> patch link: https://lore.kernel.org/r/20251022202021.3649586-3-joannelkoong%40gmail.com
> patch subject: [PATCH v1 2/2] fuse: support io-uring registered buffers
> config: i386-buildonly-randconfig-002-20251023 (https://download.01.org/0day-ci/archive/20251023/202510232038.LOpSOOQa-lkp@intel.com/config)
> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251023/202510232038.LOpSOOQa-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202510232038.LOpSOOQa-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> In file included from fs/fuse/dev.c:9:
> >> fs/fuse/dev_uring_i.h:51:20: error: field has incomplete type 'struct iov_iter'
> 51 | struct iov_iter payload_iter;
> | ^
> include/linux/fs.h:74:8: note: forward declaration of 'struct iov_iter'
> 74 | struct iov_iter;
> | ^
> In file included from fs/fuse/dev.c:9:
> fs/fuse/dev_uring_i.h:52:20: error: field has incomplete type 'struct iov_iter'
> 52 | struct iov_iter headers_iter;
Ahh okay, I tried building with the linked config
(i386-buildonly-randconfig-002-20251023) and it indeed fails :(
It needs a "#include <linux/uio.h>" added to the dev_uring_i.h file.
I'll add that in for v2.
Thanks,
Joanne
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-23 17:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20251022202021.3649586-3-joannelkoong@gmail.com>
2025-10-23 13:22 ` [PATCH v1 2/2] fuse: support io-uring registered buffers kernel test robot
2025-10-23 17:42 ` Joanne Koong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox