From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68180626C6 for ; Tue, 13 Feb 2024 22:49:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707864595; cv=none; b=bLHRVUMPff/WJCMTvb9FEMySZ9iAC/Mu4sMMIC5BwqlurMknQKBfqJvR77b/pgArL8BZuDAUgV+NIniw4bmS8JX6LcoBXplLgkaOKMv2tFWG/5lhFo1LePZ1AWaozvUCIr9CS+YRyVk5earMVQphe1uCRr3C6pRLeGKYVfMfFHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707864595; c=relaxed/simple; bh=JFD7xAow7H+1yh9xsxRl7E2QoaMz1RL9bCnrjaYHjXQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dKz9PZlQ3dCIIEHfx2ESYd/WgjRv2/JFO/r9s9Vc53I6egCcrLeG4G/R+dmQje4Z3WJzf4n/YYDCEmUW1MJZL8Xk5orQxsb8Erh0ijwb6nF+YLPGU9UMHPl8/F+uCzAf6fWSQra4Pcvuupp2anmCa9xrFFwfplI18dgyW2GrrJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=0FDYyq3Q; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="0FDYyq3Q" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e104a8e3f7so468664b3a.1 for ; Tue, 13 Feb 2024 14:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1707864594; x=1708469394; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ZR6xzwDxqAQb8cigMZexWppAIVixuIfccZivtbja9cY=; b=0FDYyq3QxwDf32+2tnBeOUFctDD9+aIMufHxWPCsPwj63eYVwoCX4Hpm59zHr/M8EF l1s+yV10RrlJBPGnXgbpYSGD0zkj6ZlaQa6fPDin2lBjK7hLo5uhyELwVwrZg/bGkyx9 GKA/CGMrfEmdNMzc6KwPeS3nsNSNYjJG4DZcWDqYeRuojcENRzqtqpiHadDkdXavkkHT AJ9rV6LohiOWfggAHCLpgtkoWCl3vRiGmYfxbHS1COF+Da804oxnaKn9PuEwRdfz0cxU vchTr07gZtqa8aBW9tPr/co6z4EAWS/ZwbPSfiIlpsRPaOaxCpH57C5iocCkdwhMPD9E ViVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707864594; x=1708469394; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZR6xzwDxqAQb8cigMZexWppAIVixuIfccZivtbja9cY=; b=qPAROjm/jD9cojWbHkxrr3Dtq4Op1KI6f2Fm36ZbY8oHbO6wugiLW2Wz32E3BFh7Do Z7tgqYHRL7VVx0Gnxd87Sh5kHTD1jnNcZElEzVUZMhm1tQzyL5qx9bzIgUn0uYC+TTlA wOUIFJ48mc5SUK90U4FwzqG24BT2ZEzwVhoAX5JZvCHu/TWm7jB2sXFqaxxjUzThrQSF b8OXxNPMDTjZOJ9N2E1+DcWBY41mSUO/FoToPqqyxgA9bufedjbt5VgXTDJUOGg1C/2O VezPqFfLDuxRauaU3DqZ1DqTITYO2uAwmsff5+9AYEZiSK197Jv6drbsnRsyeSK0TL2E tAbA== X-Forwarded-Encrypted: i=1; AJvYcCUwBtULK6MGpw3E8/zaUkIU6qjOVASGjRM3jWvwWynhjPALkxKJUtlWvgPNhGASmlQ0TMHDKo3W1JVhAiQft4iYK4z6yKcCNiE2kxVZ X-Gm-Message-State: AOJu0Yyy9s6Vkgq/JjN2vM2NUm2AkFk8drDYy/Na87T+f+pnPF6O61YW Wd//7dtUxGXidQ9nbJe038tf8c/RhsXvl7VZQv8kegPNGbXRVT6A4qW7nAXVtqk= X-Google-Smtp-Source: AGHT+IHZbMWPuooOSKJJauPzjg7QarbyV6SKoppm+MJO8EqpjzSzE7GGq86K3Tk34wf4BAMuyzp8cw== X-Received: by 2002:aa7:8b99:0:b0:6db:e366:53a8 with SMTP id r25-20020aa78b99000000b006dbe36653a8mr616202pfd.12.1707864593791; Tue, 13 Feb 2024 14:49:53 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUUfKkrwJXWRUEIL5OLcEDusRRGGYmLlc5RwxlnOogd+L9B+OOFNovbLPxcxqzpEzobK3+N5KMBN/7vIciV0LZPLeqtLpbuvffJbDDuivvlBZ/Q3P5vdfZzu36QMyxz94zsOKZzoxPk0RogHy5womcHgtkRCaJTLi7xXcadazDIOMBPiESTrkCsGnF6VMoO8zyz18MbQKOzIrJUv29I4qrj6inVHSRfW5iXbaC2gV8td4gjrZQxTzXIsKo4pGUXg4V+56vBLUknJ64BBQ1ira9KTAn4zsr0Ej6856EO2dZ0C9mWja7WF9AJfvYBGA1oIXu0y2KUb3cqFYgIBcKNTBkrw4MHlNOW3AcaUFxkFjhJB5riyxfGLwIiavfNJCqObLgh2tb+oBWG/eA9OIkmmpFJkb3LslpLgYHssqUYyFJmIIMH8+d9JNv/nOjU7KTDy0mcq6u/LjXegOhrLVVXDzmZtzGN2g== Received: from dread.disaster.area (pa49-181-38-249.pa.nsw.optusnet.com.au. [49.181.38.249]) by smtp.gmail.com with ESMTPSA id x20-20020a056a000bd400b006e0cfe94fc9sm5385175pfu.85.2024.02.13.14.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:49:53 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1ra1b4-0068Pv-1V; Wed, 14 Feb 2024 09:49:50 +1100 Date: Wed, 14 Feb 2024 09:49:50 +1100 From: Dave Chinner To: John Garry Cc: "Ritesh Harjani (IBM)" , hch@lst.de, djwong@kernel.org, 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 0/6] block atomic writes for XFS Message-ID: References: <87cyt0vmcm.fsf@doe.com> <875feb7e-7e2e-4f91-9b9b-ce4f74854648@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: <875feb7e-7e2e-4f91-9b9b-ce4f74854648@oracle.com> On Tue, Feb 13, 2024 at 08:41:10AM +0000, John Garry wrote: > On 13/02/2024 07:45, Ritesh Harjani (IBM) wrote: > > John Garry writes: > > Does xfs_io have a statx function? Yes, it's right there in the man page: statx [ -v|-r ][ -m basic | -m all | -m ][ -FD ] Selected statistics from stat(2) and the XFS_IOC_GETXATTR system call on the current file. -v Show timestamps. -r Dump raw statx structure values. -m basic Set the field mask for the statx call to STATX_BASIC_STATS. -m all Set the the field mask for the statx call to STATX_ALL (default). -m Specify a numeric field mask for the statx call. -F Force the attributes to be synced with the server. -D Don't sync attributes with the server. -Dave. -- Dave Chinner david@fromorbit.com