From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6792CC48BC2 for ; Mon, 21 Jun 2021 14:17:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D1E26124B for ; Mon, 21 Jun 2021 14:17:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbhFUOTr (ORCPT ); Mon, 21 Jun 2021 10:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbhFUOTp (ORCPT ); Mon, 21 Jun 2021 10:19:45 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E0BAC061574 for ; Mon, 21 Jun 2021 07:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=10tKwqK5CAce6OafEuT+LmnP32ejxTa/riT/wDSP91M=; b=wJ1VKmlFCty3tG6NsgDir7BFMu R/DIk4gLNplbBzcxgafS7l78w0OQuSbCctE3B+SBHqDbDmuSx8isJqd6TNbnzJFl8ReDG7cy/vxYC 7NfKxRvzPUQSrpsSdqhKqm/xAG//dVBEDeOTwkxwh7Fhoel8KjqZgdL35fanP2T7799H41ahU8eWj jhKjhw/FiCOKBjMaptKfbDf+qLfgJ7k7MC1LSVKwP+NV6Z4zcfe93EtPir2XpOQ6whLc6iI+klbrR U1qufGD8TsvWazd3gCEsbuF2QKPJF9ysOeXSF40UCGCcwXjlebF5pG9l80BvYdYNMtrbtWOYgn68P hc0JX+sA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvKjK-00DAa8-Fs; Mon, 21 Jun 2021 14:17:00 +0000 Date: Mon, 21 Jun 2021 15:16:50 +0100 From: Matthew Wilcox To: Christoph Hellwig Cc: Al Viro , linux-fsdevel@vger.kernel.org, Jens Axboe Subject: Re: [RFC] what to do with IOCB_DSYNC? Message-ID: References: <20210621135958.GA1013@lst.de> <20210621140956.GA1887@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210621140956.GA1887@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, Jun 21, 2021 at 04:09:56PM +0200, Christoph Hellwig wrote: > On Mon, Jun 21, 2021 at 03:03:07PM +0100, Matthew Wilcox wrote: > > i suggested that to viro last night, and he pointed out that ioctl(S_SYNC) > > Where would that S_SYNC ioctl be implemented? xfs_diflags_to_iflags( if (xflags & FS_XFLAG_SYNC) flags |= S_SYNC; (mutatis mutandi per filesystem)