From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37149 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727049AbeIXODO (ORCPT ); Mon, 24 Sep 2018 10:03:14 -0400 From: Nikolaus Rath To: linux-fsdevel , fuse-devel , Maxim Patlasov , Miklos Szeredi Subject: [fuse] How to trigger writeback? Date: Mon, 24 Sep 2018 09:02:20 +0100 Message-ID: <87zhw7s4qb.fsf@thinkpad.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: Hi, How do I trigger writeback from a (writeback-cache enabled) FUSE filesystem? Background: I am emulating the reflink ioctl with a magic xattr, but for that to work the filesystem needs to have all the data that is supposed to be in the copied file. 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