From: sashiko-bot@kernel.org
To: "Miklos Szeredi" <mszeredi@redhat.com>
Cc: linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev
Subject: Re: [PATCH v4 6/9] fuse: add support for opening dax device as backing
Date: Thu, 08 Oct 2026 11:34:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-164094@kernel.org> (raw)
In-Reply-To: <20261008112004.1899560-7-mszeredi@redhat.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] kconfig: FUSE_FS=y and DEV_DAX_FSDEV=m causes undefined reference to fsdev_dax_from_file
--
commit 0e6c3b76d8791b10c41a202ee1e4d5b108cb9e7d
Author: Miklos Szeredi <mszeredi@redhat.com>
fuse: add support for opening dax device as backing
This commit adds support for opening a dax device as a FUSE passthrough
backing file, enabling S_DAX on inodes when requested. It also updates
the cleanup sequence by moving fuse_backing_put() to fuse_evict_inode()
to avoid sleeping in atomic context.
> diff --git a/fs/fuse/backing.c b/fs/fuse/backing.c
> index 15132150535a5..9ded41a94fcc6 100644
> --- a/fs/fuse/backing.c
> +++ b/fs/fuse/backing.c
[ ... ]
> +static int fuse_backing_open_file(struct fuse_conn *fc, struct fuse_backing *fb, struct file *file)
> +{
> + struct inode *inode = file_inode(file);
> + struct dax_device *daxdev;
> + int err;
> +
> + switch (inode->i_mode & S_IFMT) {
[ ... ]
> + case S_IFCHR:
> + if (!fc->passthrough || !fc->backing_id_64)
> + return -EINVAL;
> +
> + if (!IS_ENABLED(CONFIG_DEV_DAX_FSDEV))
> + return -EINVAL;
> +
> + daxdev = fsdev_dax_from_file(file);
[Severity: Low]
If FUSE_FS is built-in (y) and DEV_DAX_FSDEV is compiled as a loadable module
(m), will IS_ENABLED(CONFIG_DEV_DAX_FSDEV) evaluate to true here? Since this
code is built into vmlinux, wouldn't statically referencing the
fsdev_dax_from_file() symbol from the fsdev_dax.ko loadable module cause an
undefined reference linker error during the kernel build?
Could this use IS_REACHABLE(CONFIG_DEV_DAX_FSDEV) instead to prevent the build
failure?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261008112004.1899560-1-mszeredi@redhat.com?part=6
next prev parent reply other threads:[~2026-10-08 11:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 11:19 [PATCH v4 0/9] fuse: DAX device based extent maps (famfs) Miklos Szeredi
2026-10-08 11:19 ` [PATCH v4 1/9] dax: add fsdev_dax_from_file() Miklos Szeredi
2026-10-08 11:34 ` sashiko-bot
2026-10-08 11:19 ` [PATCH v4 2/9] dax: use READ_ONCE() in dax_holder() Miklos Szeredi
2026-10-08 11:32 ` sashiko-bot
2026-10-08 13:20 ` Gregory Price
2026-10-08 11:19 ` [PATCH v4 3/9] fuse: add helpers for EIO return value with kernel message Miklos Szeredi
2026-10-08 11:19 ` [PATCH v4 4/9] fuse: support 64 bit, server allocated backing ID Miklos Szeredi
2026-10-09 7:36 ` Amir Goldstein
2026-10-08 11:19 ` [PATCH v4 5/9] fuse: support opening 64 bit " Miklos Szeredi
2026-10-08 11:19 ` [PATCH v4 6/9] fuse: add support for opening dax device as backing Miklos Szeredi
2026-10-08 11:34 ` sashiko-bot [this message]
2026-10-08 11:19 ` [PATCH v4 7/9] fuse: add extent map data structure Miklos Szeredi
2026-10-08 11:19 ` [PATCH v4 8/9] fuse: add extent map I/O support Miklos Szeredi
2026-10-08 11:36 ` sashiko-bot
2026-10-08 11:20 ` [PATCH v4 9/9] fuse: add support for striped backing Miklos Szeredi
2026-10-11 22:32 ` [PATCH v4 0/9] fuse: resolve extent maps in O(1) when possible John Groves
2026-10-11 22:34 ` [PATCH 1/1] " John Groves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-164094@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-cxl@vger.kernel.org \
--cc=mszeredi@redhat.com \
--cc=nvdimm@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.