Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1058951ybe; Wed, 4 Sep 2019 11:54:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/3qWkvnLgojFRGb2TvTyijldl9zktQ4AbP9OOExCeikmcJ7+9QoXTHgZa7s5vTt1vmtOa X-Received: by 2002:a63:221f:: with SMTP id i31mr37186733pgi.251.1567623282413; Wed, 04 Sep 2019 11:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567623282; cv=none; d=google.com; s=arc-20160816; b=KS8d0UnrfOYa5jpkmaCFeuj5+yg7b3Ayr+GxIh7dSnTSUKoyHr+kf6RoLt6nj/+fB5 MhPZXwcu/TSQDRx4tWeyHMqXu49SQPyfdyyYRXiQJCCNUVupaGHdDQ/24Ao4znX498Tx gaPGAOnfPF6IoUMoW4rKxDbTPo3RaMbs24oWmrhElYHExzl5poD7G+vd5ZHjoxjafIHL WFAnDXaanc0xPw85Dx6e0GcsTmztQIP29VxX2uSFF1AGvQprI9B9kv9REF+TxIk4M7I5 Fpij2163nIPmeaT5l/y19jHwapmnlj7rp5YI9WcEypLbW8+/Yc5ip78W9uLstlB92Gvv Q+ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=q9xeKrGo3KKeglsLxBaQF8upqW59gAXrjTQih1uXG+U=; b=xE/kVIMMUp2gvXFw5OJgt7ZlwMF3C41h14f6H6bhjMCEZX4mGJB56YesqFmctudV3X ki5i/E7IOh1x2tXiL8x+9jOg087IilhbGUAy7Bxq/zopTer+HJhpE6kKOSr6CWwEeU28 icYy93YC0ZKfMNBowLleRv5WElZm0lTAWc29CGxNYnUElI5Xc67enaObtrNvAkep0mtX tpOZ5wnaYIojgGSn0Z/RNXyqFpbFEPah5JoPqICnpdDe2hNLmyOFeBqC3iEg+DSN0e3Z 8ZQ98zpCvR7HkPs48uYuYrFtBeVq6RqV3qIsMkEy8GMTvrVrBbkMch0YZH0VJitWa+kF +HOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si2941368pjr.98.2019.09.04.11.54.26; Wed, 04 Sep 2019 11:54:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387898AbfIDSxe (ORCPT + 99 others); Wed, 4 Sep 2019 14:53:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37106 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387735AbfIDSxd (ORCPT ); Wed, 4 Sep 2019 14:53:33 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8746B3090FCB; Wed, 4 Sep 2019 18:53:33 +0000 (UTC) Received: from localhost (ovpn-116-88.ams2.redhat.com [10.36.116.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0549360606; Wed, 4 Sep 2019 18:53:30 +0000 (UTC) Date: Wed, 4 Sep 2019 19:53:29 +0100 From: Stefan Hajnoczi To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, Miklos Szeredi , linux-fsdevel@vger.kernel.org, dgilbert@redhat.com Subject: Re: [PATCH] fuse: reserve byteswapped init opcodes Message-ID: <20190904185329.GL26826@stefanha-x1.localdomain> References: <20190904123607.10048-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7vAdt9JsdkkzRPKN" Content-Disposition: inline In-Reply-To: <20190904123607.10048-1-mst@redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Wed, 04 Sep 2019 18:53:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7vAdt9JsdkkzRPKN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 04, 2019 at 08:36:33AM -0400, Michael S. Tsirkin wrote: > virtio fs tunnels fuse over a virtio channel. One issue is two sides > might be speaking different endian-ness. To detects this, > host side looks at the opcode value in the FUSE_INIT command. > Works fine at the moment but might fail if a future version > of fuse will use such an opcode for initialization. > Let's reserve this opcode so we remember and don't do this. >=20 > Same for CUSE_INIT. >=20 > Signed-off-by: Michael S. Tsirkin > --- > include/uapi/linux/fuse.h | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Stefan Hajnoczi --7vAdt9JsdkkzRPKN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl1wCCkACgkQnKSrs4Gr c8ijOwf/TfmXEH7y7DsbNFNZ+jXaptreL15KyqzuTg6R2p5OldQtcWF2FkfZMCtZ xxZrgwviXYe/olroFiF0VOZ4WBbiT6oMzQUeJWL05eW9PGQ0mJlniW8uhTf1nzJi nsA1y+ORww/XKChOBu+q5pEjOKIPi/Apmu2myj2z1NCSZN9S4m6XKyvmWLgWoC6Y Wc6dkJ/bVePoe60d34Dnp48nt2lmNCBRKEbgSfg01243vlaHZyVTRbmHJ55hqCcb +vRrItDTsRKPhthy/PPEzsukjrw/MMupQgv4nPLhZ3vuu15eyi3zgQR+CEECZGXn hssUHNtElEJ8S6YhDbyyMRTlQssKEg== =y6tM -----END PGP SIGNATURE----- --7vAdt9JsdkkzRPKN--