Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2878993rdb; Mon, 12 Feb 2024 22:57:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXes1nBplFQJ/K0NhCbQH7SMp/GBAhdeyVSdgeD+XC5yz4dYzmXRGIlw+MVt1BA9gtTyNtmRbBdm4VotTXQM/8/61EP73DaMr5r4J7PcQ== X-Google-Smtp-Source: AGHT+IERZxdYWM/bLeBncGY8oNv4isM/rBGJrsDrCNJ74o2u5XgtlJaSgNZ3olgBF5Obg7rSHVvb X-Received: by 2002:a50:fa96:0:b0:562:b2:2165 with SMTP id w22-20020a50fa96000000b0056200b22165mr178500edr.6.1707807420356; Mon, 12 Feb 2024 22:57:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707807420; cv=pass; d=google.com; s=arc-20160816; b=PFMcXeUYfk3JdvIFtevluvZCNGDRqe002wTGse5/uUrWAREX0p5BW3g4gZfR/4aIeD hJhb8vgoSCZwiA0+7mm9kxFyqGqPkEhhmqWlw91HaZjgOTAofFrY0gQAVD/2cmub1gAH CoGLtayrl1UbwuM2uP/7PRdlD6vGffrVyP7DUrE/sOv3G0a1qUhCpAEGnwP0TangRNE6 QpmYcQh57m2MDv7t5200x3QIItuJgA9Gfsm8tSYRovYiuy9JVC/pUAhKV1gBFW6If+40 pzkTo/4XThh//iKt8lBU4StFf+uVdXgJyyWIO2YGnxIsHxZHtt2x+fdYR8ouM4tCupLv AlbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=Hje6lypHKjholbziRAVcBrO5v10kUWlVoeatf08dqm8=; fh=0ayl3lbNMblns/pn00iYUSV/DTuob4qJkVU27voe2Fs=; b=gQzoX6Hc/QLyxdis2Q6SECZjGAAnxqEDIah1D6CWOFcY6VgN8XR4qhAHaP5ZUAn+mY CptWr2Vd8Byz9pc6Hlp0zyTqWHhv41sHydKLTbquLqs3fxILxaYpptIFqRKW5DbCDFpT WubenRuDRuUE8kgpMBjA9PF7UDhHgix3wpw3c7ifUTKiR1FgCMKzE1M9HCNjMdKpZdqp 0JHzmiaPjA14DDqGfK0gy+q6+ug7yqjJ3i6WpUdvDr45FpnK7IcFnzOb7VvSmZSeo7Os GIvRx0DISYHDvOhJdbLxHmwkZBY/J2HhQZp/HCyKDdux7y6fNzjIogLISzqRERrSB1e7 CulQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-63026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63026-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXW/ulEMEzvHWXS7yMMEo0MaD+/JIXTN7WQztc/DtFxneVAJ5DMMtefVjx3wIPRnuZJESR0XvljWKSlBqyyrtfwLGRfAQNhx9LB7Vzi8g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u10-20020a50eaca000000b00561a9aaf59dsi1814698edp.414.2024.02.12.22.57.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 22:57:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-63026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63026-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 106411F25064 for ; Tue, 13 Feb 2024 06:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E3831756D; Tue, 13 Feb 2024 06:56:48 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 939981754E; Tue, 13 Feb 2024 06:56:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707807407; cv=none; b=VNaU90bPaO9ArxVeIjxla8+z4l8r5nNCDUfhAb8v7KZKYA9FO6QUO2Q4UZZEsaACcIzm76Sauh3M91ATXTvgLVTLlVVjR1HHjrDJorbjPnEpCeYEOL8chbFBYPx/KV4s+woK+i4QsJrLRPd7Vq4dn4iiHGJYSwe75dMshP5yVRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707807407; c=relaxed/simple; bh=a2QC0Pjef2Sr79QLLamY8jdt4h6OiJtLS5yJ+xXtDj4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iwcNabTQp3HORh+LabpGR5k18hNBgu8/BsWQ9C+eHHAkbvAf2RTTL14IMEroBRYn8BxhAXc3vOuboPeCQrF8kqQa+s7lSHCdvXcE6vr46LxGhe5z64dfSZWxFavkexpvVtSg7UTXs061FuHbqJupqXlMt/PL7mk5bQJI9J5BY+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id A569B227A87; Tue, 13 Feb 2024 07:56:36 +0100 (CET) Date: Tue, 13 Feb 2024 07:56:36 +0100 From: Christoph Hellwig To: John Garry Cc: "Darrick J. Wong" , hch@lst.de, viro@zeniv.linux.org.uk, brauner@kernel.org, dchinner@redhat.com, jack@suse.cz, chandan.babu@oracle.com, martin.petersen@oracle.com, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, ojaswin@linux.ibm.com Subject: Re: [PATCH 2/6] fs: Add FS_XFLAG_ATOMICWRITES flag Message-ID: <20240213065636.GB23539@lst.de> References: <20240124142645.9334-1-john.g.garry@oracle.com> <20240124142645.9334-3-john.g.garry@oracle.com> <20240202175701.GI6184@frogsfrogsfrogs> <28399201-e99f-4b03-b2c0-b66cc0d21ce6@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28399201-e99f-4b03-b2c0-b66cc0d21ce6@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Feb 05, 2024 at 12:58:30PM +0000, John Garry wrote: > To me that sounds like "try to use DAX for IO, and, if not possible, fall > back on some other method" - is that reality of what that flag does? Yes. Of course for a fallback on XFS we need Darrick's swapext log item. Which would be good to have..