Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1880750ybe; Thu, 12 Sep 2019 00:39:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMRjGkRxPfPZQSumR91ITS1bEoTcg8cPcPtEbUp6xzxb23u67V2/gKwBK9vQy/YxHWQ73Y X-Received: by 2002:aa7:d694:: with SMTP id d20mr32792617edr.226.1568273997513; Thu, 12 Sep 2019 00:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568273997; cv=none; d=google.com; s=arc-20160816; b=LmE7+VkMHyjWZjl4HKCHViUX/AU/jMoA7JwoRKC4sxmUNRUXMKzVh07/QPeuS3SvBz YyrDi9x6ErMiForuxe54soq5EHH4086YU4A5hXwv4XaeYNmcuqJD66fSjIfkd1XaNd51 jWI9sznrdoJNftbKYqtvojwUJIKXXLYJN2G2gwBmrr9aM0eXRF5b42IwKKdFxqsC9Sbx aU+RydHIc2QRTMrTn/ExS3uQfb9s5dXzIuNRx95dRFrSKq62rXUY62LpQOUpicuSNNJH R7tSgErBuflCDt+KNnsIpvsXpjFzDCbDf/Jt02d/HcPMxQhYw8Q7NMVLyL+gJly009eV gcbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3yy/eB93u3i9oFcrYya+qHvoEWOjOqMkA6Rb+MDstxQ=; b=LmmV2vkm2lbJNTfE2LPY7nLspJXe51xbvpbf6Iv/wPCTh4+UtoQsPP1Ijp3vQVUoWT rm2cKlINsHt4sr0z3fS0QXdEtBuelAqClJ+MEL4cexez/0Bm1Apw0jqYX1pqwPi1/VNT 23NGiTUkXzYa8Xbxmfb4yCFZkKU8sF9Z+B6sGbcigx+RYxNalXH2J0VY1aGixd43A/BJ j6slqTCByxqRjTUKTrNgyRZ4gERcndk9lWjWENBPm9M/Mta+QmaelFEupo6LwZXTJsa9 ffztSpO1xSdI5nqRBh7NTEf4rW1klswT7CPI0D9AJfrKosUJugcC7yk7u8qs4bYADbK+ vwPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=K05sx5cB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si12490252ejr.238.2019.09.12.00.39.33; Thu, 12 Sep 2019 00:39:57 -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; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=K05sx5cB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729951AbfILHfF (ORCPT + 99 others); Thu, 12 Sep 2019 03:35:05 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:38570 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbfILHfE (ORCPT ); Thu, 12 Sep 2019 03:35:04 -0400 Received: by mail-io1-f67.google.com with SMTP id k5so26972839iol.5 for ; Thu, 12 Sep 2019 00:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3yy/eB93u3i9oFcrYya+qHvoEWOjOqMkA6Rb+MDstxQ=; b=K05sx5cBxhYiaLy2Alt2mn8Mrq+JJD8WgnnBD5NOn12SAe96tzwo5Znel55J8i+iXI qiTaXW3iH1cACv8m9V2QYoHIzAG+piVKMYQ1R0IpmwBM6/DfomHsYEmLe3u/cFh7QJNA wlnzdFAGWW99YORzPMbLex+anPI5d6C2iZqj0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3yy/eB93u3i9oFcrYya+qHvoEWOjOqMkA6Rb+MDstxQ=; b=JK5pjIQ+AUYc2/o9v8tT/unrcnxqbDV6vB1nO9SeT1lfUuYoaD2v+bND2IxWG1dR4R jQ4FaSOzXHOhLCWIQNLBg/BmJSws378IIfYW3xkUbXtLJMlnucZjSNhc9bia0tyHKVw2 2eJkiDgRtEUTTPBrkBKPbm6G7PyZqxrToz7MhmG2HF62bEjxyAC0yZWga1Zp5nwLQ/BD dmjb1ot7Ta3UerESFDYBMch2UQMbTLZ0to7QD8mAgVXFuW17FqHwAu0daJt0oHq1R33w 7xOaYfX1ETkBS2RtQPJd7uyMCdSoi0xWevVW8AH6yBODgwVA/es+tE2ynyBYsSKoIRI/ Gs0A== X-Gm-Message-State: APjAAAVwqHdOsTBZqH0NcdYw3ZyNpoXmCQgh9di1lPmDfYnIDOGEpfbJ OmEE79Wk/H0Lc6Mh1JmnMJFCCluoaBfiGE4mF6qY6Q== X-Received: by 2002:a05:6638:405:: with SMTP id q5mr40270933jap.78.1568273702977; Thu, 12 Sep 2019 00:35:02 -0700 (PDT) MIME-Version: 1.0 References: <20190910151206.4671-1-mszeredi@redhat.com> <20190911145247.GA7271@redhat.com> In-Reply-To: <20190911145247.GA7271@redhat.com> From: Miklos Szeredi Date: Thu, 12 Sep 2019 09:34:52 +0200 Message-ID: Subject: Re: [PATCH v5 0/4] virtio-fs: shared file system for virtual machines To: Vivek Goyal Cc: Miklos Szeredi , virtualization@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , Stefan Hajnoczi , "Dr. David Alan Gilbert" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 11, 2019 at 4:53 PM Vivek Goyal wrote: > > On Tue, Sep 10, 2019 at 05:12:02PM +0200, Miklos Szeredi wrote: > > Git tree for this version is available here: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#virtiofs-v5 > > > > Only post patches that actually add virtiofs (virtiofs-v5-base..virtiofs-v5). > > > > I've folded the series from Vivek and fixed a couple of TODO comments > > myself. AFAICS two issues remain that need to be resolved in the short > > term, one way or the other: freeze/restore and full virtqueue. > > Hi Miklos, > > We are already handling full virtqueue by waiting a bit and retrying. > I think TODO in virtio_fs_enqueue_req() is stale. Caller already > handles virtqueue full situation by retrying. Ah. > > Havind said that, this could be improved by using some sort of wait > queue or completion privimitve. Yeah, the request queuing can be cleaned up in several ways. But I think that we might postpone that till after merging with mainline. Thanks, Miklos