From nobody Tue Apr 25 15:55:33 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q5RRV0lnDz47MFq for ; Tue, 25 Apr 2023 15:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5RRT5w2Tz3nF6 for ; Tue, 25 Apr 2023 15:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682438133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cjj61Sl7j+/MnfnmUf5PWY3J+BSoHcMDSpvGtiFxCQ0=; b=OS/pqr8Ht02V319g3og9dywwjQUjnKPyvTJJB6vtSivzEINFPyUhTsrQ6Y9qbW7CXcoGfx TrUwYfibc7kGZvsX4Wgcp0ULLQWaM1ksox0XOdunxBFpTB8XyNCc3yXyHIwbtipHJPcrpG wGQlyAR0IRf//LlusZo7keNBb0RIXq1SkPW2JNGP0IxyZuGxZgASwzp56q6RlB09MdFJBd v3Es+/pbb0WAFh6lD92fJEeAb/dLR9iHhxtSgWa2Yl4odsG1XPe8OYiIhSZXUmeeDjWKvD 8R+BX2D/R3/XCI8D95JQxe9M8XpGo+h0ZQUQ3Ep3u9K65qkX3Yx9DIJ3OyclTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682438133; a=rsa-sha256; cv=none; b=vw9E6nukhKs2dKzwX5X9DlTu5IxqYqpVFLfLP5kyck+Vpyow6LVj3NMj+QEAcW2GWyppjx Wc5xZivbzSz8xfjz0fj5dhAI34jqT811Pkr9yBLn32/ZQxzsWrYwGxqjDKjcFgMyWwaVq3 raZMYWewhORrlVyBnYUV3pvY7lJqjGnC/rADjZcprNb0Ei8dRPIr7ltoGu0uk5ChVLAqNz taWV4gfVT37PG7xXxGeD1/w+Wy7fNX23Wkvc+o2pxAZlV92z7QLaTSj8XbOSCe/4ee+8dM +cvAmZP4rixIVJnPkj2QmdULZzfSQtU+GVmIGxdO6f9YxMSrOtep7YJAoluc9w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q5RRT50PYz1CrZ for ; Tue, 25 Apr 2023 15:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33PFtXX6079247 for ; Tue, 25 Apr 2023 15:55:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33PFtXwu079246 for bugs@FreeBSD.org; Tue, 25 Apr 2023 15:55:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271065] Kernel FUSE limits read() size by 64k/128k Date: Tue, 25 Apr 2023 15:55:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271065 --- Comment #2 from Ivan Rozhuk --- There is no special user space program, this sshfs share used as usual disk share for home pc. mpv, thunar, pc-fm, image viewer and etc. After add "oflag=3Ddirect" to dd: unique: 18788, opcode: READ (15), nodeid: 868, insize: 80, pid: 84280 [03770] READ [03769] DATA 131085bytes (75ms) unique: 18788, success, outsize: 131088 It have same limit. fuse: unknown option(s): `-o async_read' looks like it was not handled. I do not see code to handle it in sshfs and in kernel FUSE. Read ahead is work. There is comment in kernel FUSE code that it read one b= lock ahead, so this is why I got 64+64=3D128k read request. I have found that "mp->mnt_stat.f_iosize" first limit and "mp->mnt_iosize_m= ax =3D maxphys;" is second limit for read size request that fuse server receive fr= om kernel. --=20 You are receiving this mail because: You are the assignee for the bug.=