From nobody Mon Jan 03 02:36:16 2022 X-Original-To: dev-commits-src-all@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 6C5E1191C224; Mon, 3 Jan 2022 02:36:17 +0000 (UTC) (envelope-from git@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 4JS0HP1QLlz4tBf; Mon, 3 Jan 2022 02:36:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 112BD1D861; Mon, 3 Jan 2022 02:36:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2032aGMq058104; Mon, 3 Jan 2022 02:36:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2032aG3d058103; Mon, 3 Jan 2022 02:36:16 GMT (envelope-from git) Date: Mon, 3 Jan 2022 02:36:16 GMT Message-Id: <202201030236.2032aG3d058103@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alan Somers Subject: git: 2472f847281a - stable/13 - fusefs: better debugging for FUSE_RENAME in the tests List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: asomers X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2472f847281a8827acfdab88141b63228381ab6e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641177377; 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; bh=I6SHb+sDNg1ppLZgmJcX97WB8WI5OkUtg4muZf8Okr8=; b=ZLCMwoDLnqfy+Y1qD7d2EAwErRr8l2vKVfjEnTHYM39fuq/67cF3Mzhv8wPh6jqBebIHDF CWwhp0Ee1521X1lTvQECRhL4LSnUTzUnTTlDTh1TJbqt4UU8OJE5eWsjt4q6AjkucHg6bn 4rrTfcTqEOzF/x1fnERf/knWtn4l/bfZXMcRPpx2Ya9JR0UZTqYYu9bFBalk7+OLkEtGov YaMXz/wp7GQ6fCQLvSgI9w2N4bmG9564DjkEtPOtK/M9SaZGOvqQJplJYhFRlfxrw041gj lqPkfLjWIhMBv3Hq7c/WYbONNV9fzNfhDtpwsHk/EBmN4sG8X8rmqLGCCcN1ZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641177377; a=rsa-sha256; cv=none; b=VPw5BZ5A1DHA8ztSQjgHwQkrxuLKhSYSS2ccGemetMzuRuOOFB4+HdMF6fPfiKQpFnLktY E3/THkvnoKvLzbgZjy+e7YhY1D4qU8rx4icCGKgAfA9ErULOA+PdJKrg8XZ3smlCiH1oa+ CK9rguEUqqzQgwJeve+B9ny0yZ24E4CzBatMwl5kRlRPdle8SPUk7ohEidRKcblGxbFtrr tTe2IjcC5ZjujIfcJ/QxttJmIS6fEjeWBfDAC/YMTGvMPr6txkCCou+JyC8QVBekfhkScb aQcqwKr8lWTaYuPjO0IQpuz/wIVR3gvSVXJXZh23gOg1T2ELIDKdGLBJ9Mdmwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=2472f847281a8827acfdab88141b63228381ab6e commit 2472f847281a8827acfdab88141b63228381ab6e Author: Alan Somers AuthorDate: 2021-12-03 03:26:27 +0000 Commit: Alan Somers CommitDate: 2022-01-03 02:34:43 +0000 fusefs: better debugging for FUSE_RENAME in the tests (cherry picked from commit c2d342c509065bee6392624e95b75cf7b3bb9c45) --- tests/sys/fs/fusefs/mockfs.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/sys/fs/fusefs/mockfs.cc b/tests/sys/fs/fusefs/mockfs.cc index 8a2d1f910867..a943d3d6972c 100644 --- a/tests/sys/fs/fusefs/mockfs.cc +++ b/tests/sys/fs/fusefs/mockfs.cc @@ -290,6 +290,15 @@ void MockFS::debug_request(const mockfs_buf_in &in, ssize_t buflen) in.body.release.flags, in.body.release.lock_owner); break; + case FUSE_RENAME: + { + const char *src = (const char*)in.body.bytes + + sizeof(fuse_rename_in); + const char *dst = src + strlen(src) + 1; + printf(" src=%s newdir=%" PRIu64 " dst=%s", + src, in.body.rename.newdir, dst); + } + break; case FUSE_SETATTR: if (verbosity <= 1) { printf(" valid=%#x", in.body.setattr.valid);