Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2018 05:02:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230260] [FUSE] [PERFORMANCE]: Performance issue (I/O block size)
Message-ID:  <bug-230260-227-0atcPQulsb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230260-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230260-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230260

--- Comment #5 from Conrad Meyer <cem@freebsd.org> ---
If you're able, please try this patch and report if the performance is
improved:

--- a/sys/fs/fuse/fuse_vfsops.c
+++ b/sys/fs/fuse/fuse_vfsops.c
@@ -341,7 +341,7 @@ fuse_vfsop_mount(struct mount *mp)
        mp->mnt_kern_flag |=3D MNTK_USES_BCACHE;
        MNT_IUNLOCK(mp);
        /* We need this here as this slot is used by getnewvnode() */
-       mp->mnt_stat.f_iosize =3D PAGE_SIZE;
+       mp->mnt_stat.f_iosize =3D DFLTPHYS;
        if (subtype) {
                strlcat(mp->mnt_stat.f_fstypename, ".", MFSNAMELEN);
                strlcat(mp->mnt_stat.f_fstypename, subtype, MFSNAMELEN);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230260-227-0atcPQulsb>