Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3292294ybc; Thu, 14 Nov 2019 06:59:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyQAXV8n9QHjj70HnbvZFHfez1lv+c6OtoPY2KBSzOtmJts3qxVznoGUZCYDM2hdb8brwHj X-Received: by 2002:a50:9fc1:: with SMTP id c59mr1724508edf.305.1573743597463; Thu, 14 Nov 2019 06:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573743597; cv=none; d=google.com; s=arc-20160816; b=W9e3o3NbNjKtO4X9jdoGWiTk1C+iqVL5idFoEZ6vO+rK1C3JvRDEjH81X0wEIcu2oL g3vGMM6Oid8Z9IfKUpFKhm7hqw+iRXMGV5rBxopGoIqMVT2IbqfGj/3lNh37YP7rx18U OE+zk0NCThoY8UwQHnutpJKhvMOw1MNzMZFG9a3iy/FAFu+fb1aRkEu+30GkIRTL0IRR cg+GKftQmYq19k+Q29FYrF9uqq+iT7ujHnEjb/BQXh5UaBUQ1f6P4S99Ytp3gbRYGxXh cChVJpGQSw+vAhUj2XArbC5NCdXuKB0Bs+Aa20MhR/nlIa9RLYhbcAFOIc7/jFPHCIfo f7Rw== 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=OtNC3DCT1+p+B/9UUHW4/yZiHAI0wPUVZr+uFA8Etkg=; b=xvMa7hyWm7a9fiYnfDXtOH2LR4pRURnCbrHvGJN3ZR71JFLe8He0A8XkXBZTHRbcNc MfkkKPlKw4UtMDOAqFsWI1ijvZDTGqY9HagZwiledlkCVXEQ0jYPLxor/ydjQAd4/ABP UgmdpfCyPZovLHAXZsdjbecaRlDkDdvVWDagGeZU87QG63BiHT4Ued0VmGMRANVtw4xT TL/+G6F+5vR1kMTrtKavoLCUQUyD93upNZOOpTf2hRyc++s2YPrAMRxEnuCBD5NtNYPq 9UeWB99g4UyYkC+K6p3efndV5EXd2eEBZP2p3ZH7YhIlF4Sz1m5IOZX9PaonsNIrxmJ0 31Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=PwZpjfZX; 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 d13si3542729ejr.23.2019.11.14.06.59.32; Thu, 14 Nov 2019 06:59:57 -0800 (PST) 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=PwZpjfZX; 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 S1726655AbfKNO4R (ORCPT + 99 others); Thu, 14 Nov 2019 09:56:17 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:36680 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfKNO4Q (ORCPT ); Thu, 14 Nov 2019 09:56:16 -0500 Received: by mail-il1-f195.google.com with SMTP id s75so5595215ilc.3 for ; Thu, 14 Nov 2019 06:56:14 -0800 (PST) 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=OtNC3DCT1+p+B/9UUHW4/yZiHAI0wPUVZr+uFA8Etkg=; b=PwZpjfZXbQCzjCPSLznOzq/afrnTnJF7lnnV0Nsi8jKcZcEMyLaRNPdqKann2L5t/R 7F+5Eue/xaV2aERKiMQxYmS2vsqFwBGhUl3cxuCE+8NlewV+46HvnynfU0qbwE0htPAM rrysoHv2rRf7mTEwjgoYgftxQ+UMYadNJneK8= 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=OtNC3DCT1+p+B/9UUHW4/yZiHAI0wPUVZr+uFA8Etkg=; b=YUiQUCZVzMyDWZsvIzRg9rF6oJcIn2ylT+TXKC36DbqUJZMenfckPCAJd0TekH0LGj o9g+dRbcDOawv8TmrNKIJyE+ARv2a9PT8R4fMrun4JN1kpleVUWVa5TtuZALzA9EA4Nk b8M4vRNGJmGv7b+ZbbEX0eb4dhwd+Y1kZ0/JA2KA7j+3adnv3WnUCoTR/22t4W6C2sK1 pMUl+lzdp+OFZ8agKqHEyAxCQyPUbgtubAsYSM35eMGThhwy4pe8k4GhGTJYEjzBwnG9 awlnpX4nsWeD5IGLoT+GE6rGWSJ2ekiLxzYazBNuw9dh1II9ycJX08HuK00bRaO8F6NS Movw== X-Gm-Message-State: APjAAAURtWu0NMy5P09xKu+QLHGsEAPyHxDfO77qcLr/zOoYn4lQl7b+ +XmWBYl1zFx5Eg63i5YgYQ5D/Mq/Bnu1hc3ydWj6Pw== X-Received: by 2002:a92:6407:: with SMTP id y7mr9935528ilb.285.1573743374206; Thu, 14 Nov 2019 06:56:14 -0800 (PST) MIME-Version: 1.0 References: <1b192a85-e1da-0925-ef26-178b93d0aa45@plexistor.com> <20191024023606.GA1884@infradead.org> <20191029160733.298c6539@canb.auug.org.au> <514e220d-3f93-7ce3-27cd-49240b498114@plexistor.com> In-Reply-To: <514e220d-3f93-7ce3-27cd-49240b498114@plexistor.com> From: Miklos Szeredi Date: Thu, 14 Nov 2019 15:56:03 +0100 Message-ID: Subject: Re: Please add the zuf tree to linux-next To: Boaz Harrosh Cc: Stephen Rothwell , Christoph Hellwig , Linus Torvalds , Dave Chinner , linux-fsdevel , Alexander Viro , linux-kernel@vger.kernel.org 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 Thu, Nov 14, 2019 at 3:02 PM Boaz Harrosh wrote: > At the last LSF. Steven from Red-Hat asked me to talk with Miklos about the fuse vs zufs. > We had a long talk where I have explained to him in detail How we do the mounting, how > Kernel owns the multy-devices. How we do the PMEM API and our IO API in general. How > we do pigi-back operations to minimize latencies. How we do DAX and mmap. At the end of the > talk he said to me that he understands how this is very different from FUSE and he wished > me "good luck". > > Miklos - you have seen both projects; do you think that All these new subsystems from ZUFS > can have a comfortable place under FUSE, including the new IO API? It is quite true that ZUFS includes a lot of innovative ideas to improve the performance of a certain class of userspace filesystems. I think most, if not all of those ideas could be applied to the fuse implementation as well, but I can understand why this hasn't been done. Fuse is in serious need of a cleanup, which I've started to do, but it's not there yet... One of the major issues that I brought up when originally reviewing ZUFS (but forgot to discuss at LSF) is about the userspace API. I think it would make sense to reuse FUSE protocol definition and extend it where needed. That does not mean ZUFS would need to be 100% backward compatible with FUSE, it would just mean that we'd have a common userspace API and each implementation could implement a subset of features. I think this would be an immediate and significant boon for ZUFS, since it would give it an already existing user/tester base that it otherwise needs to build up. It would also allow filesystem implementation to be more easily switchable between the kernel frameworks in case that's necessary. Thanks, Miklos