Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52835 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbdIUKND (ORCPT ); Thu, 21 Sep 2017 06:13:03 -0400 From: Nikolaus Rath To: Miklos Szeredi Cc: fuse-devel@lists.sourceforge.net, Maxim Patlasov , linux-fsdevel Subject: Re: [fuse-devel] [fuse] getattr() results ignored when writeback cache is active References: <87zi9pk2ra.fsf@vostro.rath.org> <87vakdjsjj.fsf@vostro.rath.org> Date: Thu, 21 Sep 2017 11:12:59 +0100 In-Reply-To: (Miklos Szeredi's message of "Wed, 20 Sep 2017 17:59:55 +0200") Message-ID: <87y3p8uzpw.fsf@vostro.rath.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sep 20 2017, Miklos Szeredi wrote: > In writeback-cache mode (enabled by the FUSE_WRITEBACK_CACHE flaga) write= s go to > the cache only, which means that the write(2) syscall can often complete = very > fast. The dirty pages are later sent to userspace using write requests. = This > mode assumes that the file is never changed outside the mounted filesyste= m, so > it's not suitable for any network fs. .."this mode of operation is not suitable for any network filesystem even if no write operations are actually carried out". Best, -Nikolaus --=20 GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB